Redirect to document not updating

Hey everyone, please let me know if this is the wrong location for this question.

So we’re having a problem with URL redirects -

Basically we have a QR code we supply to customers which redirects to a PDF document containing information for the customer that is only relevant for 1 week. Each week, we upload a new PDF document.

The hope is that each week, the customer can scan the same QR code and have it redirect to the most recent PDF. However, once someone scans the code, any future redirects just take it to the old PDF (whichever PDF was the most recent when the customer originally scanned the code).

We are thinking this is some kind of caching/cookie issue, but are currently unsure as to how to fix this. Any suggestions are much appreciated.

Thank you!

Yes. You’re right. 301s mean “that the resource (page) is moved permanently to a new location. The client/browser should not attempt to request the original location but use the new location from now on.”

Is the redirect done through Shopify? Shopify always does 301s. I don’t know of a way to set the cache control policy of such in Shopify.

My suggestion is to use dedicated link that isn’t associated with Shopify so that you can control the cache or set a 302 on it. If it’s a 302, the browser will continue to try access the original URL, which will then redirect to the latest verison.

Ok thank you, I will try to use a third party in that case, what a shame that Shopify doesn’t support cache control in this manner. Thank you for your help!