Re: Cache Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I couldn't get that to work though the Live  HTTP Headers extension to
Firefox is very handy. In the end this is the code snippet that worked .....

LoadModule expires_module "modules/mod_expires.so"

# turn on the module for this directory
ExpiresActive on

# set the default to 24 hours
ExpiresDefault A86400

# cache common graphics for 5 days
ExpiresByType image/jpg A518400
ExpiresByType image/gif A518400
ExpiresByType image/jpeg A518400
ExpiresByType image/png A518400

# cache CSS for 1 hour
ExpiresByType text/css A3500



Gregor Schneider wrote:
> 
> Rather than looking at Ethereal, get yourself a copy of Firefox and
> install the plugin "LiveHttpHeaders"
> (https://addons.mozilla.org/firefox/3829/) - saved us a lot of time
> here and made life *much* easier.
> 
> good luck!
> 
> Greg
> -- 
> what's puzzlin' you, is the nature of my game
> gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Cache-Control-tf3142748.html#a8729831
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux