3 ms·
Only on the database side, and most people will be logged in, making rendering caches obsolete. What I have utterly no idea is how the karma system works. Upda
by mschuster91 5y ago
Only on the database side, and most people will be logged in, making rendering caches obsolete.
What I have utterly no idea is how the karma system works. Updating karma counts and comment sorting only on new submissions would help with performance, but on the other side karma "decays" over time, so there needs to be some sort of external cron?
- fouc 5y agoI would expect fragment caching to exist.
- asadlionpk 5y agomaybe the decay is coded in render logic for homepage with (now()-postedTime) kind of logic.
- deleted 5y ago[deleted]
- deckard1 5y agoyou could probably use a weight system. Yesterday's upvote is worth a value of 1. Today's upvote is a value of 2, etc. Then store the absolute count in another column/field if you need that.
- wglb 5y agoDatabase?