Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Archive for July, 2018

Speed up your website – Part 6: Cookies & Mobile

Wednesday, July 25th, 2018 by Servage
This is the sixth and last part of a simplified explanation of the “Yahoo best practices for speeding up your web site“. Read the fifth part here. The fourth part is about image related optimization. Reduce cookie size Basically cookies consume resources in terms of data in requests. The article "When the cookie crumbles" by Tenni Theurer and Patty Chi provide the following conclusions: Don't use unnecessary cookies. Think before storing useless data. Reduce cookie size to the minimum required. It helps response times. Restrict cookies to domains appropriately, so they are not affecting other subdomains unnecessarily. Set appropriate expire dates, to remove cookies as early as possible with regards to their relevance. Do ...

Speed up your website – Part 5: Images

Thursday, July 19th, 2018 by Servage
This is the fifth part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the fourth part here. The fourth part is about image related optimization. Minimize image file size Avoid using GIF files. If you have GIFs, try to convert them to PNG, in order to evaluate if you might save some size. PNG files are more efficient in terms of quality and size. Most browser-issues with PNG are resolved, so there are not many things in favor of the GIF anymore. If you must use it, make sure to include the amount of colors in the color palette, which are necessary. ...

Speed up your website – Part 4: JavaScript

Saturday, July 14th, 2018 by Servage
This is the fourth part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the third part here. The third part is about CSS related optimization. Preferably place scripts at the bottom Scripts block parallel downloads of multiple items in the browser. Therefore you might want to place the scripts at the bottom of the page, if possible. It is a problem if your scripts alter the content of your document on the initial load, since you might want those scripts at the top. Make JavaScript (and CSS) external Including JavaScript and CSS in the HTML document reduces the amount of requests, but also ...

Speed up your website – Part 3: CSS

Monday, July 9th, 2018 by Servage
This is the third part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the second part here. The third part is about CSS related optimization. Include stylesheets in the head section Use the <link> tags in the <head> section of your HTML code to include CSS files. This enables your website to load progressively, instead of waiting for style information in the middle, or at the bottom of your page. It means that content can be rendered when it is ready, because the style information has already been loaded in the beginning. This makes the page appear to load faster. Do not ...

Speed up your website – Part 2: Server

Thursday, July 5th, 2018 by Servage
This is the second part of a simplified explanation of the "Yahoo best practices for speeding up your web site". Read the first part here. The second part is about server related optimization. I am aware that some settings are not available to all developers, depending on their development and deployment infrastructure. Use Content Delivery Networks Where possible you should take advantage of servers closer to your users than your own. TO get started quickly with some major improvements, try to load JavaScript sources like Google APIs, jQuery or similar code you might use in your project, directly from their servers, or suggested CDN. Add expires header to utilize ...

Speed up your website – Part 1: Content

Sunday, July 1st, 2018 by Servage
There are many ways to improve website performance. The "Yahoo best practices for speeding up your web site" is a very comprehensive guide to optimizing many factors of your website. However, the article is very long, and sometimes quite hard to understand, because the technical level of the article is high. Therefore I have collected the main tips of the optimization guide, and will present them in a series of more comprehensible articles. Make fewer requests Each page often contains multiple resources, which each generate a request. For example a basic HTML page with a CSS stylesheet and 5 images, generates a total of 7 request (one for the HTML, ...