I have a strange problem with my JS-link files.
I have placed a list webpart on a wiki page. On this webpart I have set the JSLink property to a js-file in the Style Library:
~sitecollection/Style Library/Overview.JSLink.6.js The js-file is published and checked in.
I'm trying to update/develop a custom view using jslink.
No matter how hard I press refresh, hard-refresh, ctrl-f5, browser close/reopen, clear cache or what so ever, I always get the old-version.
Checking the source I see the following script tag being generated:
Notice the ctag being generated!
If i try to get the file using this URL (including ctag) I get the old version, using the same URL without the ctag I get the correct (new) version.
Why is the webpart generating an URL with ctag, thus forcing a specific version to be used on the page, instead of the most recent version of the file?
This makes developing annoying, the only way to force the page to use the new version is to use an other file name (and thus editing the js-link property).
- Minimal Download Strategy is disabled
- Blobcache is enabled
- File is placed in style library
It is not the same problem as this question: JSLink - SP not updating code
edit The answer to this question (JS files returning Cached (Old) Versions Despite Update) was to place the js-link in the style library. I already tried that.
edit2 This seems to be the same problem JSLink (js)file is updated, but still can't see any changes, maybe caching? See the comments