On Oct 18, 2017, at 8:27 AM, Warren Young <[email protected]> wrote:
> 
> On Oct 18, 2017, at 7:04 AM, Richard Hipp <[email protected]> wrote:
>> I'll have to add a "/fossil.js” resource

While you’re about it, I’d suggest shipping /fossil-$hash.js instead and 
setting a multi-year Expires header for the file so that it only has to be 
pulled once and cached “forever”.  

$hash is the current Fossil checkin prefix, the same one reported by “fossil 
ver”.  Thus, whenever Fossil changes, the file name changes, so the browser 
will pull the fossil.js file again.

Ditto style.css, though the ability to change the CSS via Fossil UI complicates 
this.  Currently, that gets pulled on every page load, even though it almost 
never changes.
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to