[wp-trac] [WordPress Trac] #7262: Use Firefox 3.5 native offline cache to add "turbo" functionality

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 27 23:15:38 UTC 2009


#7262: Use Firefox 3.5 native offline cache to add "turbo" functionality
--------------------------+-------------------------------------------------
 Reporter:  mfinkle       |       Owner:  azaozz        
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Optimization  |     Version:                
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------

Comment(by azaozz):

 Replying to [comment:52 miken32]:
 > Would it work to have a hidden iframe load with the manifest attribute
 on the subdocument's html element?

 Unfortunately no. Tried that too but the resources (js, css, etc.) that
 are cached in the iframe are not used in the main window. This is actually
 the largest shortcoming of the HTML 5 implementation: cached resources are
 not used for other pages on the same domain.

 This works good for 'static' web sites but is kind of useless for dynamic
 sites where the same page can be slightly different on every load and the
 number of pages is different depending on what the user is doing.

 For example Gears works in exactly the opposite way: requests for cached
 resources for the same domain are always served from the cache,
 automatically. So once all resources of a web site are stored in the
 offline cache, they are never requested from the server (not even HEAD
 requests) making the site run faster and eliminating useless traffic. Of
 course the resources can be updated when needed through the manifest.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7262#comment:53>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list