3 ms·
"good caching" needs to be "stores in cache forever, unless an update is required, at which point, only the content that actually changes is updated in cache" t
by oneeyedpigeon 12y ago
"good caching" needs to be "stores in cache forever, unless an update is required, at which point, only the content that actually changes is updated in cache" to be as good as static files. In my experience, caching is never that good. What's the problem with writing to the fs on every POST? The number of GETs will still outweigh the number of POSTs significantly.
- midgetjones 12y agoWouldn't Russian Doll caching tick that box?
- michaelt 12y agoIt's my understanding that forums like HN and Reddit don't regenerate the front page for every post or view; rather, it is regenerated every second or two and cached in RAM. Of course, it's unlikely you'd run a forum as big as HN or Reddit on a Raspberry Pi.