README.md in pagelet_rails-0.1.1 vs README.md in pagelet_rails-0.1.2

- old
+ new

@@ -9,11 +9,11 @@ * What if one of them is slow? * Does this mean your users have to wait? Don't make your users wait for page to load. -[View Demo Project](https://polar-river-18908.herokuapp.com) +[View Demo Project](http://polar-river-18908.herokuapp.com) ## Example ![](https://camo.githubusercontent.com/50f4078cc4015e3df89afc753a5ff79828ac0e8e/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f662e636c2e6c792f6974656d732f303031323133314d324b3147335831483276314f2f313433303033383036373738372e6a7067) @@ -403,16 +403,31 @@ <%= pagelet :pagelets_current_time, remote: true, ajax_group: 'leftpanel' %> ``` There will be one request per group. Missing value is considered a separate group as well. - +## All possible advantages of this gem's approach + +This is a list of all advantages that would be made possible by using this gem's approach of abstraction and decomposition. Note: not all features are implemented yet. + +- Ability to use HTTP public cache for fragment caching +- Easier fragment caching on the server +- Batch Ajax requests +- Custom loading placeholders +- Progressive rendering of the page +- Partial page updates +- "Super smart caching" +- Delay render below the fold +- Simplified development and testing +- Minimum DSL or new syntax +- Asset dependencies +- Parallel rendering +- Take advantage of HTTP2 features + ## Todo * delay load of not visible pagelets (aka. below the fold) * do not load pagelets which are not visible to the user until user scrolls down. For example like Youtube comments. -* fix streaming with nested layouts (rails bug?) -* add rails 4 support * high test coverage * update actionpack-action_caching gem to support rails 5 ## License