There is something about Magento2 that troubles me so much.
When I have a website on production mode and I need to make a simple image change how I can do it?
I thought changing the image via FTP will work (with the same filename), but seems it doesn't. The image doesn't change on frontend.
Reading this question: Why static files are not generated or cached in Default or Production mode in Magento 2?
I understand on production mode the statics files are not generated until you run the command...
But then I did some tests on local that confuses me more, I set the magento on production mode, and it works fine! I change and image and when I refresh the browser the image changes. I use this VM: https://bitnami.com/stack/magento/virtual-machine
So what is happening? I understand the production mode does not generate static files, but I only replacing the images... so maybe it doesn't need to regenerate.
So the only way to make this change that I know is deleting pub/static/* and running the static-content:deploy command. Then it works, all is deleted and regenerated, but this is really annoying when you have a website that is on live. Really we have to stop the website for changing a SIMPLE image?
And another thing is, this tasks about changing images, usually, will do it a person who doesn't know about programming, so he never touched a terminal and probably never will do it.
The fun fact is that on developer mode it has this button: Flush Static Files Cache. Really? why a developer needs this? Who really needs this is a person who doesn't have access on terminal and knows nothing about computers.