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

WordPress Trac wp-trac at lists.automattic.com
Mon May 25 00:00:19 GMT 2009


#7262: Use Firefox 3.5 native offline cache to add "turbo" functionality
--------------------------+-------------------------------------------------
 Reporter:  mfinkle       |       Owner:  azaozz               
     Type:  enhancement   |      Status:  new                  
 Priority:  high          |   Milestone:  2.8                  
Component:  Optimization  |     Version:                       
 Severity:  normal        |    Keywords:  has-patch 2nd-opinion
--------------------------+-------------------------------------------------

Comment(by azaozz):

 Managed to get it to (mostly) work with two exceptions:

 1. No matter how the manifest is set, all html files containing a link to
 it (all php output) are always cached. For example when editing a post,
 moderating comments, changing screen options, the changes are saved but
 the page always goes back to the previous state after reload.

 2. The workflow of our (not-so-standard) setup is to load the manifest and
 cache the non-html resources (js, css, images..) linked in there, then use
 these cached files for all html pages loaded from the same domain when
 they request any of these resources, but not cache the actual html pages
 as they usually change very frequently. This happens automatically in
 Gears but seems impossible here.

 We seems to be missing the
 {{{
 INTERCEPT: list of [urlnamespaces, namespace-handler url]
 }}}
 section in the manifest and perhaps the
 {{{
 AUTOCACHE: list of [urlnamespaces, namespace-handler url]
 }}}
 section too.

 If we are able to use the `INTERCEPT:` section, # 1 above would be solved
 too as we could load a separate file containing the link to the manifest
 and let it be cached, while all other html files would use the resources
 from this cache without being cached. This would still need some
 workarounds to ensure that the manifest is checked for changes frequently.

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


More information about the wp-trac mailing list