| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
>>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
[Older Fedora Users Mail] [Home] [Fedora Legacy] [Fedora Desktop] [iPod Nano] [ATA RAID] [Fedora Bible] [Fedora Marketing] [Fedora Mentors] [Fedora Packaging] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools] [Fedora Docs]