Browser caches Component-connector.js for custom javascript component

I am creating a javascript component, as described here: https://vaadin.com/blog/-/blogs/vaadin-7-loves-javascript-components

The problem is that my browser caches the Component-connector.js

Is there a way to disable this caching?

Have a look at:
http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files

…but as you’re probably not changing it that often in your production environment you’re probably better off to just do a Ctrl+Alt+R or something similar to clear the Cache in the Browsers you use when developing.
Also remember that caching normally is a good thing when not developing as it decreases bandwith-usage.

thanks! i added a ‘-v.js’ suffix to the filename, which I increment after a change. seems to work.