Top_Stat cached data

Download and support for PhpBB3 Top Stats Mod
Locked
User avatar
Simon
BBCoder I
BBCoder I
Posts: 4
Joined: 12 Mar 2010, 12:35

Top_Stat cached data

Post by Simon »

Hello Stoker ;)

I saw you cached all data in your mod...
I think cached data should serve to limit sql querries...and if user do not have the same right to read forum...your cache is constantly rewritten.
I don't know if it's interresting...i think it's better to cached only data who are absolutely common for all user.
(I hope you understand my english)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Top_Stat cached data

Post by Stoker »

Hello Simon, nice to hear from you again :thumb:

About the caching thing I was convinced that it was cached no matter permissions.
How do I make a cache file for each permission?
Board rules! No PM support
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

Top_Stat cached data

Post by doktornotor »

I think the whole caching thing is a whole lot more trouble that it's worth. :P
Support requests via PM go straight to /dev/null!
User avatar
Simon
BBCoder I
BBCoder I
Posts: 4
Joined: 12 Mar 2010, 12:35

Top_Stat cached data

Post by Simon »

Hello

I take a look to your code...the cache is not alwys rewrite, but i think the users who have no acces to a forum or a topic can see them in your mod ex: Most viewed topics or // Most active forums
it's better if it's not visible....but you can't use cache, like // Recent Active Topics.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Top_Stat cached data

Post by Stoker »

Hi Simon,

In version 1.0.8 I have removed cache for most viewed, most replied and most active forums.
Thanks for reporting the bug :thumb:
Board rules! No PM support
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Top_Stat cached data

Post by Blackwolf »

Thanks Simon.
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
Locked