Re:Using Flat Files So Elections Don’t Break Your Server
by jasonkester on Tuesday December 21, 2010 @06:26AM
(#2027518)
Why stop at 5 seconds? Unless you're updating that blog entry every 6 seconds, you're missing out on a bunch of good caching by regenerating it 12 times a minute.
How about cache it once at write-time, then again whenever you edit it?
How about cache it once at write-time, then again whenever you edit it?