Re[2]: [PECL-DEV] using APC as content-cache?
| From: | val khokhlov | Date: | Fri, 29 Apr 2005 06:44:12 +0000 |
| Subject: | Re[2]: [PECL-DEV] using APC as content-cache? | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2321@lists.php.net to get a copy of this message | ||
Hello Ilia,
Friday, April 29, 2005, 5:01:31 AM, you wrote:
IA> Storing complete cached pages in SHM is probably not for everyone since
IA> memory is fairly limited. MMcache for the most part stores the cached
IA> pages on disk, and only uses SHM for tracking purposes.
maybe, it's good to store only $page_id's in shared memory (to avoid
stat() calls), and place files on disk?
and i also think that content-caching can be done completely in
user-space, like Rasmus said. we don't even need a cron job to remove old
files, because if a newer version is cached it overwrites the old one.
but... in any content-management system, which does banner rotation
or accounting of page views, content caching is useless. it's useful to cache
some parts of output, but it's definitely a user-space task.
--
Best regards,
val mailto:val@vk.kiev.ua