Using Cache Control to reduce the number of request to your web server
When you run your log analysis tool, you’ll probably see a lot of requests with an HTTP code 304 (not modified). These requests are coming from browsers which check that the data in their cache is still current.
If you rarely modify your stylesheets, your javascripts and your images, then it might be a good idea to use cache control to let the browsers know on their first request that your data can be stored for a certain number of days before the local cache needs to be refreshed. Read the rest of this entry »