huguesalary / Magento-Varnish

This Magento extension provides a Real Full Page Caching for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes
Other
95 stars 18 forks source link

Event triggering cache ban #4

Closed huguesalary closed 7 years ago

huguesalary commented 12 years ago

Create a new parameter in the layout file that allows to specify which event will trigger a cache ban.

In the current implementation you have to declare your own Event Observers and then write the code that will actually ban the cache. This is a problem as it makes your modules' php code highly coupled with the Varnish module.