Answer the question
In order to leave comments, you need to log in
How to speed up the loading of web pages?
Actually, the question is in the title. How to improve site performance by speeding up the loading of web pages? What other ways and tricks exist, in addition to those described in the notorious Google PageSpeed Insights ? What advice can you give based on your own practical experience? Are there any interesting articles or resources on this subject?
Answer the question
In order to leave comments, you need to log in
Yes, there are a lot of things:
- switching to HTTP / 2
- analysis of the work of the backend, databases
- analysis of the Network tab in chrome
- variations in image compression
- removal of part of the functionality to asynchronous loading
...
First, find out what is slow for you, and then improve. Otherwise, I can advise you to properly configure postgres, and you have sqlite in your project.
If the server part slows down, you install an xphrof profiler for yourself and look for a weak spot)
As already correctly said, first figure out what acceleration requires - if the frontend, then optimize the content, specifically pictures, css, scripts, etc., even more specifically - I can give a link to the workshop from Harry Roberts - in my opinion, everything is excellently indicated by it in terms of fronted acceleration.
If the backend is a competent web server setup, php-fpm, caching etc., optimization of database queries. Here you can be more specific only knowing exactly what you have there ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question