Jump to content

Page Views Counter


richiejones24

Recommended Posts

Nope. Just make sure to optimize your database so it doesn't slow your site down from the queries and you should be good. There is another option, which is offloading that to something like Google Anayltics, and just let them take care of it. But if you want to be able to query it and show it to the visitors, nope there is not a better method.

Link to comment
Share on other sites

This seems very resource intensive, is there a better way to record statistics??

2 people answered, I'll be the 3-d men :)

 

What could be another way from your point of veiw? In any case you need to save this info anywhere on a disk. In any case it will be a file! But if you use a singe file you have to care of dobble-access to a file at one time. From the other hand, if you use MySQL or any other DB, that DB is carring about it. Because DB uses files also but it controls access.

In other words... Let DB to work for you. Like you do it now.

 

"Just make sure to optimize your database" ©

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.