PDA

View Full Version : Good phpWebSite Cache/Performance Tweaks


shadowdev
6-14-05, 04:45 AM
I was wondering if anyone knew of some good cache/performance tweaks for phpWebsite-current. I have a really awesome looking layout going on and need a few pointers for reducing load times. I can't exactly remember what file to edit to disable caching, which tends to slow down page loads on most servers.

shadowdev
6-14-05, 05:03 AM
Fixed. core/cache.php line 55

change from:

if (GLOBAL_CACHE == FALSE && isset($GLOBALS["PHPWS_Cache"][$mod_title][$id]))
return $GLOBALS["PHPWS_Cache"][$mod_title][$id];

to:

if (GLOBAL_CACHE == TRUE && isset($GLOBALS["PHPWS_Cache"][$mod_title][$id]))
return $GLOBALS["PHPWS_Cache"][$mod_title][$id];

Croc Hunter
6-14-05, 05:21 AM
Utilizing the Zend Optimizer can speed up php. http://support.powweb.com/index.php?category=PHP/MySQL&topic_id=35

And resaving images, even buttons etc to be smaller in filesize always helps.