Can someone explain why OTRS does caching and whether it can be turned off, and, if so, how? I am having some issues that I believe are related to caching and need more information.
Thanks in advance...Dan.
OTRS Caching [SOLVED]
Moderator: crythias
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
OTRS Caching [SOLVED]
Last edited by dstover on 17 Nov 2014, 18:44, edited 1 time in total.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
Re: OTRS Caching
caching is needed for performance. The only cache which could be shut off is for customer data, but it is not suggested to do so
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS Caching
Which issues do you experience?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: OTRS Caching
I have some subroutines that are doing regular Perl SQL calls to add or modify OTRS data. Sometimes the data then does not appear in the OTRS screens, even though it exists in the database in the correct places. If I add any random Dynamic Field to OTRS through the administrative interface, suddenly the previously missing data fields then show up where they are supposed to. Through research and trial and error, I found that deleting the appropriate cache data at the appropriate places made the data reliably appear. So I was wanting to find out any information I could about caching and what it was used for.
Thanks for your responses...Dan.
Thanks for your responses...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS Caching
Why don't you use the API? http://otrs.perl-services.de/docs/ or delete the caches in your program.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: OTRS Caching
I am deleting the caches in my program and it is working. I just wanted to make sure I wasn't breaking anything else by doing that.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
Re: OTRS Caching
if you always delete all caches (or of a certain type) you will have severe performance issues. just rebuild the caches you need
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com