Skip to content

Auto clearing cache after saving data

Nick Khaetsky requested to merge github/fork/TarasMykytka/auto-clearing into master

Created by: TarasMykytka

Adds posibility to enable auto clearing cache after saving next type of data: CMS Page, Rainlab Static Page & Menu, Raiblab Blog Post & Category. After saving pages - cache clears by url. After saving menu - clears whole cache. For posts and categories a bit interesting, you should setup in plugin settings url patterns for post page, category and so on, and after saving all of them will be cleared, if only post published date in future - cache will be cleared on time of publication of post.

This PR based on my previous PR. Hope you'll like it and add it to main version because I really lacked this functionality.

Merge request reports