Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

slaveWindows.js being cached by UserScript and not updating #59

Closed
ensingm2 opened this issue Jun 14, 2015 · 4 comments
Closed

slaveWindows.js being cached by UserScript and not updating #59

ensingm2 opened this issue Jun 14, 2015 · 4 comments
Labels

Comments

@ensingm2
Copy link
Owner

Current workaround is to delete/reinstall the userscript, but that's a huge pain in the ass. If anyone knows a better way to force it to update, please let me know.

@AlinaNova21
Copy link

Maybe try adding a querystring to the end of the url? Its a trick i've used in pure html to force cacheless load. (It can be a static querystring, just it being there is usually enough)

@ensingm2
Copy link
Owner Author

Are you sure a static query works? In my experience with that workaround you generally need to send it rand or a timestamp or something.

since it's a UserScript include, it MUST be static.

@waterfoul
Copy link
Contributor

The querystring will work as ling as you change it every time the slaveWindows.js changes

@ensingm2
Copy link
Owner Author

Good point. I'll add it in next time that script changes (if it does) since it hasn't been updated in a while and any current caches are most likely up to date. Closing this issue.

@vanZeben vanZeben added the bug label Jun 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants