Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dFactory

    (@dfactory)

    It can be done, but what is the reason you’d like to save totals only? PVC stores tiny bit of data, so even on heavy traffic sites it has no (or very small) impact on performance.

    Thread Starter natostanco

    (@natostanco)

    I am on multisite

    Plugin Author dFactory

    (@dfactory)

    Ok, so you could set purge to 1 day. It would greatly limit number of db entries.

    Other idea: would fiter hook suite you?

    Thread Starter natostanco

    (@natostanco)

    u mean filtering the entries before they are saved?

    Plugin Author dFactory

    (@dfactory)

    no. filtering the periods stored in db.

    this would limit some plugin functionality, like yearly, monthly or weekly post wievs – depending on what you save in the db.

    but i just looked deeper into PVC code – it’s not that simple. you’d probably had to disable purge (otherwise it will try to remove the data that is not available)

    generally: I wouldn’t do that

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Allow the user to choose which type to save’ is closed to new replies.