• Resolved tgiokdi

    (@tgiokdi)


    is it possible to force the refresh of a specific file? In my case, I’ve made some changes to the style.css files for my theme but they’re getting picked up by the shift8.

Viewing 1 replies (of 1 total)
  • Plugin Author shift8

    (@shift8)

    If you are enqueuing the style using wp_enqueue_style(), you could simply change or add a version query string (i.e. style.css?ver=1.1).

    Altering the query string in this way, the CDN will assume its a different file and fetch a fresh copy. This would work similarly with any CDN and is a generally accepted best practice.

    Thanks for using our service!

Viewing 1 replies (of 1 total)
  • The topic ‘Force Refresh of css file’ is closed to new replies.