https://bugzilla.wikimedia.org/show_bug.cgi?id=44570

--- Comment #20 from Jesús Martínez Novo (Ciencia Al Poder) 
<[email protected]> ---
Maybe a solution would be to change the way we're dealing with versioning.
Instead of creating new directories for each wmfbranch, place all of them in
the same (just upgrade over it) and on all links to it (images, scripts, all
static content) use a query string that differentiates each version, like for
example:

/static/skins/vector/images/search-ltr.png?1.21wmf1

Then the server cache could store it for a very long time, and whenever a new
version is made, change the query string so it forces a new entry on the cache.
If that query string is problematic (because of the dot, may be interpreted as
a file extension) just use the same schema and make all of them point to the
same directory as Bawolff suggests.

But then we could have a problem if not all wikis use the same wmfbranch and we
need to keep two different versions accessible at the same time in case the
server cache is cleared up. I'm not familiar about how Wikimedia is doing the
upgrade of all wikis. All upgrade at once? By groups? One by one? Maybe
creating two or more groups of static content could deal with that
(bits1.wikimedia.org, bits2.wikimedia.org, etc).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to