Hi,
Pete Philips typed this originally:
> Being a keen advocate of web caching, I've decided I'd better start being a
> good citizen and use Expires headers. I'm using Apache 1.1.1 and can't
> see any easy way to get this header onto my pages!
>
> Apache supports MetaDir and MetaSuffix but this isn't much use as the
> expiry time is fixed in a .meta file and so much be continually updated.
>
> I could use a script that generates expirys on the fly but then how would
> I apply that to ordinary .html files?
>
> This sounds like an FAQ but I can't find the answer anywhere! How do other
> sites handle the Expires header?
>
> Many thanks,
>
>
> Pete Philips
What do you think of adding a comment to all Web pages
like <!--expires 1000 > and then write a script which expands
this comments from the pages and builds a MetaSuffix/MetaDir.
Why not let Apache serve Last-Modified. Still good enough to calculate
TTLs.
Flo
-- Florian Lohoff mailto:flo@mini.gt.owl.de Phone:+49-5241-340796 Privates Internet Ostwestfalen-Lippe, Guetersloh - http://www.gt.owl.deReceived on Mon Nov 11 1996 - 06:04:57 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:31 MST