Why you should enable compression

To increase your page speed, you should enable some sort of compression for your website. Most modern browsers support gzip compression. Enabling compression will reduce the size transferred response by up to 90%, reduce the client’s data usage and improve the time to render your pages.

It is recommended to enable text compression with GZIP on your web server.

Filed under: DocumentationWebsite Performance
Tags: , , ,


Why you should improve your server response time

There are many potential factors that may slow down the response time of your server. Some causes could be slow application logic, slow database queries, slow routing, frameworks, libraries, resource CPU starvation or memory starvation.
If you believe your slow response time is due to CPU or memory, you may think about upgrading your web server. It is important to reduce your server response time to less than 200ms.

Filed under: DocumentationWebsite Performance
Tags: , ,



Why you should minify resources when you can

Minifying resources is when you remove unnecessary or redundant data without affecting how the page is shown by the browser. For instance, you can create a header.php page and include it to all your pages instead of having duplicates of the header on every page. You can also remove comments in your code, remove unused code and use shorter variables and function names to improve your page speed.

Filed under: DocumentationWebsite Performance
Tags: , , , ,


Why you should optimize all images on your website

Images usually account for the most bytes on a page. Therefore, it is very important for you to optimize your images. The less bytes the images are, the faster your pages will load up. Using the right image optimization is a process you need to take. Be careful when optimizing your images. If you optimize the images too much, the quality of the images may be poor. Also be on the lookout for images that you can replace with CSS effects or web fonts. Any image that you can eliminate or replace with web fonts or CSS effects will help with your page speed.

Filed under: DocumentationWebsite Performance
Tags: , , , ,



Why you should prioritize visible content on your pages

To increase your page speed, try to reduce the size of the above-the-fold content. The above-the-fold content is implying the upper half of the front page of your website that doesn’t require you to scroll down the page to see. Many websites that seem very fast are often just as large as slow websites. They just prioritize the above the fold content so that the site appears to load fast. Users love webpages that show up quickly and this is why you should prioritize visible content on your pages. Always load the above the fold content first. The footer is at the bottom of the page for a reason so it doesn’t make any sense to add many external files or images to your footer. The user will rarely see your footer. Structure your HTML so that it loads the critical above-the-fold content first and reduce the amount of data used by your resources.

Filed under: DocumentationWebsite Performance
Tags: , , ,


Why you should remove render-blocking JavaScript

External script can cause the parser to wait for the resource to download which can delay the time for the page to render. You should avoid and minimize the use of blocking Javascript, especially external scripts that need to be fetched before they are executed. You can inline small scripts to avoid extra network requests similar to how we optimize CSS delivery. Another solution to this is by making JavaScript asynchronous or by deferring the JavaScript.

Filed under: DocumentationWebsite Performance
Tags: , , , ,



Why you should avoid using plugins such as Flash

To increase your website’s usability, you should avoid the use of special types of web content such as Flash, Java or Silverlight. Sometimes these plugins will cause your website to hang or crash and may also cause security incidents in browsers. Furthermore, many browsers restrict such plugins.

Internet Explorer runs without plugins in Windows UI mode.

Chrome intends to remove most plugins.

Firefox will prompt users before running most plugins.

There are many web technologies that can substitute these plugins now and will not cause your website to hang or crash.

Filed under: DocumentationWebsite Performance
Tags: , , , ,