Re: [squid-users] new website: final beta

From: Craig Skinner <craig.skinner@dont-contact.us>
Date: Thu, 10 May 2007 14:16:37 +0100

On Thu, May 10, 2007 at 11:46:42AM +1200, squid3@treenet.co.nz wrote:
> > I don't have the web skills that you do, but I found the easiest way to
> > make php's cache-able was to lynx dump the php to a .html, and have
> > apache serve index.html in preference to index.phtml. Naturally, all
> > links to pages must be to the .html and not the .php:
> >
>
> Whereas I have a completely alternate experience with cachability.
> PHP has the ability to easily prepend headers that specify cachability and
> duration.
> Alternatively apache can do that itself with VirtualHost or .htaccess
> configs.
>

Oh OK, I never even thought of using mod_expires entries in per
directory .htaccess files. Good point.

I did play about with PHP headers, but found it awkward when using
common header templates and wanting only some pages to be dynaminc.

Thanks for the tip.
Received on Thu May 10 2007 - 07:16:46 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT