GoogleGoogle has released a module speed up the loading of web-pages PageSpeed ​​for Nginx

Google has presented a module ngx_pagespeed, in which was prepared the analogue for the previously developed for the http-server Apache module mod_pagespeed. Running as a module inside Nginx, ngx_pagespeed rewrites your webpages to make them faster for your users. Ngx_pagespeed code is licensed under Apache.

Despite the fact that the module is positioned as a beta release, it is marked as ready for deployment, since three months is used in several hundred sites and some hosting providers. According to data provider ZippyKid, who participated in the initial testing of the module and specializes in providing hosting for blogs based on the engine WordPress, use ngx_pagespeed reduced the size of the pages loaned by 75% and increase the speed of page rendering by 50%.

Module supports more than 40 filters for web-pages and related resources, such as CSS, JavaScript, and image files. Optimization is performed in a fully transparent manner and does not require changing the contents of the site. Most of the methods used in the module are aimed at increasing the effectiveness of client-side caching, reducing the number of requests / responses and reducing the size of giving and receiving data.

Built-in caching mechanisms minimize the additional load on the server that arises in the course of the module, minimizing the number of cases requiring specific conversions on the fly. For example, the implemented techniques such as optimization and image compression, reducing the resolution of the images (if you do not match the actual resolution of the specified tag and IMG), the removal of redundant data from the JavaScript-code and CSS, removing unnecessary HTML-tags, combine multiple JavaScript / CSS-files , optimization of titles Expires, Cache-Control and Last-Modified.

Main link to news: