Http headers affecting caching - tutorial / documentation
Can anyone point me to a decent tutorial explaining the various http header settings affecting caching (for proxies, browser, sharing them, and possible quirks in browsers and caching devices).
I think this is a somewhat overlooked feature - at least I don't use it. Caching CSS, JS, and photos (pretty much everything that comes from the cookieless domain) should speed things up a bit.
+3
source to share
2 answers
Caching Tutorial - This is a pretty good article describing the HTTP caching process and associated headers.
There is a good article on Optimizing Your Cache in Let Your Website Faster . All the articles there are worth checking out.
To speed up your work, you can also:
- reduce the number of requests required to load your page.
- compression for your HTTP responses
- combine your CSS / JS files and keep them to a minimum, for example using YUI Compressor or Google Closure Compiler
- put small images in one big batch so that they are loaded with a single request ( online tool for putting images together).
- Implement SPDY support on your server - this is probably not what you will do, but an interesting idea worth mentioning
+5
source to share