Slide 1
Hi, I’m Michael J. Radwin
Why you’re here today
Not covered in this talk
HTTP Review
HTTP Review (cont’d)
HTTP Example
Browsers use private caches
Revalidation (Conditional
GET)
Non-Caching Proxy
Proxy Cache Miss
Proxy Cache Hit
Proxy Cache Revalidation Hit
Assumptions about content
types
Top 5 techniques for
publishers
1. Use “Cache-Control:
private”
for personalized content
Shared caching gone awry (1)
Shared caching gone awry (2)
Shared caching gone awry (3)
What’s cacheable?
Cache-Control: private
2. “Images Never Expire”
policy
“Images Never Expire” Policy
Imgs Never Expire:
mod_expires
Imgs Never Expire:
mod_headers
mod_images_never_expire
3. Cookie-free static
content
Use a cookie-free Top Level
Domain for static content
Typical GET request
w/Cookies
Same request, no Cookies
4. Apache defaults for
static, occasionally-changing content
Revalidation works pretty
well
5. Random URL strings for
hit metering, sensitive content
Accurate advertising
statistics
Hit-metering for ads (1)
Hit-metering for ads (2)
Hit-metering for ads (3)
Defeating proxies: turning
public caches into private caches
Breaking the Back button
Review: Top 5 techniques
Review: encouraging caching
Review: discouraging caching
Recommended Reading
Wrapping Up
Slide 45