This rewritten address is passed to the PHP interpreter. It is only at this point that PHP starts its work at all. Thus, the PHP extension that does the caching has only at this point the chance to see the request. It thus sees and caches the rewritten URL.
jpcache is great for non nuke php but with nuke it caches the session also so dont be suprised if someone is logged is an admin and shouldnt be.
Cache_Lite works great for blocks and queries combined with Zend and MMTurche server load doesnt go over .01 even with 300+ browsing. Although it isnt often I have that many online.
Common: 16MB cache, ramdisk cache dir, loaded as Zend extensions (not PHP extensions), zlib compression via Apache config.
Code:
Accelerator req/sec time/req connect procing waiting total long req load
---------------------------------------------------------------------------------------------
No acceleration 3.28 ms 304.672 ms 80 7359 6487 7439 13595 12.04
PHP Accelerator 1.3.3r2 4.46 ms 223.986 ms *3 5468 4778 5471 10298 15.20
TurckMMCache 2.4.6 *4.63 ms *216.128 ms 6 *5256 *4614 *5262 *8939 12.10
Zend Performance Suite 3.5 4.39 ms 228.049 ms 12 5554 4896 5566 9778 *10.10
TurckMMCache is clearly the winner. Plus, unlike PHP Accelerator and the Zend Performance Suite, it is open source. Note that this is not my production server. It is a lowly Intel PC and rather dated at that. So don't draw too much from the raw numbers, it's the difference between that's the important part. I didn't bother benching APC or abcache as neither has been maintained in some time.
Oh, using a ramdisk cache dir didn't increase performance since all use shared memory.
I'm switching to TurckMMCache from jpcache (was a temporary solution anyway) as soon as I can get autoconf installed on my managed server.
I would appreciate any input as to what steps were necessary that were special to both packages, GoogleTap and jpcache / Cache-Lite / MMCache, so I can include the info in the next version of the PHP-Nuke HOWTO. I don't need any installation instructions, as I have those, rather the special steps - if there are any - that might be needed to make *both* work together.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum