[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: additional headers



> 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.

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.

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/




[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]

Powered by Linux

Google
  Web www.spinics.net