But this can be really irritating while one is in development mode and constantly modifying the javascript or css style sheets.
They primarily do this to increase the website performance. Modern day browsers nowadays cache every front end resource like javascript or CSS style sheets. Browser cache are useful for web browsing, but a real pain point for developers.