Page 1 of 1

[SOLVED] JavaScript files versioning

Posted: Mon May 06, 2019 9:34 pm
by fangeles
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.

Re: JavaScript files versioning

Posted: Tue May 07, 2019 12:02 am
by JS-Support @Userware
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

Re: JavaScript files versioning

Posted: Tue May 07, 2019 7:49 am
by fangeles
Noted on this and will wait on your next update of the bridge version.


Thanks

Re: JavaScript files versioning

Posted: Fri May 17, 2019 4:01 am
by JS-Support @Userware
Hi,

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

Thanks
Regards