[buddypress-trac] [BuddyPress] #3773: Dynamic Cache Busting

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Nov 27 19:32:17 UTC 2011


#3773: Dynamic Cache Busting
-------------------------+-----------------------------
 Reporter:  hnla         |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Theme        |    Version:  1.5.1
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 I use a few techniques for working file cache headers or file query
 strings for versioning, looking at bp enqueue styles while working on new
 bp child theme  I decided to add a variation of one for getlastmod()on
 files to replace the cache busting version variable.

 I've added it to bp functions for the fun of it and attached as a patch.

 It simply adds into the WP register function position for versioning
 string a function that passes the file name through to be parsed though
 php filemtime() function and date() returning a last moded string.

 Added it to all stylesheets bar the child one as wasn't sure without
 testing what to pass through.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3773>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list