Magento-Varnish
Magento-Varnish copied to clipboard
Refactor code and use HTTP caching headers from HTTP Specs.
Instead of using, for example, a URL path like ".../expiry/3d/..." to determine if an ESI fragment, or a page should be saved in cache, and for how long, use the HTTP headers:
Cache-Control If-Modified-Since Etags Last-Modified