https://bugzilla.wikimedia.org/show_bug.cgi?id=21720
Summary: Serious performance issue- Inline queires do not update
if caching is used.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
Inline queries do not update after a user submits a form if you have caching
enabled. I received two suggestions to solve this. Either turn off caching or
get users to manually trigger a purge by adding ?action=purge onto the URL and
refreshing their browser.
Neither of these are practical. Without caching performance drops
significantly. Expecting users to manually muck about with URL's is not going
to be accepted.
A workaround I've found for this is to use the MagicNoCache extension. I then
put __NOCACHE__ into my templates, so that when the form is submitted
and it then displays the template the update seems to be triggered and
subsequent inline queries show the updated data.
However, this is not ideal as a large site is going to suffer from
effectively disabling the cache for many pages. The MagicNoCache code
looks quite simple. It makes one MW call. Could it not be incorporated
into the SemanticForms Save page functionality? Would this work? It
would be great if it did. Naturally, wiki's tend to be read much more often
than
written, so obviously it would be good if the cache loss penalty was
taken at write time rather than every read.
I posted this on the mailing list, but did not receive a reply. However, it is
a fundamental issue (especially for larger sites) that won't go away by itself!
--
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