https://bugzilla.wikimedia.org/show_bug.cgi?id=25744
--- Comment #5 from Roan Kattouw <[email protected]> 2011-03-27 18:21:29 UTC --- (In reply to comment #4) > > That's not a proper fix, as it will make invalidations (updates to JS/CSS) > > take unreasonably long. > > Well, if they can change, why are they being sent without a version or date in > the first place? :-) Because the version parameter would be embedded in HTML and be cached in Squid otherwise. The version parameter has two uses. First, its presence indicates that the request can be cached for 30 days (5 minutes if absent). Second, changing its value will cause a cache miss (since the URL is different). The idea here is that the startup module lists the last-changed timestamps for each module, which we then use to build the versioned URLs. This way, the startup module is refreshed every 5 minutes and the other modules are only refreshed when they've changed (or after 30 days). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
