Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Your Email:

Caching Tutorial

By Mark Nottingham
2007-12-22


References and Further Information

HTTP 1.1 Specification

The HTTP 1.1 spec has many extensions for making pages cacheable, and is the authoritative guide to implementing the protocol. See sections 13, 14.9, 14.21, and 14.25.

Web-Caching.com

An excellent introduction to caching concepts, with links to other online resources.

On Interpreting Access Statistics

Jeff Goldberg’s informative rant on why you shouldn’t rely on access statistics and hit counters.

Cacheability Engine

Examines Web pages to determine how they will interact with Web caches, the Engine is a good debugging tool, and a companion to this tutorial.

cgi_buffer Library

One-line include in Perl CGI, Python CGI and PHP scripts automatically handles ETag generation and validation, Content-Length generation and gzip Content-Encoding — correctly. The Python version can also be used as a wrapper around arbitrary CGI scripts.



Tutorial Pages:
» What’s a Web Cache? Why do people use them?
» Kinds of Web Caches
» Aren’t Web Caches bad for me? Why should I help them?
» How Web Caches Work
» How (and how not) to Control Caches
» Tips for Building a Cache-Aware Site
» Writing Cache-Aware Scripts
» Frequently Asked Questions
» Implementation Notes — Web Servers
» Implementation Notes — Server-Side Scripting
» References and Further Information


 | Bookmark
Related Tutorials:
» Creating an Online Newsletter with Drupal
» Setting Up Subversion for Development on Windows
» Stylize Your Digg Count
» Installing Apache on Windows
» Ecommerce Imagery: Persuading with Pictures
» Customizable Websites - The Definitive Guide