Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
451 stars 597 forks source link

Automatically clear XF reference pages cache when XF is activated. #2114

Closed JiangLong2019 closed 4 years ago

JiangLong2019 commented 4 years ago

Required Information

Expected Behavior

When XF is activated, XF reference pages cache are cleared automatically.

Actual Behavior

Hi, do we have any approach to handle the following scenario?

In a project, the customer has an XF which is used in multiple pages. When XF is activated, the reference pages shown old contents until dispatcher cache was invalided. Even though we set the dispatcher TTL for the whole site, but the old contents are shown during the TTL interval time.

Steps to Reproduce

Links

JiangLong2019 commented 4 years ago

Checked on AEM 6.5 + SP2, when XF is activated the reference pages cache got flushed. Close ticket.