Page 1 of 1

[Implemented] Attach a timestamp to the generated JavaScript

Posted: Fri Oct 20, 2017 3:22 pm
by Peter
Hello Fred,

currently the JavaScript file created by SpiderBasic is included in the index.html as follows:

Code: Select all

<script type="text/javascript" src="myApplication.js"></script>
it would be advantageous to attach a timestamp to the file name to avoid cache problems:

Code: Select all

<script type="text/javascript" src="myApplication.js?t=1508520020835"></script>
Thanks in advance & Greetings ... Peter

Re: Attach a timestamp to the generated JavaScript-Filename

Posted: Mon Oct 23, 2017 7:45 am
by Fred
Only in debug or always ?

Re: Attach a timestamp to the generated JavaScript-Filename

Posted: Mon Oct 23, 2017 8:35 am
by Peter
Fred wrote:Only in debug or always ?
Please always.

Thanks in advance & Greetings ... Peter

Re: Attach a timestamp to the generated JavaScript-Filename

Posted: Sat Jan 16, 2021 4:09 pm
by Peter
After three years, I stumbled upon this problem again.

Re: Attach a timestamp to the generated JavaScript

Posted: Fri Aug 26, 2022 9:33 am
by Fred
Added for next version

Re: Attach a timestamp to the generated JavaScript

Posted: Fri Aug 26, 2022 10:06 am
by Peter
Fred wrote: Fri Aug 26, 2022 9:33 am Added for next version
Image