I have some important details to add.
I just figured out that there are two layers of caching. One for Perl code and one for static stat data (the data retrieved from DB).
I also just noticed that I can disable caching for DB data right from OTRS's STATS GUI for a certain stat, including static ones. So that's what I want for production, that part of the problem is solved (I hope).
For development, I need to disable caching of Perl code because right now I don't see the effect of any change I make in StateAction.pm's code without restarting Apache. Anyone knows how I can do that?
/bogdan
Hi,
I'm figuring out static stats by tinkering with code in StateAction.pm.
Problem is, to see any change in action I first need to run otrs.DeleteCache.pl and then restart Apache (don't know if they both are required but it's a way I found to be working so I'm sticking with it for now)
OTRS's manual says caching can be disable but I haven't figured out how to do it or - important - if it can be done just for static stats. http://doc.otrs.org/3.1/en/html/stats-managing-the-stats-module-by-the-sysadmin.html#stats-caching
Beside wishing this for development, having caching disabled in production - just for static stats - would be highly desirable in my situation.
Can anyone help with indications on how to disable caching?
Thanks,
Bogdan