cached metafields

cached metafields

Johannes_Hodde1
Tourist
51 0 2

Hi,

I noticed that since yesterday metafields, that are updated or created via the API, don't show up on the storefront unless a change to the theme is made (like modifying a snippet). Has the caching behavior changed in regards to the metafields?

Thanks!

Replies 3 (3)

Jason
Shopify Partner
11206 226 2311

Saved a few on this end and it updated on the public side just fine. Didn't need to modify an asset to release the cache.

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★

Johannes_Hodde1
Tourist
51 0 2

Hi Jason,

Thanks for the reply. That's odd. Just tried changing a metafield using the Metafields Edtitor. {{ product.metafields.foo.bar }} doesn't reflect the change unless I force a re-cache.

Johannes_Hodde1
Tourist
51 0 2

Ok, seems to work again. Still wonder what might have caused this.