Seems I was getting the Cache-Control: with the information from the first
'Header set Cache-Control ' but nothing from the second. With the code I
quoted last I now get an initial 'Cache-Control: no-cache, max-age=86400'
with any images being got 'Cache-Control: max-age=518400'
Gregor Schneider
Hi Ian,
great your problem is solved now, however, could you pls. describe
what didn't work with the other solution (SetEnvIf & Mod_headers)?
I'm just curious since this is working for us.
What headers are you getting xactly now? Just "Expires", I assume, and
no "Cache-Control:" - right?
Cheer
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
ExpiresDe
Greg, wow, thanks for that, this looks very useful. Very much appreciated,
thank you. Ian.
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
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: 79A84FA52680702
Thanks Gregor,
I will try this. I am currently trying mod_expires but nothing seems to be
different when I look on Ethereal. Ian.
Gregor Schneider wrote:
>
> Just a shot from the hip:
>
> # load modules sentenvif and headers - adapt the path!!!
> #
> LoadModule setenvif_module /usr/lib/apach
Just a shot from the hip:
# load modules sentenvif and headers - adapt the path!!!
#
LoadModule setenvif_module /usr/lib/apache2/modules/mod_setenvif.so
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
#
# define grafix depending on the extension:
SetEnvIf Request_URI "\.(gif)|(j
Hi, I am new to Apache configuration and have a question regarding
controlling the cache.
I am using Apache to serve webpages over a satellite link and need to adjust
Apache's settings so that images are not downloaded from the Apache server
on every page request. I would like Apache to tell the