Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Manage a cache engine on WordPress or other application
This guide concerns website optimization and more specifically the use of a caching engine on it.
Preamble
- When Infomaniak notices that your website consumes more resources than other sites on the same server, the case is analyzed and it often appears that a simple modification of a request or a parameter would optimize the site and the entire server. You are then contacted by email about this with the steps to take to correct the problem, and this often involves installing a cache engine.
- The consumption of resources by a site is not necessarily linked to the number of your visitors. A well-optimized, up-to-date site with a correctly configured cache engine can handle daily traffic of several tens of thousands of visitors, while a poorly optimized site can consume far too many resources with just a few visits per day.
- A cache engine allows temporarily storing frequently used data to make it available more quickly when requested again. This improves performance and reduces the load on the system by avoiding the need to access more time-consuming original resources, such as databases or web services.
- Refer to this other guide if you wish to install a caching system on Serveur Cloud.
Enable a cache engine...
... on WordPress
There are many cache plugins for WordPress. Some of the most popular are WP Super Cache, W3 Total Cache and WP Rocket. You can choose the one that best fits your needs and technical skill level. Read also:
- https://news.infomaniak.com/6-ways-to-technically-optimize-a-wordpress-site
- https://news.infomaniak.com/memcached-w3totalcache
- https://www.seomix.fr/?s=cache
… for Joomla 3.x
Log in to your Joomla CMS administration then:
- menu Configuration -> System tab -> Cache settings
- Choose Conservative or Progressive Cache (Joomla developers recommend Progressive Cache but test the effectiveness of both modes)
- Choose a maximum duration, in minutes, for the validity of a cache file before it is refreshed. 60 minutes if your site is modified very regularly. 20000 for a static site that only changes once or twice a month...
- Save and manually purge the cache via the System menu if needed
... on Prestashop 1.7.8.x
Log in to the Prestashop administration:
- menu Advanced Parameters -> Performance
- Smarty Block -> enable the cache
- CCC Block -> enable the 3 options
- Cache Block -> "Use cache" -> Follow the on-page instructions to install the suggested extensions
... on Magento 1.7.x
The cache is automatically enabled. To clear it, go to the admin of Magento under System -> Cache Management
... on Contao 3.2.x
The cache is managed in Back office Modules -> System -> Configuration -> Cache mode -> Use system and browser cache
... on Drupal 7.x
Log in to your CMS admin then:
- menu Configuration -> Performance
- Cache pages for anonymous users" under Caching
Link to this FAQ: