[ic] Static pages to boost performance
Jonathan Melhuish
interchange-users@icdevgroup.org
Mon Jun 23 20:09:01 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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?
Jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+95aReTVvFHAhe5cRAuEYAJ0ZH92LziNrd/o9sA0ckp32blra5QCfaSIV
HxEIog9a8SpGFjL0AvRyxFo=
=NmQB
-----END PGP SIGNATURE-----