Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
User avatar
Peter
 
Posts: 486
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

Attach a timestamp to the generated JavaScript-Filename

by Peter Fri Oct 20, 2017 3:22 pm

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
Fred
Site Admin
 
Posts: 1013
Joined: Mon Feb 24, 2014 10:51 am

Re: Attach a timestamp to the generated JavaScript-Filename

by Fred Mon Oct 23, 2017 7:45 am

Only in debug or always ?
User avatar
Peter
 
Posts: 486
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

Re: Attach a timestamp to the generated JavaScript-Filename

by Peter Mon Oct 23, 2017 8:35 am

Fred wrote:Only in debug or always ?

Please always.

Thanks in advance & Greetings ... Peter
Return to Feature Requests and Wishlists

Who is online

Users browsing this forum: No registered users and 1 guest