Re: additional headers

Hristo Chernev <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
>>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.