|
|||
|
|||
|
Speeding up your web server with Cache Control Using simple cache control directives you can speed up website by enabling better cache coverage when serving up pages. In this small tutorial I will go over one way of controlling caching using the cache-control directive. The cache-control directive control the way cache in general is used and is found in the HTTP response header that comes from your webserver. This could be the browsers cache mechanism or this could be a cache proxy device. Where ever the cache control mechanism is implemented the cache-control directive tells it how to behave. With this directive you have the following options:
Looking at the above a standard blog website or company website should be fine with being aggressive if they are not serving up pages that change very often. Examples of sites that you would not want to be aggressive with caching would be secure pages, shopping pages, or pages that change frequently. An example Cache-Control directive (see your web server software docs for changing this setting):
Other ImprovedSource Articles: |
|||
ImprovedSource. Copyright 2007
+ Contact Us + Home
+ Search
+ RSS Feed |
|||