[wp-meta] [Making WordPress.org] #3337: Showcase loading different scripts

Making WordPress.org noreply at wordpress.org
Fri Dec 15 06:35:01 UTC 2017


#3337: Showcase loading different scripts
----------------------+---------------------
 Reporter:  xkon      |       Owner:  dd32
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  Showcase  |  Resolution:  fixed
 Keywords:            |
----------------------+---------------------
Changes (by dd32):

 * keywords:  2nd-opinion needs-patch =>


Comment:

 Was just a cache race condition - the JS change occurred in the same
 deploy as the cache buster bump, which caused the old script to get cached
 with the new version number on one of the load balancers:

 {{{
 $ for i in {249..250}; do curl 'https://wordpress.org/showcase/wp-
 content/themes/pub/wporg-showcase/js/scripts.js?ver=20171214' --resolve
 wordpress.org:443:66.155.40.$i --silent | md5sum; done
 a652222d9fc0fdd9e5aefb44e4ed5525  -
 8e9cff3379971d38ac0f2713c67ff57e  -

 $ svn ci && deploy ...

 $ for i in {249..250}; do curl 'https://wordpress.org/showcase/wp-
 content/themes/pub/wporg-showcase/js/scripts.js?ver=20171214a' --resolve
 wordpress.org:443:66.155.40.$i --silent | md5sum; done
 8e9cff3379971d38ac0f2713c67ff57e  -
 8e9cff3379971d38ac0f2713c67ff57e  -
 }}}

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3337#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list