Does Ionic React 8 Cache CSS Files

I am new to Ionic and React. I have created an Ionic React 8 project using the Ionic CLI. I have 2 pages which use their own CSS file with same CSS class names but different properties for the root level div. However, upon navigating to Page 2 from Page 1, Page 2 uses properties from Page 1 CSS file. Is this behaviour expected and if yes then how to fix this?