In my project, I have two main pages: 'index' and 'about'. The 'about' page includes a cool animation that you can check out here.
The issue I'm facing is that when I navigate from the 'index' page to the 'about' page locally, the frames per second (fps) of the animation seem to fluctuate:
Initial visit to About page:
52.9 fps
https://i.sstatic.net/skE7l.png
When going back to Index:
41.0 fps
https://i.sstatic.net/f7gPM.png
Returning to About:
29.5 fps
https://i.sstatic.net/6Ji6l.png
I am unsure about what could be causing this issue. Just for context, the project is built using Vue.