eZ Community » Forums » eZ Platform » HTTP cache doesn't be purged on...
expandshrink

HTTP cache doesn't be purged on publish content in legacy - solution.

HTTP cache doesn't be purged on publish content in legacy - solution.

Monday 17 April 2017 4:35:39 pm

Hi, apologise if i chose wrong forum, but i do not see there legacy-bridge.

My solution for community:

https://gist.github.com/kemoc/5c880bfbe4beb28a2bc5e75197027ced

of course it use publish handler in extension 'radek_ezp' so you will need to create this extension and configure content.ini.append.php in it or in your extension create own handler and content.ini.append.php and copy/paste methods to your class.

Unfortunatelly we do not have delete, hide/unhide events in legacy so i do not know how without override legacy core do the same in these situations? Or i do not know about it.

PS: i did it for eZPlatform 1.8.1 or newer with new http cache system (bundle EzSystemsPlatformHttpCacheBundle)

but it also should work for earlier versions of Platform (maybe some modifications needed).

Modified on Monday 17 April 2017 4:54:13 pm by Radek Zadroga

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