By default Magento 2 static urls have a version string attached to it. For example, if you take the view source of the page, you will see urls contains the following string -version1490119662. That’s called versioning for the static assets. In developer mode when we clear the cache this change automatically.
You can disable versions with two methods
Method 1
From core_config_data table set ‘dev/static/sign‘ to 0
Method 2
From admin side graphic interface.
Admin -> Stores -> Configuration -> Advanced -> Developer -> Static Files Settings Set ‘Sign Static Files’ to ‘No’
Did this post help you?
Tutsplanet brings in-depth and easy tutorials to understand even for beginners. This takes a considerable amount of work. If this post helps you, please consider supporting us as a token of appreciation:
- Just want to thank us? Buy us a Coffee
- May be another day? Shop on Amazon using our links.
Your prices won't change but we get a small commission.
Leave a Reply