Since my last post on using Nginx to cache proxied content, they have added proper cache handling via their proxy_cache* directives. These are much more suitable for use, as they capture the HTTP response headers and also use more advanced Cache-Control checks. To start, install the latest stable Nginx avaliable at http://wiki.nginx.org/NginxInstall. Next edit your [...]
Archive for the ‘Web Optimisation’ Category
Get an “A” in YSlow with Webtatic Optimizer
Posted 9th August 2009 by Andy | 3 CommentsThe performance of a website is an important issue. Even fast responding dynamic pages can be hit with problems with sub-optimal static content such as high overhead on many HTTP requests and large javascript/css files. Tools like YSlow, and Google Page Speed help identify these problem areas. Webtatic Optimizer is a tool that can be [...]
Page-level caching with Nginx 0.6
Posted 6th April 2008 by Andy | 6 CommentsIn a further attempt to modify my websites so that they can withstand the Digg Effect, I have looked into getting Nginx, a lightweight http server, to perform page-level caching. Nginx can act as a reverse proxy, sending any HTTP request sent to it to another web server. It can also store the response to [...]
Zend_Cache_Frontend_Page flaws using HTTP codes
Posted by Andy | 1 CommentIn my attempts to create the most Digg resilient website, I decided there was only one thing for it, full page-based caching on the server. My first foray into this was trying to implement Zend’s Zend_Cache_Frontend_Page. However, I found a few show-stopping bugs in this, when involving browser-based cache HTTP status (304 Not Modified), and [...]