Clear instructions to SPEED your website up
Permalink 2 users found helpfulThere is a way to speed things up a tad though.
This guide follows on from the thread I started a number of weeks ago about using APC Cache (and some of my cache test results).
Note: This involves modifying the Concrete5 core, my guess is updates will require this process to be redone
Note2: The method described here will use a fair chunk of memory - to be honest, typical $2 a year shared hosting from Dreamhost is not the best partner for Concrete5.
Note3: Thanks Mose for a lot of the help on this one.
------
Requirements:
APC 3.1.3 installed on your server
Latest version of PHP installed ideally
Decent amount of server memory
------
1) Under the config folder, find site.php and add this:
define('CACHE_ID', BASE_URL . DIR_REL);
and
define('CACHE_LIBRARY', 'apc');
2) Edit <root>/concrete/libraries/cache.php and change these lines near the top
to
3) Check your site is all go - assuming everything is installed correctly and the code above has been actioned, it should be speeding along a lot more than before.
This is not the ultimate solution - I'm yet to hear feedback from the Concrete5 Core team - their feedback appreciated, but it has resulted in some good speed increases on some of our basic sites.
appending DIR_BASE on your key/CACHE_ID couldn't hurt either, you'd have to try to screw that one up.
-Scott
I recommened to also use the audit tool that comes in webkit browsers to check a site for performance.
Thanks to the safari guys :)
Greets
--ron
Question: Is this process only doable for one C5 site or can it be done for multiples in a shared hosting environment?
Finally, maybe this could be made into an article in the Documentation of this site. Seems like the next logical step.