Outdated Server cached metafield values shown on Order Status page

Topic summary

  • Main issue: The Order Status (Thank You) page shows stale metafield values for Orders and Products, despite recent updates.

  • Context: Values are rendered via Liquid added to Checkout > Additional Scripts. Metafields are custom data fields (e.g., single-line text) tied to orders/products.

  • Evidence against client-side caching: Clearing browser cache and using Incognito reflect label text changes immediately, but the metafield values remain old. This indicates the problem isn’t a browser cache issue.

  • Observations: In the Orders admin, the current metafield value appears correctly. However, opening “More Actions → View Order Status Page” displays an older (sometimes blank) value. Another participant confirms seeing the same behavior.

  • Latest finding: Further testing suggests a server-side cache of metafield data lasting about 90 minutes before updating.

  • Impact: Customers may see outdated status information on the Thank You page.

  • Status/open questions: No workaround or fix identified. The thread suspects Shopify server-side caching. The key unanswered question is how to force refresh or bypass the cache so the page shows current metafield values.

Summarized with AI on January 18. AI used: gpt-5.

I am working on updating the Thank You page (pasting liquid code to the “Additional Scripts” section of the Checkout settings).

I am displaying some metafield (Single line text) values from the Order and Products to provide up-to-date status for the customer.
At first it looked like the Order metafield did not display at all, but later it did, but with an old value. I found the same case in other metafields.

This is NOT a browser cache issue. I have loaded the page after clearing the cache and also in Incognito mode.

I can also change the text of the labels and see the label change in the browser, but still see OLD values for the metadata fields.

If I go to the orders tab, I can see the correct value form my Order metafield. But then, if I choose More Actions->View Order Status Page, the Order Status page shows an old value (which may be blank).

It appears Shopify is not properly clearing some server-side cache of metafield values.

How can I get the Order Status page to correctly show the current values of the metafields?

I am also seeing this

Further testing shows the data is cached for ~90 minutes.