I
I
Ivan2018-07-28 17:55:19
Web development
Ivan, 2018-07-28 17:55:19

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

3 answer(s)
A
Anton Tarasov, 2018-07-28
@makler667

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.

X
xmoonlight, 2018-07-28
@xmoonlight

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!

R
RayTop, 2018-08-07
@RayTop

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 question

Ask a Question

731 491 924 answers to any question