Re: creating flat versions of php pages

From: Date: Mon, 24 Feb 2003 11:13:00 +0000
Subject: Re: creating flat versions of php pages
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-136878@lists.php.net to get a copy of this message
i dont understand what you mean , anyway, this is a short term situation as the site is pretty slow and cpu intensive, the setup is a sun solaris box running apache 1.3 and php3 , just had a meeting today to push through apahe 2 and php 4.3 ut wont happen for a while , we need a solution in the next month, we basically need a system that will trawl the site or the latest news and flatten them so they are less taxing on the server as our last time cost us dearly , 170,000 hits in one day ! so would flattening to html solve our problem or is the server going to get hammered anyway ? "Gonzo" <gonzo-list@nullcraft.com> wrote in message news:34998.192.168.2.61.1046081917.squirrel@hermes.nirvani.net... > > 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 > >

« previous php.general (#136878) next »