This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Persistence cache and SmartCacheClear
expandshrink

Persistence cache and SmartCacheClear

Persistence cache and SmartCacheClear

Tuesday 06 May 2014 4:23:41 pm

Hi,

I would like to know if the PersistenceCachePurger takes care of the SmartCacheClear rules defined in the viewcache.ini?

I currently have an issue, I would like to refresh the cache of a parent element when a node is modified but it is not working...

I set the rule "ClearCacheMethod[]=parent" in the viewcache.ini but it doesn't seem to have any effect.

I'm working with eZ 5.2 in a dev environment (so there is no http cache).

My persistence cache configuration is the following:

stash:    
    caches:        
        default:            
            handlers:                
                - FileSystem            
            inMemory: true            
            registerDoctrineAdapter: false

The "relating" rule seems to be working because my content is shown in another page with an object relation an the cache is well refreshed for this page.

Thanks for your help.

Modified on Tuesday 06 May 2014 4:24:58 pm by Nicolas Gommenginger

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from