[wp-trac] [WordPress Trac] #13562: Version the image files used in our CSS files

WordPress Trac wp-trac at lists.automattic.com
Wed May 26 23:48:24 UTC 2010


#13562: Version the image files used in our CSS files
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:     
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Administration  |     Version:  3.0
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------

Comment(by nacin):

 Replying to [comment:2 azaozz]:
 > I seem to remember ''something'' having problems with query strings in
 CSS URLs, but can't find what ''it'' was now :)

 Follow-up conversation between Mark and I:
  * nacin: Mark, I wonder if versioning might mess with Gears?
  * MarkJaquith: in what way?
  * MarkJaquith: oh, like it won't match?
  * nacin: I was just brainstorming what Andrew may have been thinking of.
 The only thing I could think of was Gears having files without query
 strings in the manifest but with them in the CSS files.
  * MarkJaquith: I think you're right. Because it's done over HTTP, and the
 spec calls them URLs, either absolute or relative to manifest file. It
 could be /get-image.php?id=123 for all  Gears knows.
  * MarkJaquith: Oz may be right — only foolproof way is to bump the
 filename itself. Could do it based on which ones have changed since last
 release.
  * nacin: I wonder if the manifest could take version numbers.
  * MarkJaquith: yeah, some of them are versioned via TinyMCE
  * nacin: Or we say begone to Gears all together. I believe the idea was
 to only continue to support the manifest if it didn't cause more work. The
 UI is entirely gone.
  * MarkJaquith: Oh, duh.
  * MarkJaquith: http://code.google.com/apis/gears/api_localserver.html
 Search for ignoreQuery
  * MarkJaquith: We can just turn that flag on for all the other images in
 the manifest.
  * nacin: Sounds sane.
  * MarkJaquith: Pass it in the $wp_version

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


More information about the wp-trac mailing list