[Labs-l] beta: js/css were not up to date

Antoine Musso hashar+wmf at free.fr
Mon Jul 8 08:46:33 UTC 2013


Hello,

On the beta cluster, I found out last week that the resource loader url
(load.php) was pointing to the text cache instead of bits:

Ie:
  en.wikipedia.beta.wmflabs.org/w/load.php
Instead of:
  bits.beta.wmflabs.org/en.wikipedia.beta.wmflabs.org/w/load.php


When resourceloader cache is unvalidated, there is no purge sent to the
text cache so we 'might?' had an old Javascript version being delivered.
 That seems to have caused a lot of Javascript errors other the last
couple week.

I have deployed a change on beta a few minutes ago that points load.php
to bits.beta.wmflabs.org : https://gerrit.wikimedia.org/r/#/c/70322/ .
Bits would check with the Apache backends whether the version is up to
date, and invalidate it by itself.


Some related bug examples:

 https://bugzilla.wikimedia.org/show_bug.cgi?id=50623
 "Entering AFTv5 feedback causes error"

 https://bugzilla.wikimedia.org/show_bug.cgi?id=50622
 "Special:NewPagesFeed error"

And most probably other untracked change.

cheers,

-- 
Antoine "hashar" Musso




More information about the Labs-l mailing list