Now Even Faster!
SpiffyNews No Comments »
So … because I apparently had nothing better to do, I sped up the way the comics are delivered. Using ob_start() and ob_get_contents() to save the files somewhere, so those are in turn served up unless the content has changed (and the cache file doesn’t exist)…
So, by doing that the pages are executed / “complied” a LOT faster. The times vary to some degree but on average it’s at least %20 faster, but up to %700 faster (for you) in testing. This will probably only affect your load times but by about a whole second at most, but it actually saves some bandwidth … MySQL usage … and apache load times. Which right now doesn’t make a lot of difference but if we ever get hammered with traffic (haha) everything will be just dandy.
But yea, definitely let me know if something messes up because of this. I got tired of testing things out over and over, so there are most likely bugs … everywhere?!? Dun Dun DUNNNN!
wasting Friday nights,
-josh

