Answer the question
In order to leave comments, you need to log in
How to set up modx cache and optimize page load speed for a large site?
There is a site on modx revo with 40,000 pages. There is a category page where these pages are displayed using pdoPage, 20 pieces on each pagination page.
Also on the category page there is an ajax filter, when changed, a selection is made from the database with a request of this type: name LIKE '.'"%'.$_GET['name'].'%"
Here is the page load data:
time spent on database requests: 3.0324 s
number of database requests: 402
time spent on PHP scripts: 0.9764 s
total time spent on page generation: 4.0088 s
content source (database or cache): database
Tell me how you can optimize database queries and properly configure caching.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question