Opened 7 years ago

Last modified 7 years ago

#1564 new enhancement

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 (1)

comment:1 Changed 7 years ago by gogo

Seems a good idea.

Should be off by default of course.

Note: See TracTickets for help on using tickets.