← Back to team overview

mahara-contributors team mailing list archive

[Bug 1969532] [NEW] Update page visits count in db each time a page is viewed

 

Public bug reported:

Currently, the view.log file in the dataroot gets updated each time a
page is viewed, but this count is only updated in the db once a day via
the cron_site_data_daily() function. This was set up 12 years ago when
it was prudent to reduce the number of db writes. However, since dbs and
machines are much faster now, it makes sense to have this view count
updated each time the page is viewed.

We would like to change this so that the db is updated every time a page
is viewed i.e. view.visits and this count to be displayed on the page.

** Affects: mahara
     Importance: Wishlist
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969532

Title:
  Update page visits count in db each time a page is viewed

Status in Mahara:
  New

Bug description:
  Currently, the view.log file in the dataroot gets updated each time a
  page is viewed, but this count is only updated in the db once a day
  via the cron_site_data_daily() function. This was set up 12 years ago
  when it was prudent to reduce the number of db writes. However, since
  dbs and machines are much faster now, it makes sense to have this view
  count updated each time the page is viewed.

  We would like to change this so that the db is updated every time a
  page is viewed i.e. view.visits and this count to be displayed on the
  page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969532/+subscriptions



Follow ups