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

           Summary: Fix Ploticus-caching param interplay
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: SemanticResultFormats
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
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

Reply via email to