Techniques to encourage caching
Send explicit Cache-Control or Expires
Generate “static content” headers
Last-Modified, ETag
Content-Length
Avoid “cgi-bin”, “.cgi” or “?” in URLs
Some proxies (e.g. Squid) won’t cache
Use PATH_INFO instead