What makes web sites slow? Whenever talk comes to the speed of web sites the biggest trick usually advertised is to cut down on the file size of everything
Your new post is loading...
Your new post is loading...
What makes web sites slow? Whenever talk comes to the speed of web sites the biggest trick usually advertised is to cut down on the file size of everything No comment yet.
Sign up to comment
Minimize DOM Access | Improving Web site performance | dml research
Mickael Ruau's insight:
How minimizing DOM Access improves Web site download performance
Accessing DOM elements with JavaScript is slow so in order to have a more responsive page, you should:
Make favicon.ico Small and Cacheable | Improving Web site performance | dml research
Mickael Ruau's insight:
How making favicon.ico Small and Cacheable improves Web site download performance
The favicon.ico is an image that stays in the root of your server. It's a necessary evil because even if you don't care about it the browser will still request it, so it's better not to respond with a 404 Not Found. Also since it's on the same server, cookies are sent every time it's requested. This image also interferes with the download sequence, for example in IE when you request extra components in the onload, the favicon will be downloaded before these extra components.
Mickael Ruau's insight:
How reducing DOM Elements improves Web site download performance
A complex page means more bytes to download and it also means slower DOM access in JavaScript. It makes a difference if you loop through 500 or 5000 DOM elements on the page when you want to add an event handler for example.
Flush the Buffer Early | Improving Web site performance | dml research
Mickael Ruau's insight:
How flushing the Buffer Early improves Web site download performance
When users request a page, it can take anywhere from 200 to 500ms for the backend server to stitch together the HTML page. During this time, the browser is idle as it waits for the data to arrive. In PHP you have the function flush(). It allows you to send your partially ready HTML response to the browser so that the browser can start fetching components while your backend is busy with the rest of the HTML page. The benefit is mainly seen on busy backends or light frontends.
Configure ETags | Improving Web site performance | dml research
Mickael Ruau's insight:
How configuring ETags improves Web site download performance
Entity tags (ETags) are a mechanism that web servers and browsers use to determine whether the component in the browser's cache matches the one on the origin server. (An "entity" is another word a "component": images, scripts, stylesheets, etc.) ETags were added to provide a mechanism for validating entities that is more flexible than the last-modified date. An ETag is a string that uniquely identifies a specific version of a component. The only format constraints are that the string be quoted. The origin server specifies the component's ETag using the ETag response header.
To ensure that your web pages render correctly and quickly, here's a compilation of some of the best free, web-based CSS optimizers/compressors, code formatters, and validation services.
Mickael Ruau's insight:
Mes préférés :
CSS Redundancy Checker is a simple tool for checking to see if you have redundant styles that can be combined together. This reduces unneeded styles and is a good way to check your work. It’s a three-step process: simply link to your stylesheet, put a few pages that use the stylesheet, and press the "check" button. The output is a detailed list of suggestions and places where you can reduce code by combining redundant styles.
Another popular web-based CSS compression tool is Robson’s open-source CSS Compressor, (check out the CSS Compressor PHP source code). There are plenty of compression options you can set that deals with colors, measurements (units), rules, and CSS properties. CSS Compressor also provides a useful Combine utility for simultaneously combining and compressing up to three separate CSS files.
CSS Drive’s CSS compressor has two modes, Regular mode and Advanced mode (which has a few more options that you can set). You can remove the comments (strip comments option) or specify to strip comments that exceed a certain character limit, thus retaining comments that are short. Regular mode is perfect for those that aren’t picky – just choose between Light, Normal, and Super Compact compression and you’re ready to rock.
In this article, you'll find a discussion on five simple and effective techniques for speeding up your web pages.
Mickael Ruau's insight:
1. Use YSlow to profile and measure your website load times Make Fewer HTTP Requests Add an Expires Header Gzip Components Put CSS at the top Put JS at the bottom Avoid CSS Expressions: Make JS and CSS external Reduce DNS lookups Minify JS Avoid redirects Remove duplicate scripts
2. Using CSS Sprites to reduce HTTP Requests
3. Load your CSS first and your JavaScript last
4. Using Subdomains for parallel downloads
5. Adding an Expires Header
This new book is an essential tool for utilizing the ANSI/ISO SQL outer join operation, and an indispensable guide to using this operation to perform simple or complex data modeling. It provides a comprehensive look at the outer join operation, its powerful syntax, and new features and capabilities that can be developed based on the operation’s data modeling capacity. With Advanced ANSI SQL Data Modeling and Structure Processing you’re able to tap the full power of data structure extraction technology that gathers data structure meta information naturally embedded in ANSI/ISO SQL outer join specifications. Plus, you learn of existing, but previously unknown SQL capabilities for improving performance, saving coding time, simplifying design, and reducing debugging time. This book also: Supplies critical review of the semantics of data structures Tells you how to perform multi-table outer joins and how to combine relational structures with heirarchical structures Describes how to establish a default database standard or framework for data modeling This is an essential resource for DB administrators, designers, and programmers working with SQL. It includes a glossary of SQL terms, and figures and database views to help you approach and simplify real-world challenges of SQL.
Mickael Ruau's insight:
Click here to see a sample chapter of this title.
Web Energy Archive tracks the environmental impact of the Web.
Mickael Ruau's insight:
WEA is a propulsed by Green Code Lab, a non-profit association. S
PRODURABLE, le salon des professionnels du développement durable et de la RSE qui aura lieu les 3 & 4 Avril 2013 au Palais des Congrès de Paris...
L'ordinateur constitue un outil central et incontournable pour toute activité professionnelle. Pourtant, sa consommation reste une source de gaspillage
Mickael Ruau's insight:
En effet, selon les experts Green IT d’AVOB, la consommation moyenne de l’équipement informatique d’une PME* représente 34 040 Kwh par an, ce qui équivaut à : 2 500 kg de CO23 100 000 ampoules basse consommation allumées pendant une heure940 jours de chauffage au gaz d’un appartement de 3 piècesl’éclairage d’une ville de 3 500 habitants*PME équipée de quarante ordinateurs de bureau et de vingt ordinateurs portables sans optimisation énergétique.
Quand on parlait encore récemment de l'implication des fonctions directionnelles et opérationnelles dans la mise en œuvre de démarches RSE, il était assez
Mickael Ruau's insight:
Le discours usuel sur le Green IT distingue plusieurs périmètres : le Green-IT 1.0 qui est la réduction de l’impact environnemental direct des TIC et le Green IT 2.0 qui, lui, s’intéresse à la contribution des TIC pour réduire l’impact des autres activités (on parle alors d’IT for Green). |
The Domain Name System (DNS) maps hostnames to IP addresses, just as phonebooks map people's names to their phone numbers. When you type www.yahoo.com into your
There are a million and one ways to boost your website's performance. The methods vary and some are more involved than others.
Mickael Ruau's insight:
Unloading some of your site assets and features to third-party web services greatly reduces the work of your web server. The principle of offloading site assets and features is that you share the burden of serving page components with another server. You can use Feedburner to handle your RSS feeds, Flickr to serve your images (be aware of the implications of offloading your images though), and the Google AJAX Libraries API to serve popular JavaScript frameworks/libraries like MooTools, jQuery, and Dojo.
Don't Scale Images in HTML | Improving Web site performance | dml research
Mickael Ruau's insight:
How not Scaling Images in HTML improves Web site download performance
Don't use a bigger image than you need just because you can set the width and height in HTML. If you need
Use GET for AJAX Requests | Improving Web site performance | dml research
Mickael Ruau's insight:
How using GET for AJAX Requests improves Web site download performance
The Yahoo! Mail team found that when using XMLHttpRequest, POST is implemented in the browsers as a two-step process: sending the headers first, then sending data. So it's best to use GET, which only takes one TCP packet to send (unless you have a lot of cookies). The maximum URL length in IE is 2K, so if you send more than 2K data you might not be able to use GET.
Make Ajax Cacheable | Improving Web site performance | dml research
Mickael Ruau's insight:
How making Ajax Cacheable improves Web site download performance
One of the cited benefits of Ajax is that it provides instantaneous feedback to the user because it requests information asynchronously from the backend web server. However, using Ajax is no guarantee that the user won't be twiddling his thumbs waiting for those asynchronous JavaScript and XML responses to return. In many applications, whether or not the user is kept waiting depends on how Ajax is used. For example, in a web-based email client the user will be kept waiting for the results of an Ajax request to find all the email messages that match their search criteria. It's important to remember that "asynchronous" does not imply "instantaneous".
Reduce DNS Lookups | Improving Web site performance | dml research
Mickael Ruau's insight:
How reducing DNS Lookups improves Web site download performance
The Domain Name System (DNS) maps hostnames to IP addresses, just as phonebooks map people's names to their phone numbers. When you type www.yahoo.com into your browser, a DNS resolver contacted by the browser returns that server's IP address. DNS has a cost. It typically takes 20-120 milliseconds for DNS to lookup the IP address for a given hostname. The browser can't download anything from this hostname until the DNS lookup is completed.
There are several free tools available at your disposal to shrink and optimize images. In this article, you will find convenient and user-friendly tools for making your web images as tiny in file size as possible.
Mickael Ruau's insight:
Mes préférés :
RIOT – which stands for Radical Image Optimization Tool – is an image optimizer for Windows users that is available as a standalone application or as an extension of IrfanView. It supports inputs in JPG, PNG, and GIF files and has the ability to strip out image metadata for further reduction of file bloat. It also has some basic image-editing utilities such as pan, zoom, and rotate, and flip built in.
PNGOUT is a popular, free, and no-frills tool for lossless optimization of your images. PNGOUT can run in the command-line or Windows Run dialog box. It has a robust set of options so that you can easily customize the way your files are compressed. It takes most of the popular image file formats (such as JPG, GIF, and PNG).
PNGGauntlet is a .NET GUI application for PNGOUT. It can be used to convert JPG, GIF, TGA, PCX, and BMP to highly optimized PNG files. PNGGauntlet is perfect for individuals that are uncomfortable working in the command-line/Windows Run dialog box, but would still like to take advantage of PNGOUT’s superior optimization algorithm. Check out PNGGauntlet’s FAQ page or its forum to get help in case you run into trouble using it.
Reposant sur une architecture VLIW, les processeurs KALRAY annoncent un rapport puissance/consommation énergétique largement supérieur à leurs concurrents.
The HTTP Archive tracks how the Web is built. Trends in web technologyload times, download sizes, performance scoresInteresting stats popular scripts, image formats, errors, redirectsWebsite performance specific URL screenshots, waterfall charts, HTTP headers
Mickael Ruau's insight:
The HTTP Archive code is open source and the data is downloadable.
Le CNAM des Pays de la Loire a mis en ligne en septembre 2011 un web documentaire interactif sur les « conseils d’usage pour une informatique plus verte ».
Mickael Ruau's insight:
L’objectif de ce site est de sensibiliser aux enjeux du « Green IT » et d’apporter des conseils d’usage autour des thématiques suivantes : l’achat responsable, le recyclage des anciens matériels, l’usage responsable de l’ordinateur, les réseaux et le cloud computing, les éco-logiciels ou encore le choix des cartouches d’encres, leur recyclage et leur réutilisation. A travers de nombreuses interviews, ce module de e-learning permet de répondre à des problématiques souvent posées mais plus ou moins traitées et résolues. Le « Green IT » est en effet un sujet encore peu abordé dans les démarches de développement durable, mais c’est un véritable enjeu à investir.
PUE = Dépense énergétique totale du centre de données / Dépense énergétique propre aux équipements informatiques
Mickael Ruau's insight:
Les données détaillées sur la charge informatique, exigées par le niveau 3, fournissent des informations précises permettant de réduire la consommation d'énergie, et non pas de simplement améliorer l'indicateur PUE. En clair, le PUE (et son contraire, le DCiE) devient un repère plus utile quand vous intégrez l'efficacité dans les performances de votre équipement informatique. Et pour cela, vous voudrez exploiter les informations détaillées sur la consommation requises pour le PUE avancé de niveau 3. Ensuite, vous pourrez vous attaquer au numérateur et combattre les mauvais rendements dans votre infrastructure.
La consommation énergétique des Systèmes informatiques explose. L'origine ? Les utilisateurs et les centres d’hébergement de données et de sites
Mickael Ruau's insight:
Pour une entreprise, l’introduction des TIC permet des gains d’efficacité énergétiques important de l’ordre de 5 à 10%. La Green IT est donc un moyen qui permet aux entreprises et collectivités de devenir des organisations plus durables économiquement, écologiquement et socialement. |
Your new post is loading...
The last idea stems from a time that may just have been before you even started developing for the web! Netscape, the ill-fated (but IMHO at that time better) competitor to Internet Explorer during the browser wars had a custom HTML attribute for images called ‘lowsrc’ which enabled you to define an image that was of much smaller file size than the real one and was loaded first and then covered by the real one while it was loading. This allowed you to give even users on ridiculously slow connections a preview of what there is to come.
You can re-use that idea and not embed large mood imagery in the page when it is loading initially but use more stylized, lighter images that get replaced with the others once the page has been loaded. Or you could go even further and only use background colours at first. You then use JavaScript and the DOM to load the real image when the document has finished loading and cover the preview with it.
This trick can also be immensely effective when you include lots and lots of smaller images from several servers (like gravatars for example) as these are not likely to be cached. Simply use a placeholder graphic initially and replace them with dynamically created images when the page has loaded.