Cache System


Recommended Posts

Caching programs like eaccelerator or xcache work best when it's a single web site on a server. With multiple web sites it becomes a lot more tricky because the number of PHP scripts will be extremely large. So a server could very well have 50GB of space of PHP scripts so that means 50GB of cached scripts. Along with that the shared memory features work best when PHP processes are always open. This is not the case with most shared environments including ours. So it's unlikely a user will have a full set of processes very long to make use of memory caches. It would only work if PHP ran as a single user (nobody) but then we'd lose the niceness of PHP running as the user.

Finally those features built into most of those scripts is not about the caching I'm talking about but the ability to cache other data. Typically more of a dedicated server thing similar to the use of memcache.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.