To help web designers, Google announced “mod_pagespeed 0.10.21.2,” which now supports the new “flatten_css_imports” feature, which automatically optimized the same web page by flattening the imported CSS files into their parent — thus eliminating the use of @import, which costs an additional HTTP request, serial round-trip between browser and server, since the browser does not know the URI of the imported CSS file until it downloads, parses, and executes the file that’s importing it.
The new flattern_css_imports reduces the number of HTTP requests, and more importantly, the number of serial round trips. In this case, the small background image also got inlined into the combined CSS file, reducing the serial round-trip count by 2.
This feature is especially useful to WordPress users with child themes that override their parent theme because that feature uses @imports.
Also, Google added new features to the OAuth 2.0 Playground, a tool enabling you to easily experiment with the OAuth 2.0 protocol and APIs that use the protocol.
- Use the OAuth 2.0 Client-side flow by simply changing a setting in the OAuth 2.0 configuration dialog. Once set, every subsequent authorization request is performed using the client-side flow, and the playground’s interface and logic adapt accordingly.
- Support for newer OAuth 2.0 drafts: This makes the playground compatible with most APIs supporting OAuth 2.0 drafts 10 to 25.
- Display available API operations by just clicking the Find available Request URIs button, the operations along with their associated HTTP Methods and URIs are displayed on the right-hand side.
- Support for access_type and approval_prompt parameters of the authorization request.
- Automatically refresh access tokens if available, you can enable a feature that will automatically refresh the access token shortly before it expires.
- Selectable links in responses – Clicking any links in an HTTP response will populate the request URI field so that you can quickly and conveniently set up the playground for the next operation.
Google+ Hangouts API is now moved out of the preview, and enabling developers to launch and share their hangout apps with the entire Google+ community! To get the ball rolling, Google also introduces a new “Apps” pane in Google+ Hangouts, as well as some featured applications.
Hangout apps are regular web apps, running in a big window inside the Hangout UI. In addition to using shared-state APIs to give users real-time interactivity, you also have access to built-in Hangout features, such as:
- Initiate a group video chat with up to 10 people
- Control hangout microphones, cameras, speakers and volume levels
- Add sound effects and attach image overlays to faces
- Set UI elements such as the video feed, chat pane, and notifications
“You can easily get the word out in one of two ways: 1) post a link to it on Google+, and/or 2) add the new hangout button to your website. In either case, anyone who clicks will start a new hangout with your app running inside. It then appears in the “Recent” apps pane for future hangouts,” Google explains.
Finally, Google’s Go project, a new open source programming language introduced in November 2009, which now has more than 200 outside contributors — today reached a stable point now calling as “Go version 1,” or “Go 1” for short.
“Go 1 offers compatibility for future growth: programs written to the Go 1 specification will work dependably for years to come even as Go continues to develop. It also introduces changes to the language (such as new types for Unicode characters and errors) and the standard library (such as the new time package and renamings in the strconv package). Also, the package hierarchy has been rearranged to group related items together, such as moving the networking facilities, for instance the rpc package, into subdirectories of net. A complete list of changes is documented in the Go 1 release notes. That document is an essential reference for programmers migrating code from earlier versions of Go,” Google posted.
The benefits of Go 1 are also available to Google App Engine developers, as Go 1 is now the standard Go runtime on Google App Engine with new release of the Google App Engine SDK.
For more information about Go in general, visit golang.org.