I'm facing the weird issue with JS, in my website we are using
en_CA as Locale Options where we are generating the static content for
en_CA. A few days back it works well, but don't know why it is not working now.
When generating the static content the JS and CSS are generating well and we are able to see them under the
But, when we are browsing the website we are unable to see the changes made in the JS. We even removed the complete code from the JS in pub folder but even then we are unable to see the change in the frontend.
We have tried in private browser, removing the cache from the browser stil the JS modifications are not getting reflected in the frontend.
I have run the following commands, the current mode setting is the default.
setup upgrade static content compilation cache flush indexing
Also, there is no JS,CSS merging set.
Is any body faced this type of weird issues in Magento2? please share valuable your inputs or suggestions to narrow down the issue.
PS: We are using redis and Varnish cache.