I’m using the app engine locally, and sometimes the JS files are being cached between page refreshes, and it drives me crazy because I don’t know if there’s a bug in the javascript code I’m trying to write, or if the cache is acting up.
How do I completely disable cache for *.js files? Or maybe the question is, how to have it be smart, like based on last-modified date.
Thanks!
UPDATE-
So it turns out Chrome Dev (for mac at least) has caching issues, going back to Chrome Beta fixes all this. The answers have still been helpful though, thanks
Based on the docs, you can specify an app-wide cache expiration duration:
…and if you want to specify the expiration on a directory-by-directory basis:
Try setting them to 0d0h or 1s and see if it disables caching entirely.