Originally Posted by falko
Do you use a PHP opcode cacher such as eAccelerator or XCache?
Thanks for your reply.
Not yet. Would it be worth trying then? Might that solve the "slow first load" issue? What I can't understand is why that first load is so damn slow, yet subsequent loads are lightning fast. It's almost like it's to do with setting up a session or something. But it seems to be the php that takes the time - a static page is always blazing fast.
I can see a potential issue with eAccellerator.
"Is eAccelerator working with php-cgi or php-cli?
This is not yet supported and it won't be supported in the near future. However FastCGI is supported."
Now, it doesn't appear that once you've selected a type of php in ispconfig that you can change it. Switching to anything except suPHP gives me "forbidden" errors on every page, with error logs complaining about symlinks, despite symlinks being allowed in the site http config and I can't actually see any symlinks anyway - I'm using the full path. I should have edited my original post when I found that in fact I hadn't been using cgi, it's just that I hadn't allowed ISPconfig it's random amount of time between doing something in control panel and it taking effect. Now that I've given it a few minutes, I get these errors. Sorry if the statement that I've tried different PHPs was misleading.
xcache looks like it was written for lighthttpd and getting it working with apache2 could be done, but the guide looks more complicated!
Besides, I like apache2 because it works with Google's mod_pagespeed which really helps things move too. (BTW, it's not page-speed causing slow start, I've tried with it on and off).
So, any recommendations of one over the other?