Release 1.10.33.0-beta
The first release of mod_pagespeed 1.10 is now available for download as a beta release. With this release we have several high-impact features to share. We're most excited about Responsive Image Support, which delivers high resolution images to high pixel-density screens by automatically generating html5srcset
attributes for images. Other big changes include Caching Gzip Output, which lets us run gzip at the most agressive encoding level, Remote Config, which lets you load additional configuration over the network, and converting Animated GIF to WebP, which reduces file size by 35%.
Installation Instructions
If you are currently on the beta channel, you can update as usual:
If you installed the .rpm package, you can update with:
sudo yum update mod-pagespeed-beta
sudo /etc/init.d/httpd restart
If you installed the .deb package, you can update with:
sudo apt-get update
sudo apt-get upgrade
sudo /etc/init.d/apache2 restart
If you are currently on the stable channel and would like to switch to the beta channel, first uninstall mod_pagespeed and install the beta package from:
Instructions for building from source are available at:
New Automatically Enabled Features
- Cache Gzip Output
- Compress rewritten resources at the highest compression setting and store them compressed in cache.
- Insert Universal Analytics
- If enabled, the Insert Google Analytics filter will now insert Universal Analytics (
analytics.js
) instead of the legacy ga.js
. This should have no impact on reporting, and gives you access to the benefits of Universal Analytics. - Fetch resources over HTTPS
- HTTPS fetching is now enabled in the default configuration.
- Switch to new JS Minifier
- The JavaScript minifier introduced in 1.8 is now the default.
- Add PageSpeedNoop Query Parameter
- Add query parameter for cache busting.
- HTML5-compliant attribute names
- HTML5 requires all custom attributes to be prefixed with
data-
, and with this release PageSpeed generatesdata-pagespeed-foo
attributes. Old-style pagespeed_foo
attributes are still accepted.
New Opt-In Features
- Remote Configuration
- Fetch additional configuration directives over HTTPS.
- Responsive Image Support
- Make images responsive by adding
srcset
attributes for different pixel densities. - Animated WebP
- Convert animated GIF to animated WebP for browsers that can render it.
- Make
showads.js
Asynchronous - Convert the blocking
showads.js
snippet into the asynchronous adsbygoogle.js
snippet. - HTTP/2-specific configuration in ngx_pagespeed
- Allow configuring filters and sharding differently depending on whether the browser connection is HTTP/2.
- Request-specific downstream caching configuration
- Allow script variables in the downstream caching configuration. (Nginx only)
- Content Experiments
- Allow PageSpeed experiments to log data to a Google Analytics Content Experiment.
Issues Resolved
Issues Affecting both Nginx and Apache
- Issue 931 Do not serve source map on hash mismatch.
- Issue 979 Allow spaces between filter names in
PageSpeedFilters
header. - Issue 1085 Don't update
Last-Modified
when cache-extending. - Issue 1092 Parsing complex CSS can fail, leaving cache in an inconsistent state.
- Issue 1109 Can't set
MessageBufferSize
to 0. - Issue 1116 Support gcc 4.6.3 when building from source.
- Issue 1131 When building from source, respect the CXX variable.
- Issue 1149 WebP transcoding doesn't work with MapProxyDomain+IPRO.
- Issue 1150 BoringSSL won't compile under gcc5.
- Issue 1154 Spin in serf.
- Issue 1160 Don't serve WebP to Firefox on Android
- Issue 1164 Do not abbreviate 0s in CSS files as 0.
- Issue 1173
Disallow
should apply to defer_javascript. - Issue 1182 Don't try to resize images with invalid desired dimensions.
- Issue 1183 Race condition in the shared memory cache between delete and write.
- Issue 1184 Include canonical links for images and pdfs we rewrite.
- Issue 1185 Improve CSS parser's handling of new constructs.
- Issue 1186 Remove
/wp-admin
from our url blacklist. - Issue 1187 Prioritize Critical CSS writes a mixture of optimized and unoptimized content.
- Issue 1188 Location headers not rewritten when proxying redirects.
- Issue 1189 Race in FileCache.
- Issue 1193 File reading tracks line numbers.
- Issue 1202 Improve resource usage for on-the-fly optimizations.
- Issue 1203 File cache entries are read in 10k chunks.
Apache-specific Issues