Re: disguise as static content
| From: | Curt Zirzow | Date: | Tue, 29 Jun 2004 03:16:14 +0000 |
| Subject: | Re: disguise as static content | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189210@lists.php.net to get a copy of this message | ||
* Thus wrote Curt Zirzow:
> * Thus wrote Florin Andrei:
> >
> > I would like to continue to use PHP for my website, but somehow "fool"
> > the Web clients into believing they're seeing "true" static content.
> > Since the content changes rarely (like once every other month), there is
> > no harm in pretending it's "true" static content.
> >
> > I suspect there are quite a few things that can be done to achieve that
> > goal:
> > 1. change extensions to .html even though they're PHP files (i know how
> > to trick Apache into doing that)
> > 2. don't send HTTP headers that indicate dynamic content
>
> 1. wont do anything as far as the client is concerned.
> 2. should be worded as 'Send HTTP headers that indicates static'
>
>...
>
> All the information above can be found in section 13 of rfc2616
> http://www.cse.ohio-state.edu/cgi-bin/rfc/rfc2616.html#sec-13
I just realized this was a bit long winded. I hope it was clear
enough.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!