A space to discuss online store customization, theme development, and Liquid templating.
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.
Solved! Go to the solution
This is an accepted solution.
Hey @mandeepsandhu91,
I just checked the app settings - /tools/csp doesn't appear to point to collection-swtahc-pug.herokapp.com
Let me know if I'm missing something.
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hey @mandeepsandhu91,
I just checked the app settings - /tools/csp doesn't appear to point to collection-swtahc-pug.herokapp.com
Let me know if I'm missing something.
Scott | Developer Advocate @ Shopify
Thank you so much @SBD_ . That was so stupid of me. I was always looking in the wrong direction and you saved the day.
We recently changed app servers and I thought that proxy URL would be something that would automatically update with the change of app URL in the partner settings. I was wrong. I checked the proxy URL settings in my partner dashboard and it was pointing to our old server which is still running because we have other stuff hosted on it.
Thank you for your help again and wish you a merry Christmas. 🙂