Last modified: 2011-09-05 09:28:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32685, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30685 - Clear cache of javascript tools on login
Clear cache of javascript tools on login
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-01 16:36 UTC by Mark A. Hershberger
Modified: 2011-09-05 09:28 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark A. Hershberger 2011-09-01 16:36:49 UTC
Split off from bug 29798 comment 19:

Provide an option (or reminder, with directions) to purge the browser cache on login.

From that comment:

> Also is there a way to force a cache purge upon login? (May be a check box at
> the screen which could automatically purge?) Something like this would help in
> general and especially js tool upgrades
Comment 1 Roan Kattouw 2011-09-01 16:40:26 UTC
?!?!?

If a tool is ResourceLoader-ified, its cache should update automatically after five minutes.
Comment 2 Krinkle 2011-09-05 00:47:04 UTC
Yeah, caching is one of the nice things in ResourceLoader. It's no longer hardcached for 31 days (unless user clears browser cache), but it's automagically cached as long as it's needed and if a change appears in any component of a module, it's change propagates to all users within 5 minutes.

This is one of the side-effects for gadgets that haven't been ported to use ResourceLoader yet. Marking INVALID, this bug is fixed by the introduction of ResourceLoader. If there are problems with porting a gadget to ResourceLoader please report bugs here on BugZilla or ask for help on MediaWiki.org [1]


[1] http://www.mediawiki.org/wiki/Talk:ResourceLoader/Migration_guide_(users)
Comment 3 Srikanth Logic 2011-09-05 09:28:38 UTC
(In reply to comment #1)
> ?!?!?
> 
> If a tool is ResourceLoader-ified, its cache should update automatically after
> five minutes.

Thanks, I didnt know this.

Problem is awareness of ResourceLoader among smaller wiki admins. I come from Tamil wiki(hardly 3-4 developers who occasionally visit and dont necessarily keep track of mw development.) where there are huge gaps technically. Probably a Wikimailer to all sysops to convert the gadgets / scripts they use to use ResourceLoader might atleast create awareness and they could then take help of local developers to migrate the tools.

Even a quarterly update mailer to language wiki sysops might help. I know atleast 10 language wikis which use older HotCat for instance. Tamil wiki itself upgraded only recently.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links