I have been searching for this for a while now but did not find a solution. Shopify is serving cached content when app proxy URL is viewed. When I see the same page using the original URL, the content shown is the latest content but when same URL is fetched using proxy URL, it shows cached content.
Example URLs:
Original URL and content: https://collection-swatch-pug.herokuapp.com/csp_v2.js
App proxy URL: https://devstorepro2.myshopify.com/tools/csp/csp_v2.js
Ideally both these URLs should return the same content because the app proxy url is pointing to this original URL. The content served by app proxy URL is not the latest content and cached content is being provided.
Please help me with knowledge about how to clear the app proxy URL cache and serve the latest contents.
Thank you so much in advance.