Add random or version params to loaded urls

10 views
Skip to first unread message

jonathan...@gmail.com

unread,
May 17, 2016, 4:19:33 PM5/17/16
to SystemJS
Hi,

In production on some servers, JS files are served with a big cache-control which force users to clear their cache when a new version comes in production.

How can I tell systemjs to append a version number to all urls when it loads the JS files ?

Thanks

Regards

jonathan...@gmail.com

unread,
May 17, 2016, 4:28:16 PM5/17/16
to SystemJS

Okay answering my own question as I found a solution (not tested yet but promising). I was doing a search on google with wrong keywords previously.

https://vadosware.io/2015/05/17/cache-busting-with-systemjsaurelia/

Reply all
Reply to author
Forward
0 new messages