Javascript file name is not changed after cache is cleared
-
Hi.
Example:
1. file /wp-content/cache/minify/13715.js is changed
2. cache is cleared
3. after page refresh, same resource name (13715.js) is used, therefore browser doesn’t update the resource cache, and file is not updated until hard refresh is made in the browser.Correct behavior should be to change resource name (or append versioning ?v=123 at the end of resource), so browser knows when to update the resource.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Javascript file name is not changed after cache is cleared’ is closed to new replies.