[…] How To Optimize Your Site With HTTP Caching | BetterExplained Very nice guide to controlling cache headers with apache (tags: cache http optimization performance tips web) […]
[…] How To Optimize Your Site With HTTP Caching Caching doesnt help with the initial download (thats what gzip is for), but it makes the overall site experience much better. (tags: Cache) […]
[…] Using HTTP caching to improve performance This Article from the BetterExplained blog is a pretty nice explanation of how to configure your server for better performance by using cache headers. Which complements nicely the article on Varnish I was just reading. Caching is a great example of the ubiquitous time-space tradeoff in programming. You can save time by using space to store results. […]
[…] Unique filename for uploaded files (such as Windows Defender on Microsoft Download Center). If each version of the file gets its own GUID, you can set a long cache expiration time. […]
[…] As you visit a page, you’ll see HTTP headers fly by as your browser requests elements. If items are cached, the browser may not request them at all (awesome!) or may request the element and get a 304 “Not Modified” response (slightly less awesome, you still had to check with the server). I’ve written more on cache behavior, and Live HTTP Headers is a great way to learn about HTTP caches (something every webdev should be interested in for performance reasons). […]
[…] As you visit a page, you’ll see HTTP headers fly by as your browser requests elements. If items are cached, the browser may not request them at all (awesome!) or may request the element and get a 304 “Not Modified” response (slightly less awesome, you still had to check with the server). I’ve written more on cache behavior, and Live HTTP Headers is a great way to learn about HTTP caches (something every webdev should be interested in for performance reasons). […]
[…] Another approach is to explicitly set the browser’s cache expiration. In order to do this, you’ll need access to PHP or Apache’s .htaccess so you can send back certain cache headers (read more on caching). […]
[…] Unique filename for uploaded files (such as Windows Defender on Microsoft Download Center). If each version of the file gets its own GUID, you can set a long cache expiration time. […]