Re: [need for advices] fastCaching
| From: | Olivier Vanhoucke | Date: | Mon, 22 Jul 2002 23:01:29 +0000 |
| Subject: | Re: [need for advices] fastCaching | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-7882@lists.php.net to get a copy of this message | ||
Hi,
And what about cache with blocs, it's another way of cache.
I have made (not finish in fact) a small class which use an xml file (maybe
not the good option if it contains html tags). It couldn't replace a
"JPCache like", but it could be usefull in certain case to have the choice
of the 2 possibilities.
example of using :
$cache = new cache ();
$cache -> blocStart ('bloc1'); // default cache time
echo 'bloc 1';
$cache -> blocEnd ('bloc1');
echo 'this is not in a cache';
$cacheTime = 1000;
$cache -> blocStart ('bloc2', $cacheTime);
echo 'bloc 2';
$cache -> blocEnd ('bloc2');
regards
Olivier (new member...)
> What is exactly the goals for fast cache ?
>
> Cache url calls ? with or without get or post parameters ?
> Currently, a benchmark can be usefull if you can include all final stuffs
(garbage by ex. ). Jpcache is one of the most simples and fastest (with same
functionnalities) cache system I know, keeping in mind it s a page cache.
>
> Is the source available in your site updated ?
>
> hth
>
> pa
>