Tags:
create new tag
view all tags

Feature Proposal: Preventing WebStatistics from growing big

Motivation

The WebStatistics topics keep growing and growing. It's not good to have an ever growing file. And the revision number of a WebStatistics gets larger and larger. This is the case with Main.SiteStatistics as well.

Description and Documentation

If {Stats}{TopicPerYear} is true, the statistics script behaves as follows.

It updates WebStatisticsYYYY where YYYY is the current year instead of WebStatistics. And WebStatistics shows links to WebStatisticsYYYY topics. If RedirectPlugin is installed, access to WebStatistics causes redirect to the latest WebStatisticsYYYY.

The same thing happens with Main.SiteStatistics. statistics updates Main.SiteStatisticsYYYY. Main.SiteStatistics either shows the list of Main.SiteStatisticsYYYY or redirects to the latest Main.SiteStatisticsYYYY.

Examples

Impact

WhatDoesItAffect: Usability

Implementation

-- Contributors: Hideyo Imazu - 2013-06-11

Discussion

Technically accepted by 7 day feedback rule.

I recommend to make this optional. TWiki.org has statistics for a dozen years, with many thousands of revisions, such as Main.WebStatistics. Visually OK, and the version control system can handle it. Having all in one allows one also to create graphs such as OneYearSiteStatistics.

As for spec, the {Stats}{TopicName} configure setting could be enhanced to support 'WebStatistics%DATE%'. I recommend to leave the default just 'WebStatistics'. Consider also {Stats}{SiteStatsTopicName} for site statistics.

-- Peter Thoeny - 2013-06-18

Good point. This needs to be optional. Otherwise, things depending on the fact that one WebStatistics has all stops working when the enhancement is rolled out. I plan to introduce {Stats}{TopicPerYear}. This should cover both WebStatistics and SiteStatistics.

The prime reason why I'm proposing this is that you may have top 100 instead of 5. If you have a lot more lines per month, in 10 years, WebStatistics gets really big. I'm less concerned about the number of revisions.

-- Hideyo Imazu - 2013-06-19

Sounds good.

-- Peter Thoeny - 2013-06-19

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2013-09-19 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.