• Resolved Charles

    (@charlesrodmell)


    Hi. I run unexpected filechange checkers on my sites, but since installing Koko, they all keep sending me warnings about “pageviews.php” being added or modified. I can go through them all and set it to ignore that file, but I’m wondering if it’s really necessary for that file to be constantly changing?

    Keep up the good work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hello,

    The pageviews.php file is used for performance reasons.

    Whenever your website receives a visitor, the plugin will append a few bytes of data to this file in order to not have to perform an expensive database query for every pageload. Every minute, a background job runs that processes the temporary data from this file and updates your database in bulk. This is much faster than writing directly to your database for every pageview your website receives and helps your website stay as fast as possible.

    I hope that explains. Good luck!

    Thread Starter Charles

    (@charlesrodmell)

    Ok makes perfect sense. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.