Re: creating flat versions of php pages
| From: | Gonzo | Date: | Mon, 24 Feb 2003 10:18:37 +0000 |
| Subject: | Re: creating flat versions of php pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136875@lists.php.net to get a copy of this message | ||
> hi guys we have 2 very high traffic sites and we need
> to be able to make these pages load faster , we are
> coming up with a solution to make flat file versions of
> the sites in the short term before we start using
> caching technologhies is this the right way to go about
> this ?
I think anyone trying to answer this would need to know
more about your setup. Caching is not necessarily the
answer if a dynamic page is dynamic enough every time to
be different. (Please keep this on-list)
> also whats is the best way to parse a php page
> ie foo.php?id=1, foo.php?id=2 with the contents of each
> story to a file and update all the links. maybe with
> naming conventions like foo/1.html, foo/2.html in a mod
> rewrite style
I like using Variables from URI:
http://nirvani.org/software/variables_from_uri/
Gonzo