Scenario: I have upgraded an old Joomla! website from 2.5 to the latest version of Joomla!. After doing so the site from my point of view looks as it should. If I try to access the site from another pc that has previously accessed the site before the upgrade, the CSS looks to be obsolete.
Solution: In order fix that, I clear the cache and any browsing data through the browser and the issues are fixed.
Prevention measures: I have looked at my custom components and I do not have cache saving mechanism in place, so I guess this is a browser side issue. The question is, how do I prevent this from happening in the future?
Reasoning: If my previous users access the site everything will look bad and I cannot expect them to know that they have to refresh their cache.
Research:
I've looked at Joomla versioning (https://www.joomlart.com/tutorials/joomla-tutorials/tutorial-how-to-enable-content-versioning-in-joomla-site)
I've looked at cache clearing (https://forum.joomla.org/viewtopic.php?t=949662)
Nothing seems to be a concrete solution.
If there is a "best practice" for these kinds of situations please do share I would be delighted to learn all about it.