How to make your website lighter
It's a common-sense ” website is lighter “ so ” it will load faster “. Reduce page size to decrease load timing and to avoid a delay.
Website is a primary aspect of your business but “what happened? When your website is taking too much time to load.” Have you thought about it? Your business will go down because your visitor or client will not stay on your website for a longer period.
Every user or viewer may notice that website loading time. And if website loading is higher than 2 seconds,
viewers quit a page or browser tab. They assume that if it does not load within 2 or 3 seconds, so it will take too much Time or delays.
What is page size?
Page size is a collection of all the files that we are using to create web pages that include HTML file, style sheet, JavaScript, images, and other media files such as audio, video files.
5 ways to reduce page size
1. Image compression
images are one of the largest contributors that increase page size higher and higher. So whenever you upload a file, always keep images size is equal to your visible area. Higher resolution images are not used for that case.
After completing website development always try to compress all the images by online image compressor tools.
Please click here to read more.
2. Use CSS Sprites
Avoiding using a maximum number of images by using CSS sprite. If you are using multiple images on site so it will create multiple requests on the HTTP server and the server will slow down to process each request. By using CSS sprite, you can combine multiple images in a single image so HTTP requests will reduce, server response time will also decrease and the page will load faster.
For more information about CSS sprite you can click here.
3. Remove Unnecessary Custom Fonts
To improve website personality and their look from other, developer always uses a customs fonts. If they use a maximum custom font on your website, font increase your page size so try to use limited custom fonts.
4. Minify resources
Minify resources mean to remove unnecessary space, a comment that will not affect your website. Avoid coding formatting on your page to release the space that it occupied.
Click here to read more about minifying resources.
5. Browser caching
Why make already visited visitors download the same things every time when they load a page.
Enabling browser caching allow temporarily store some data on a visitors’ computer when they first time visited, so they don’t have to wait for it to load every time they visit your page.
How long you store the data depends on their browser configuration and your server-side cache settings.
To set up browser caching on your server, please click here.
Post a Comment