Answer the question
In order to leave comments, you need to log in
How to speed up a website on DLE?
Good evening!
Stupid site on DLE, where about 12,000 news.
It loads in 1-2 seconds. Only the cache helps. But it is necessary to speed up requests too.
Normal requests are loaded in 1-1.5 seconds. Also a lot.
Queries such as:
regexp '(" . $cats . ")
и
where (category LIKE '%$cats%')
и
where MATCH (category) AGAINST ('$cats')
Answer the question
In order to leave comments, you need to log in
it's best to move $cats to a separate table with ID
and create a link table: for movie ID and category ID.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question