I just wondering how diffcult would it be to enable website cache class in price tapestry code
I have downloaded free open source code http://acme-web-design.info/php-cache-kit.html
I would like to intergrate this code into price tapestry.
Could this class be intergrated easly or would i need expert PHP programmer.
Info
uses two global configuration variables: cache_active, cache_folder
To use: set cache_active = true, assign cache_folder
Next, call acmeCache::fetch instead of generating a page or module.
Only if it returns false, build the section then call acmeCache::save.
You only need these two functions and you do not need to
create an object -- the class wrapping is just to avoid namespace
conflicts with your existing code.
Usage example:
Do this stuff in your config file
include_once('cache-kit.php');
$cache_active = true;
$cache_folder = 'cache/';
Many Thanks
Darren
Hi Darren,
As Price Tapestry is a heavily database driven script; generating potentially thousands of "virtual" pages I wouldn't recommend using a server side caching system.
Cheers,
David.