Webtatic.com

Just another technical blog

Posts Tagged ‘Nginx’

Page-level caching with Nginx

Posted 10th April 2010 by Andy | No Comments

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 [...]

Page-level caching with Nginx 0.6

Posted 6th April 2008 by Andy | 6 Comments

In 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 Comment

In 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 [...]