Find the Checklist to help web page optimization and SEO.
Tools for analyzing site loading speed with recommendations:
GTmetrix uses Google Page Speed + Yahoo! YSlow also gives detailed recommendations, but Google PageSpeed Insights also checks the download on mobile devices.
- Enable HTTP2
- Enable gzip
- Enabling caching page generation engine site
- Enabling caching for files provided by the server:
- Checking that there are no 404 responses to loading resources – they slow downloading
- Connect CSS and JS – at the end of HTML, before
- Automatically generate critical CSS and embed it through
- Minimize the number of downloaded files (not very relevant if there is HTTP2):
- Postpone data loading optional for first-page display:
- Use defer and async for third-party js
- Take out the buttons of the social. sharing a to post-load or load them while scrolling contents to them.
- Use LazyLoad for pictures, but not to the detriment of SEO (src should lead to a real picture, not a stub).
- Invisible to load at the first loading of the page through AJAX (e.g. tabs content) or prerender.
- Load through prerender unused blocks on the current page, but will be needed for the following
- To load js-libraries and fonts from CDN – to use their versions cached from other sites and to quickly download from CDN if there is no-cache
- Transfer external banners and other resources loaded from third-party slow servers – to the client-server
- Minimize redirects for external resources (for example, external js is given not by the URL at which it is requested, but by a redirect URL)
- Define img sizes in HTML.
- Optimize graphics:
- Do not load images on a regular display. Use retinajs and mixins.
- Or use the technique 30% quality Retina JPG
- Image Type Conversion:
- SVG (preferred) or png – for vector images, charts, strict color transitions
- jpg – for full color and gradients
- png24 for transparencies
- png8 with alpha channel for transparencies (via the graphics optimizer compresspng.com ) Maybe somewhere you can replace png24 with png8 + matte, and somewhere with jpg
- Save JPG as progressive
- Optimize jpg and png files:
- using compresspng.com (compress better and faster than console utilities)
- or using console utility pngout, jpegtrank (including plugins for Grunt / Gulp)
- Wrapping visual decorations in CSS3 instead of images:
- for example, the shadow of a picture can be made via box-shadow, and the picture itself can be saved without a shadow
- Combine several adjacent link images into one image, on which positioned links overlap
- Make design changes by removing heavy items
- It is advisable to remove the query string (“?”) In the URL of the given resources (some proxies do not cache them)