Magento2 – Cache Invalidation Questions

cachefull-page-cachemagento2

If FPC is enabled and you perform some admin activities, the one or more cache is likely to be invalidated.

  • What's the effect of this cache invalidation in performance?

  • Can I safely disable the cache invalidation method? We are refreshing cache daily at mid-night btw.

Best Answer

What's the effect of this cache invalidation in performance?

There is no any effect on performances. It's just an indicator which says that something is changed, and cached data doesn't reflect the current state.

Can I safely disable the cache invalidation method? We are refreshing cache daily at mid-night btw.

You can, but there is no way to do it from Magento2 itself out-of-the-box; you'll have to disable observers in vendor/magento/module-page-cache, and vendor/magento/module-cache-invalidate for varnish.

Related Topic