Archive for August, 2010
Nginx / Memcached Direct Page Caching
There are a few different approaches to caching; data caching, fragment caching, and full-page caching. But first, here’s the typical model of a web application. User requests a page, and it works through the web server, through several layers, and finally to the database. Data caching takes the place of a database call and can be effective if there are a lot of database requests. You would typically want to do this if you know that a piece of data is very common and unlikely to change. This saves time on one step of the process. Fragment caching is a [...]