JHtml::_('script', '/path/to/script.js', array('version' => 'auto'));
It works. CMS adds to HTML something like this:
But when I modify this file, this version remains the same.
I found in core classes Document and Version and methods for manipulations with MediaVersion, but it clarified nothing.
So, my question. How does it works. How this version refreshes?