Opened 10 years ago

Closed 3 years ago

#1564 closed enhancement (wontfix)

Cache-busting config option

Reported by: ejucovy Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:


When doing development on Xinha or a plugin, the most recent changes in plugin files are sometimes not loaded when I refresh the page, because of my browser's caching behavior.

Sometimes this trips up users as well; a lot of requests for help in the forum end up being a matter of clearing the browser's cache and reloading.

It might be helpful to have a cacheBuster option in xinha_config. When set to true, it would append a random query string (like "?nocache="+new Date().valueOf()) to all resources that are loaded by XinhaCore.js

Change History (2)

comment:1 Changed 10 years ago by gogo

Seems a good idea.

Should be off by default of course.

comment:2 Changed 3 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

Browsers can have cache disabled.

In chrome if you open the javascript console then you can hold down the refresh button to get options to do a hard refresh and cache clear at the same time.

So this is no longer required.

Note: See TracTickets for help on using tickets.