• Resolved WebCodePoet

    (@senjoralfonso)


    Yesterday I updated a js file from 4.6 to 5.3. Since this, I have any numbers of time clicked “Clear Cache” on shift CDN dashboard and in the plugin itself, but it is still the old file that is delivered (4.6). Is this a known behavior sometimes? Should I just wait? Should I set up a new layer?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WebCodePoet

    (@senjoralfonso)

    Thank you for your great support in the last gone 5 days!

    Plugin Author shift8

    (@shift8)

    Hello!

    Apologies for the delay in response. The CDN leverages browser caching as well.

    Do you know offhand if the JS file had a version query string indicating the version? For example file.js?v=4.6. If this file is loaded by your theme you could wp_enqueue_style with a version defined in this function call.

    Defining a version will tell wordpress to add this query string which, for the CDN, will treat it as a new file and not cache or serve a cached copy.

    Thank you and apologies for the delay in response again. There is a cdn help email that you could try as well if you have problems in the future.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘File Update’ is closed to new replies.