If user add new blog, it does NOT count in statistic on frontpage. Still shows 0 blogs but there is 1 blog..
If user add new blog, it does NOT count in statistic on frontpage. Still shows 0 blogs but there is 1 blog.. |
Problem Verified on Boonex demo site. Site showed 1 blog in statistic. Now I Registered as new user, added new blog. But Statistics shows still only 1 blog but now there are two blogs so counter in statistic certainly NOT work !!!! Can please somebody add this to trac .. thx MAybe will be worth test other counters as maybe more of them works wrong.. |
sites also do not count in statistic.. didnt tried other like articles etc... but maybe they also do not count properly.. |
Check again. I see one block and one site in the stats. Of course you will have to catch it before the site resets. https://www.deanbassett.com |
Bummer. It already reset, and i see that the ones that are there are not yours anyway. https://www.deanbassett.com |
There. I disabled the cache on the demo site for the site stats block which defaults to 3600 seconds. Then i posted a block. It showed up in the stats block without a problem. https://www.deanbassett.com |
It was verified before demo site reset. I added for example 3 blogs and 4 sites but statistic showed still 1 blog and 1 site but member counter shosed correct amount of members including me as newly registered straight after page refresh (ctrl+f5). But maybe its really cache problem - how tro set cache properly for statistic so when page reload it actually refresh ? |
ahaa so really cache. Thx deano for verifying that. Where to set cache so it dont affect statistic block ? I think cache should be set by default way so it doesnt affect stat block ... |
Page builders. https://www.deanbassett.com |
It's cached by default because that block has to query the database for each of the items in that block. Caching it reduces load on the server. It was done for a reason even if you don't like it. https://www.deanbassett.com |
hmm I see point but than it should be somehow reworked as I think if stats will show not updated informations than certainly its not good as in stat block everyone expect actually updated informations - if user see in stat that there are 2 blogs but in real there will be already 100 blogs than whole stat block is practically useless. I undeeratand your point with server load and cache but than how to actually do it so stat will be updated so user see real counts but also server load will be okay ? |
Thing is. On a really busy site you will not notice it as much. The block gets automatically updated when the cache time of 3600 seconds expires. On a site where the numbers are in the 100's then it will not be a noticeable. https://www.deanbassett.com |
Bummer. It already reset, Yes, the reset period is too short; makes it hard sometimes to test things on the demo site. Geeks, making the world a better place |
The block gets automatically updated when the cache time of 3600 seconds expires.
Is that in seconds? That means 3600 sec(1min/60 sec) = 60 mins. So that blocks refreshes every hour. Geeks, making the world a better place |
The block gets automatically updated when the cache time of 3600 seconds expires.
Is that in seconds? That means 3600 sec(1min/60 sec) = 60 mins. So that blocks refreshes every hour. https://www.deanbassett.com |