|
|
|
|
- Readme First! - Read and follow the rules, otherwise your posts will be closed |
|
|
|
|
|
There are currently, 353 guest(s) and 0 member(s) that are online.
You are Anonymous user. You can register for free by clicking here |
|
|
|
|
|
| The comments are owned by the poster. We aren't responsible for their content. |
| | | | |
No Comments Allowed for Anonymous, please register | | | | |
Re: Boost your PHP Page Generation Times with Zend (Score: 1) by Peejay on Monday, September 15 @ 11:07:34 CEST (User Info | Send a Message) http://www.peejay.info | Well, my settings are pretty simple really as my site does not get a lot of traffic or change that often. You can set pages to be cached as often as you like, and even exclude certain files or directories. My settings for it (held in php.ini), simple ones are:
zend_extension="/usr/lib/php4/mmcache.so"
mmcache.shm_size="23"
mmcache.cache_dir="/tmp/mmcache"
mmcache.enable="1"
mmcache.optimizer="1"
mmcache.check_mtime="1"
mmcache.debug="0"
mmcache.filter=""
mmcache.shm_max="0"
mmcache.shm_ttl="0"
mmcache.shm_prune_period="0"
mmcache.compress="1"
I imagine these are the 2 options that would need to be tweaked:
mmcache.shm_ttl
When MMCache fails to get shared memory for new script it removes all scripts which were not accessed at last "shm_ttl" seconds from shared memory. Default value is "0" that means - don't remove any files from shared memory.
mmcache.shm_prune_period
When MMCache fails to get shared memory for new script it tryes to remove old script if the previous try was made more
then "shm_prune_period" seconds ago. Default value is "0" that means - don't try to remove any files from shared memory. |
| Parent | | | | | |
|