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

Daniel Renfro <bluecu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bluecu...@gmail.com

--- Comment #3 from Daniel Renfro <bluecu...@gmail.com> 2012-10-10 17:18:45 UTC 
---
I disagree with Brian (Bawolff) slightly, 

The $wgCategoryTreeDisableCache might have implications I'm not aware of, but
this bug is due to the caching in CategoryTree::ajax(), which creates and uses
an instance of AjaxResponse. 

The CategoryTree::ajax() method doesn't do stringent enough testing for
invalidation, it merely (hardcodes) the expiry as 86400 seconds (24 hours.) I
understand the reasoning behind this -- to cache the responses of the ajax
calls and make them fast/lightweight. However, when the category-structure
changes, the ajax response doesn't get invalidated, leading to an error in the
results.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to