Skip to main content
sharsha5545
Participant
January 8, 2020
Answered

Permission issue to access /dispatcher/invalidate.cache

  • January 8, 2020
  • 1 reply
  • 367 views
Problem : Pages that contain Experience-Fragment is getting cached after publishing the Experience-fragment
Observation :
  1. Create a Experience Fragment, add this fragment to any content page.
  2. Now, make any content changes in the fragment and publish the fragment, but not the page.
Two scenarios after publishing the fragment
- Individually Experience-Fragment gets updated both in publish environment and dispatcher
- Page that contains Fragment gets updated in publish environment but not in the dispatcher level
Solution :
    As there are some business restrictions we are trying to clear the cache of the pages that contain the fragment through code.-
 - We are trying to make post call to http://host/dispatcher/invalidate.cache and sending our
page path as request header to the post call
- We are following the process as suggested in this Documentation
https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/configuring/page-invalidate.html
The issue we are facing is when we make the post call to the URL, we are getting permission issue, 403 Error. Is there any way to give permissions to /dispatcher/invalidate.cache
 
 
This topic has been closed for replies.
Correct answer Jeffrey_A_Wright

Sharsha5545, please repost your question in the Adobe Experience Manager forums at https://experienceleaguecommunities.adobe.com/t5/Adobe-Experience-Manager/ct-p/adobe-experience-manager-community.

1 reply

Jeffrey_A_Wright
Jeffrey_A_WrightCorrect answer
Legend
January 8, 2020

Sharsha5545, please repost your question in the Adobe Experience Manager forums at https://experienceleaguecommunities.adobe.com/t5/Adobe-Experience-Manager/ct-p/adobe-experience-manager-community.