2.17.9. Standard methods for reducing load
Caching
Browser caching
To reduce the number of requests to the server for the site, you can enable static file caching. In the static file list, the file extensions that should be cached are listed separated by commas. Recommended caching time — 1 week or more.
Please note that caching is only possible for static content (images, HTML pages, fonts, etc.). If the file extension is not specified in the static file list, caching rules for it can be set manually via your site's .htaccess file.
Server caching
See Server caching.
PHP version
To increase performance, security, and reduce the load caused by the PHP scripts of the site, it is recommended to change PHP version to 7.0 or higher (to the maximum compatible with the site scripts).
Attention!
Scripts written for earlier versions of PHP may be incompatible with newer versions of PHP. It is recommended that such scripts be updated to make them compatible with the current version of PHP, or replaced with alternatives that offer the same functionality. When using a CMS, the site core, installed themes, and plugins should be updated to the latest versions.Optimization modules
To speed up site scripts and reduce the load they create, you can use OPcache, which is designed to cache compiled PHP script bytecode in RAM. The technology works at the PHP level and does not require any changes to the site code.
To cache database queries in RAM, it is recommended to use Memcache(d) or Redis. If the site does not support them by default, you may need to install special plugins or make changes to the site code.
What will not help in load optimization?
Enabling options in site optimization settings will not reduce the load on the server. This is an optimization of the speed at which the browser renders the page. If the site scripts are not optimized, enabling these options may, in some cases, increase the load on the server.