Faster websites for free - thanks Google!
Thursday, 04 November 2010

Google has just made us all a present of an Apache module that auto-optimises web pages - and its open source. It's all part of their effort to make the web go faster.

Banner

 

Google just keeps on giving. It has now released as open source an Apache module called mod_pagespeed that applies optimization techniques to the HTML, Javascript, CSS and images. Previously Google gave us Page Speed, a tool to analyse and suggest optimisations, now mod_pagespeed cuts out the middleman and just gets on with the job of applying the changes.

googletools

Google claims that the new module can halve page load times in the worst or best case depending on your point of view. A 2x speedup is something not to be ignored and certainly not when it's free and open source.

You can see a demo in the video below:

 

      

 

It is also claimed that mod_pagespeed is particularly good at making changes to CMS generated pages so optimising the system without the need for any changes to the CMS. It recompresses and rescales images on the fly when its HTML context changes. It also extends the cache lifetime of images to a year but magically still allowing immediate updates.It also does a lot of other things like combining multiple CSS files into one, inlines small CSS files, inlines small Javascript files, minifies CSS and Javascript.

If you have administrator access to your web server then adding a new Apache module is fairly easy. If you don't then you have to wait until your hosting service gets around to doing it. At the moment Google reports that it is working with hosting service Go Daddy to add mod_pagespeed to its 8.5 million hosted sites.

This is part of Google's "Make the Web Faster" initiative and if we all use mod_pagespeed - they probably have.

 

Download and installation instructions from mod_pagespeed

 

Banner


Google Introduces Signed-In Maps
30/10/2014

The latest feature in Google's JavaScript API sounds attractive - unless you have problems with Google knowing all your location-related preferences.



EF7 Drops XML Modeling Favors Code First
27/10/2014

Microsoft is dropping some ways of modeling data in the next version of Entity Framework (EF) to make the database tool more lightweight.


More News

Last Updated ( Thursday, 04 November 2010 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.