[SOLVED] JavaScript files versioning

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
fangeles
Posts: 52
Joined: Wed Jan 16, 2019 12:48 am

[SOLVED] JavaScript files versioning

Postby fangeles » Mon May 06, 2019 9:34 pm

Dear JS-Support,

Can we set javascript files versioning (or other method) in order for the web browser to get the latest version of the javascript (and other source files) for caching?

Let's say we've released an update, but the latest version does not reflected on client browser unless they do clearing of cache.

Hoping for your feedback.

Thanks.

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: JavaScript files versioning

Postby JS-Support @Userware » Tue May 07, 2019 12:02 am

Hi,

Yes, version 1.x of CSHTML5 already handles this, but version 2.0 Preview 0.4 not yet. We are going to add versioning asap.

In the meantime, before publishing a new version, please edit the file "index.html" and append a string such as ?2019-05-07 to the name of the JS files.

Thanks
Regards
JS-Support

fangeles
Posts: 52
Joined: Wed Jan 16, 2019 12:48 am

Re: JavaScript files versioning

Postby fangeles » Tue May 07, 2019 7:49 am

Noted on this and will wait on your next update of the bridge version.


Thanks

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: JavaScript files versioning

Postby JS-Support @Userware » Fri May 17, 2019 4:01 am

Hi,

We have fixed this issue. The fix will be available in v2.0 Preview 0.5, expected shortly.

Thanks
Regards


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 37 guests

 

 

cron