Page 1 of 1

Top_Stat cached data

Posted: 06 Dec 2011, 15:44
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)

Top_Stat cached data

Posted: 06 Dec 2011, 16:19
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?

Top_Stat cached data

Posted: 06 Dec 2011, 17:57
by doktornotor
I think the whole caching thing is a whole lot more trouble that it's worth. :P

Top_Stat cached data

Posted: 06 Dec 2011, 22:00
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.

Top_Stat cached data

Posted: 06 Dec 2011, 22:45
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:

Top_Stat cached data

Posted: 07 Dec 2011, 11:40
by Blackwolf
Thanks Simon.