Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuring Apache to prevent browser caching

How to

...

configure Apache to set expires header?

This header allows you application to set a given period of time to live for web pages and other objects served from web pages. 

The idea is to inform web browsers how often they should reload objects from the server. This will save the bandwidth and server load, because clients who follow the header will reload objects less frequently. For more details on Expires Directivemodule, please refer: http://httpd.apache.org/docs/current/mod/mod_expires.html

...