Perserving longer time static pages onc caches?

X X <[email protected]> Thu, 16 Feb 2006 09:24:47 +0000
Newsgroups gmane.network.tux
Message-ID <[email protected]>
--===============1788186967==
Content-Type: multipart/alternative; 
	boundary="----=_Part_26839_21929901.1140081887076"

------=_Part_26839_21929901.1140081887076
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi

I'm using tux and apache on same server.
Tux serves static pages and dynamic ones are redirect/served by apache

how may I tell to all cache systems between client and tux/apache servers
that those static pages should remain valid for longer periods?

If I edit /etc/tux.mime.types and for example change

image/gif   gif | 3600

to

image/gif  gif | 7200

would it tell caches that documents of type gif will remain valid for 2hour=
s
instead of only 1 hour?

Would it benecessary to change something on apache (1.3) config file?
I guess it won't be needed as it will only serve redirected requests from
tux
for dynamic contents.

thanks
Cheers

------=_Part_26839_21929901.1140081887076
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>Hi</div>
<div>&nbsp;</div>
<div>I'm using tux and apache on same server.</div>
<div>Tux serves static pages and dynamic ones are redirect/served by apache=
</div>
<div>&nbsp;</div>
<div>how may I tell to all cache systems between client and tux/apache serv=
ers</div>
<div>that those static pages should remain valid for longer periods?</div>
<div>&nbsp;</div>
<div>If I edit /etc/tux.mime.types and for example change</div>
<div>&nbsp;</div>
<div>image/gif&nbsp;&nbsp; gif | 3600</div>
<div>&nbsp;</div>
<div>to </div>
<div>&nbsp;</div>
<div>image/gif&nbsp; gif | 7200</div>
<div>&nbsp;</div>
<div>would it tell caches that documents of type gif will remain valid for =
2hours</div>
<div>instead of only 1 hour?</div>
<div>&nbsp;</div>
<div>Would it benecessary to change something on apache (1.3) config file?<=
/div>
<div>I guess it won't be needed as it will only serve redirected requests f=
rom tux</div>
<div>for dynamic contents.</div>
<div>&nbsp;</div>
<div>thanks</div>
<div>Cheers</div>

------=_Part_26839_21929901.1140081887076--


--===============1788186967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tux-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/tux-list
--===============1788186967==--