Last modified: 2009-02-12 22:32:13 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 T19320, the corresponding Phabricator task for complete and up-to-date bug report information.
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