Why you should improve your server response time

11 years ago

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: Documentation→Website Performance
Tags: , ,


Why you should leverage browser caching

11 years ago

Fetching resources between the client and server can be very slow and expensive for the visitor. To increase your page speed, you should always consider using caching to help determine whether the browser can reuse a previously fetched resource.

Filed under: Documentation→Website Performance
Tags: , ,


Why you should minify resources when you can

11 years ago

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: Documentation→Website Performance
Tags: , , , ,


Why you should optimize all images on your website

11 years ago

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: Documentation→Website Performance
Tags: , , , ,


Why you should optimize CSS delivery

11 years ago

Browsers will block rendering a page until all external style sheets are downloaded and processed. It is vital to optimize your CSS delivery so that your page can load faster. You can do so by inlining small CSS files directly into your HTML document. Do not inline large data URIs or CSS attributes.

Filed under: Documentation→Website Performance
Tags: , , ,


Why you should prioritize visible content on your pages

11 years ago

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: Documentation→Website Performance
Tags: , , ,


Why you should remove render-blocking JavaScript

11 years ago

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: Documentation→Website Performance
Tags: , , , ,


Why you should use asynchronous scripts

11 years ago

By making sure you are using the asynchronous version of your scripts, your page speed and improve greatly. Many scripts such as Twitter, Facebook, Disqus and Google Analytics are async by default. For those that are not async by default, you should make an effort to see if they have an async version of their script.

Filed under: Documentation→Website Performance
Tags: , , , ,


Why you should avoid using plugins such as Flash

11 years ago

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: Documentation→Website Performance
Tags: , , , ,


Why you should configure the viewport on your website

11 years ago

To improve your website’s usability for mobile devices, you should configure the viewport on your website. Simply add this snippet of code into your website’s section:

By doing so, your pages will be optimized well on mobile devices. Viewport controls how the webpage is displayed on a mobile device so that it uses the device’s screen width making it easier to browse and read the content of your pages.

Filed under: Documentation→Website Performance
Tags: , , , ,