[FX.php List] How to not reload logo from db ?
Roger Price
rp272 at cam.ac.uk
Thu Jun 19 01:52:08 MDT 2008
Glen
I use a database driven menu system on my department's website which only changes occasionally but which is called by ever single page read. This did result in a lot of unnecessary accesses to the database and a consequential hit on performance.
Some months ago I read a post regarding FXneoCache http://www.neocodesoftware.com/fx_neocache/
This has proved to be most effective and fits perfectly with FX.php. You can set the expiry time to suit your requirements so that it will pick up a change to your database. I have added a couple of tweaks so that I can force a refresh from a browser.
HTH
Roger
From: Glenn Singleton
Sent: Thursday, June 19, 2008 1:18 AM
To: fx.php_list at mail.iviking.org
Subject: [FX.php List] How to not reload logo from db ?
Hi,
I have web pages that include a logo that comes from my fm database and I was looking for ideas on how NOT have to do a query on the db every time a page loads.
I don't want to store it outside the db, so I was thinking frames ... but is there an alternative.
Thanks
Glenn
--------------------------------------------------------------------------------
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20080619/f59c4377/attachment.html
More information about the FX.php_List
mailing list