Hi there, cache is semi enabled. Query cache is disabled, data cache enabled.
The cache was disabled since the Asterisk integration. I started a discussion about the db cache some time ago: http://markmail.org/message/5mw6cr4ihpkxcsfi You can't disable the cache for a certain query from my point of view, you can only disable it for certain entities. There is an example mentioned about howto disable certain entities from caching in my post. The current status is: Cache is semi enabled. Why? Because nobody had the time yet to complete it really. One open question is for example: What happens if you disable the cache for a certain entity but the entity is part of another entity that is cached. Or in other words: How will cascading entities that have 1:n relations behave if you disable the cache for some of them. So first we would need to identify the current tables/entities that need write-access by a 3th party tool (Asterisk is the only 3th party tool as far as I know). Then to check if those are used in any other entity or "Joined" in any other query. Then we could disable the cache for those entities and enable query and data cache for the rest and somebody with a running Asterisk integration could do a check if the caching works as expected. Sebastian 2013/1/6 Maxim Solodovnik <[email protected]> > Afaik cache is already enabled. All entities should be examined 1 by 1 and > cache should be disabled manually for the certain queries > On Jan 5, 2013 1:00 AM, "Alexander Petrov" <[email protected]> wrote: > > > Ok. I'm waiting for Sebastian answer too. > > > > пятница, 4 января 2013 г. пользователь Alexei Fedotov писал: > > > > > Assuming Sebastian mentioned Asterisk contacts, > > > my take on this is the following: contact import should not use direct > > > database access, and should use some standard open contact exchange > > > API instead. > > > > > > Please don't implement a custom cache. Use OpenJPA. > > > > > > -- > > > With best regards / с наилучшими пожеланиями, > > > Alexei Fedotov / Алексей Федотов, > > > http://dataved.ru/ > > > +7 916 562 8095 > > > > > > > > > On Thu, Jan 3, 2013 at 8:30 PM, Alexander Petrov <[email protected] > > <javascript:;>> > > > wrote: > > > > Hello, i find another interesting task for me. > > > > https://issues.apache.org/jira/browse/OPENMEETINGS-465 > > > > I have one question what kind of cache is needed? Data cache, query > > cache > > > > or query compilation cache? Maybe some custom cache? > > > > > > -- Sebastian Wagner https://twitter.com/#!/dead_lock http://www.webbase-design.de http://www.wagner-sebastian.com [email protected]
