Asset caching time on Shopify servers

When editing a custom file .css.liquidthat is not automatically configured by Shopify and cannot be placed on the page (since it does not have access to the Shopify Liquid template system), I believe that it may take hours for a CDN to start serving a new version of the specified file .css.liquid.

In the future, how can I shorten this waiting time? Currently, I think what is happening:

  • Most URL-addresses of resources to them by adding some number: path/to/filename?270. It may happen that this number is intended to represent the last-time file, version number, or other flag indicating the maintenance of the file. If so, then I can simply create a template to capture this information myself (although I prefer not to take an extra step.

  • The caching time of the CDN servers is long and will not re-publish the new file view until the cache data has expired. If so, I can't help it.

Please let me know if this is one of the above situations, or if this is something else.

+5
source share
1 answer

I had success with re-saving the layout file that calls the .css.liquid file.

: -, . .

, , css.

0

All Articles