Last modified: 2009-02-12 22:32:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 17320 - Fix Ploticus-caching param interplay
Fix Ploticus-caching param interplay
Status: CLOSED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Joel Natividad
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-02 18:10 UTC by Joel Natividad
Modified: 2009-02-12 22:32 UTC (History)
0 users

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


Attachments

Description Joel Natividad 2009-02-02 18:10:58 UTC
Three params influence SRF-Ploticus Caching - liveupdating, updatefrequency and $srfgPloticusCacheAgeHours (LocalSettings.php).

Right now, there is a dependency on liveupdating and updatefrequency.  That is, updatefrequency is ignored when liveupdating is false.

This should NOT be the case and they should be independent of each other.

Liveupdating should only trigger using the query result in generating the hashname and nothing else.

Updatefrequency should be used regardless of liveupdating.  It sets how old a plot should be before it is regenerated.

In the case that a user wants a plot to be created once per hour plot SNAPSHOT, liveupdating should be false and updatefrequency should be 3600. (60 x 60 secs).

In the case that a user wants a plot to be created at least once per hour so long as the query results have not changed, liveupdating should be true and updatefrequency should be 3600.

In the case that a user wants a plot to be created ONCE and not updated at all, even if the query results have changed, liveupdating should be false and updatefrequency should be 0.

Regardless, for all three cases, the global setting $srfPloticusCacheAgeHours, if set, will overrirde and purge the cache at the given frequency so long as srfPloticus_cleanCache.php is on cron.
Comment 1 Joel Natividad 2009-02-02 22:13:34 UTC
fixed in changeset 46739 (http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=46739)
Comment 2 Joel Natividad 2009-02-12 22:32:13 UTC
now available in SRF v1.4.2

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


Navigation
Links