WordPress is the most popular CMS in the world and consist of a lot of scripts and plugins. It should work fast to be in good positions in the search engines.
Furthermore, Google announced at July 9, 2018 that using page speed in mobile search ranking is now rolling out for all users.
Scripts run optimization
WordPress uses PHP for scripting. So the three main steps should be done:
-
Enable PHP code cache
PHP caching could increase response time by about 50%. There are detailed steps how to check and configure PHP script caching.
-
<stro
Increase site’s speed by enable PHP code caching
PHP cache incredible increases the speed of a site. For instance, if request preparation takes 1.2 seconds, after cache enabling it will take 0.6 seconds (increase by about 50%). Particularly, it influences on WordPress significantly as well because it contains a lot of PHP code.
On some sites based on e.g. WAMP (Apache, MySQL and PHP bundle for Windows) PHP code cache is turned off by default so it’s better for us to check the settings.
The most popular way to do that is to use OpCache – a special PHP module that does code caching. In PHP 5.5 and above this module already integrated into.
How it works
OpCache provides faster PHP execution through compiled code caching and optimization. It improves PHP performance by storing precompiled script bytecode in the s