Cor Bosman wrote:
> Well, you dont just want to change CSS, you also want to change all
> JS. The JS includes happen in include_script. I guess the plugin api
> include doesnt need to be done, i suppose it should be up to plugin
> maintainers to version their includes?
>
> program/include/rcube_template.php:
> $this->include_script('app.js');
>
In practice using the filesize as cache busting parameter turned out to
work well:
$this->script_files[$position][] = $file . '?v=' . filesize(pathtofile);
Since php caches queries to the file system this shouldn't significantly
reduce performance.
~Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/