The HTTP protocol allows the server to tell clients how long they can cache responses. When the client has the content in their cache, they do not need to request it again. Caching saves the round-trip time to the server to retrieve the content.
Enable client-side caching by adding Cache-Control:
headers to the content to be cached. By default, IBM® Lotus® Quickr™ includes these headers in the stylesheets it uses, making that content cacheable at a client for five days (432,000 seconds). You can use mod_headers
Add the following lines to httpd.conf
LoadModule headers_module modules/mod_headers.so
<Location ~ "\\.(js|gif|jpg|jpeg|png)\$">
Header add Cache-Control "public, max-age=432000, post-check=172000"
Parent topic: Recommended HTTP Server configuration: qp85