dsandler.org

Is dsandler.org faster for you? Let me know.

I spent about an hour and implemented a pagecache for the front page. The first visitor to see fresh content will incur the usual page load time, including loading all 1600 entry files off disk, stat() and sorting them, and generating the output HTML.

Every subsequent visitor will see the same page, loaded from MySQL as a complete chunk. Every subsequent visitor, that is, until I add a new entry, in which case the cache is flushed and we start all over again. It should be a lot faster for most readers, and much less punishing to my server’s filesystem.

Variations on the front page (such as the previous N entries) should not be cached, and will be slow as usual. (If you see caching breakage—that is, stale content where you expect something else—please report the bug.)


subscribe to dsandler.org

  •  
  • for faster updates, subscribe with FeedTree

mac software made on premises

toastycode.com: toasty software for the mac pyrotheque: a new (old) fireworks screensaver for the mac
Cuckoo—the bell tolls for your Mac.

twitter/dsandler [RSS]

    loading…

elsewhere

highlights

between the couch cushions

strongly connected

  • erinmak is not to be trifled with
  • pixelknave says moof when upside-down
  • dave is dangerous
  • rod is one groovy mother
  • adam is googling us all
  • amar is not really a pirate
  • angi sees little blue dots
  • harbinger lets you know it's coming
  • jason looks like an idiot in that hat
  • jeff is keeping austin weird
  • regan seems to tolerate jason
  • emann will not abide your IM-speak
  • jim is a stranger in ein anderes Land
  • liscio is pronounced "lee-show"
  • darryl has no need of identifying objects
  • friends as they appear on dsandler.org
  • sportsgirl reports…on all the pro courts

Search

Recent

Archives

dsandler.org is Dan Sandler's website and notebook.

Powered by WordPress and here's why.