Simon Willison’s Weblog

Subscribe

Posts tagged caching in 2007

Filters: Year: 2007 × caching × Sorted by date

NginxMemcachedModule. nginx can be set up to directly serve a URL from memcache if the corresponding cache key is set, and fall back to a backend application server otherwise. Application servers can then write directly to memcache when content needs to be cached or goes stale.

# 15th December 2007, 1:59 am / caching, memcache, memcached, nginx, scaling

Two HTTP Caching Extensions. stale-while-revalidate serves cached content even while a refresh has been triggered and is currently being pulled in to the cache; stale-if-error serves cached content if a service has gone down.

# 12th December 2007, 11:23 am / caching, http, mark-nottingham, squid

Clever Caching. Instead of invalidating your cache directly, bump a version number on your model (blog entry or whatever) and use that as part of the cache key. This also gives you dynamic etags for free.

# 5th July 2007, 12:56 am / caching, etags, memcache, michael-koziarski

There are only two hard things in Computer Science: cache invalidation and naming things

Phil Karlton

# 5th July 2007, 12:46 am / caching, computer-science, naming-things, phil-karlton, tim-bray

The State of Proxy Caching. If you’ve always wondered exactly what intermediate proxies are going to do to your carefully constructed Web application, here’s your answer.

# 21st June 2007, 2:18 pm / caching, http, mark-nottingham, proxies

MintCache for Django. Caching scheme for Django that solves the dog-pile effect, where high traffic causes many processes to regenerate stale cached data at the same time.

# 2nd May 2007, 8:49 am / caching, django, dogpile, mintcache, scaling