Optimization of the website for server usage

Published: 2020-07-04

Due to the high consumption of resources by constantly querying the web server to the database server and receiving a warning from the server administration I optimized the operation of the site. It consists in adding pages to the server cache. For some pages the refresh time is 15 minutes, while for others 60 minutes. Consumption of resources on the server has decreased from 100% to 12%.