![]() |
Cache currently online users number
Hello,
Is there any way or an exiting hack to cache the number of currently online users in the what's going on box, and display the cached number instead of running the count query over and over again? This count query seems to take and lot of time on big forums. Thanks in advance =) |
A quick query to count the number of rows should not take long. You could use datastore if you want (search in the articles) and then do the count only every 5 minutes (or 10, or whatever), but I don't think it will make much difference on your forum.
|
All times are GMT. The time now is 04:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|