File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 20
20
* @license BSD, see LICENSE_FASTLY_CDN.txt
21
21
*/
22
22
-->
23
- <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Event/etc/events.xsd" >
23
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
24
+ xsi : noNamespaceSchemaLocation =" urn:magento:framework:Event/etc/events.xsd" >
25
+ <event name =" clean_cache_after_reindex" >
26
+ <observer name =" flush_fastly_cdn" instance =" Fastly\Cdn\Observer\InvalidateVarnishObserver" />
27
+ </event >
24
28
<event name =" clean_cache_by_tags" >
25
- <observer name =" invalidate_varnish " instance =" Fastly\Cdn\Observer\InvalidateVarnishObserver" />
29
+ <observer name =" flush_fastly_cdn " instance =" Fastly\Cdn\Observer\InvalidateVarnishObserver" />
26
30
</event >
27
31
<event name =" adminhtml_cache_flush_system" >
28
32
<observer name =" flush_fastly_cdn" instance =" Fastly\Cdn\Observer\FlushAllCacheObserver" />
63
67
<event name =" controller_action_postdispatch_adminhtml_system_currencysymbol_save" >
64
68
<observer name =" flush_fastly_cdn" instance =" Fastly\Cdn\Observer\InvalidateVarnishObserver" />
65
69
</event >
66
- </config >
70
+ </config >
Original file line number Diff line number Diff line change 24
24
<module name =" Fastly_Cdn" setup_version =" 1.0.10" >
25
25
<sequence >
26
26
<module name =" Magento_Store" />
27
+ <module name =" Magento_PageCache" />
28
+ <module name =" Magento_CacheInvalidate" />
27
29
</sequence >
28
30
</module >
29
31
</config >
You can’t perform that action at this time.
0 commit comments