[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tux-list
Subject:    Re: additional headers
From:       Hristo Chernev <chercho () mail ! bg>
Date:       2003-11-26 15:31:40
[Download RAW message or body]

>>I am using TUX as web server for the images.
>> My web developer wants to add some additional
>> headers in the tux output like
>> "Expires: Mon, 15 Nov 2004 05:00:00 GMT". Is it
>> possible?


>Yes.  Best practices for this type of cache control
>are as follows:

>1) Via webserver: you can do so via server
>configuration, BUT it will be for *every* page served
>either on the whole site or via sub-dir.

That's what I am interested in because I serve pictures with TUX. The article is
good but there is no explanation how to do this on TUX webserver.
Can someone enlighten me?
I want to put in the header of every served picture "Expired....".

>2) Via http headers: the statements MUST be the first
>things on the page being served.  And I mean the
>absolute first items PERIOD.

>Script languages such as PHP, Perl and JSP have
>functions that will generate the header for you, but
>again the statements MUST be numero uno on your page.

>A good resource for this is:

>http://www.mnot.net/cache_docs/#CONTROL

>Good luck.


--
Hristo Chernev






Семестър по сексознание за напреднали!
Спечели 3000 лева в новия конкурс на
http://www.femalelife.bg


_______________________________________________
tux-list mailing list
tux-list@redhat.com
https://www.redhat.com/mailman/listinfo/tux-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic