[ic] Static pages to boost performance

Dan Browning interchange-users@icdevgroup.org
Tue Jun 24 12:50:01 2003


* Steve <icdev@mrlock.com> [2003-06-23 18:52]:
> >>>>>>>>>>>>>
> I've been suffering extremely poor performance from my Interchange store
> http://www.smssat.biz - around 1 request/sec!  Okay, so my system specs
> aren't great (300Mhz CPU, 128Mb RAM), but Apache can serve at least 45 PHP
> pages/sec on the same machine.
> 
> But before you all tell me to buy a new server, perhaps you could suggest
> how
> I could generate a static (ie. Apache-served) version of my shop ;-)
> 
> So, I put the following in my catalog.cfg:
> 
> Static  Yes
> StaticLogged    Yes
> StaticAll       Yes
> StaticDBM       static
> StaticDepth     4
> StaticDir       /home/sites/site24/web/static
> StaticFly       Yes
> StaticPath      http://www.smssat.biz/static
> 
> Then I clicked the "Generate Static" button in the admin interface, and
> voila,
> some files appeared in the directory specified above.  Now what?

Then you point your browser to that location and see if it works.  If your 
experience is like mine, then you'll find that it did not work.  Although it 
would be a very valuable feature (allowing some requests to be served 
static, and others, like the shopping cart, to be dynamic), it would likely 
take a donation of time or money to get it working right.  Until that 
happens, the feature has been removed from 4.9.7+.

Alternatives right now are home-brew cache systems, and [timed-build]. 
-- 
Dan Browning, Kavod Technologies, <db@kavod.com> 360.843.4074x217
6700 NE 162nd Ave, Ste 611-210, Vancouver, WA.    Random Fortune:
A man is known by the company he organizes.
		-- Ambrose Bierce