June 2010 Summaries
2 posts from PubNub
Filter
Month:
Year:
Post Summaries
Back to Blog
The new PubNub JavaScript Push API 2.0, now featuring a jQuery Plugin, offers a fast and lightweight solution for jQuery users seeking a Publish and Subscribe Push API, compatible with various mobile devices such as iPhone, iPad, Blackberry, Android, and Symbian. This API facilitates real-time messaging through a Comet-based Publish and Subscribe system and includes functions available in the PubNub JavaScript Push API, such as jQuery Comet Subscribe and jQuery Comet Publish. Users are advised to place the jQuery script before PubNub to access the jQuery.PUBNUB object namespace, and they can refer to the updated API 2.0 documentation for a comprehensive list of functions and tutorial updates. For further information, users are encouraged to visit the jQuery website.
Jun 17, 2010
285 words in the original blog post.
PubNub employs a combination of Google Closure Compiler Advanced Optimizations, maximum GZIP compression, and Memcache to enhance the performance and delivery of JavaScript files. This method involves optimizing JavaScript files using Google Closure, compressing them with GZIP at maximum compression, and storing them in Memcache or using a CDN for broader distribution. Modifications to headers are recommended to include only essential fields such as Content-Type, Content-Length, Content-Encoding, and Expires, with the addition of a Proxy Cache-Control header for better cache efficiency in remote areas. The aim is to reduce the payload size to under 4,000 bytes, with PubNub's library achieving a size of under 2,900 bytes, enhancing speed for a global audience. Additionally, the article highlights the importance of fast page delivery speeds due to their direct impact on revenue, emphasizing that even minor delays can significantly affect earnings, particularly on congested mobile networks.
Jun 11, 2010
993 words in the original blog post.