Answer the question
In order to leave comments, you need to log in
What is the best way to speed up a website?
Good afternoon!
What would you recommend to speed up the site anis-realty.ru
Can I use cdn?
Who used what and how did you speed up the download?
Answer the question
In order to leave comments, you need to log in
GTMetrix for example, to help you.
Open the Nginx config - and let's go through the list. You need to decide: caching issues, minification of css / js, image compression if possible, reduction in the number of http hits, etc.
A CDN can and can be, but a last resort if the previous steps don't work enough.
On GET (reading data) - give a full rendering of pages from the server cache.
IMPORTANT! : static page should be assembled from separate cached segments via concatenation/replacement of HTML code (or template HTML code).
On POST (data modification) - update the cache of the desired segment.
Static content with automatic cache control is tricky, but it works really fast!
I think it's still worth playing with the optimization of queries to the database and the side of their processing. faced situations when 2 MySQL queries and reduction of the received data in PHP turned out to be 1.5-2 times more efficient than 1 MySQL query using UNION.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question