I made changes in the code, debugging and do not understand what's the matter - the code has changed, but the result is the same. Damn it, I'm debugging on production! Has this happened to you? With me several times, today here again. I got sick of it and I came up with an easy way to avoid such annoying cases.
Perhaps this trick does not deserve a separate topic, most of you will understand everything from one picture:

')
Essence - for each environment (dev, staging, prod, etc.) has its own favicon.
How to do it on the example of Laravel (once again this wonderful framework):
1. Template (master.blade.php):
<link rel="shortcut icon" href="/favicon-{{ App::environment() }}.ico">
2. Icons
Put
favicon-local.ico
,
favicon-staging.ico
,
favicon-production.ico
in
public_path()
.
The implementation of this trick takes up to 10 minutes, do not step on this rake anymore :)
Happy coding!