# Ionic v4 - ngOnInit and constructor cache problem after reload application in browser

**URL:** <https://forum.ionicframework.com/t/ionic-v4-ngoninit-and-constructor-cache-problem-after-reload-application-in-browser/141536>\
**Category:** Ionic Framework\
**Created:** [September 12, 2018, 3:00pm UTC](https://forum.ionicframework.com/t/ionic-v4-ngoninit-and-constructor-cache-problem-after-reload-application-in-browser/141536 "2018-09-12T15:00:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frontend-raiden](https://avatars.discourse-cdn.com/v4/letter/f/f19dbf/32.png) [@frontend-raiden](https://forum.ionicframework.com/u/frontend-raiden)\
**Post date:** [September 12, 2018, 3:00pm UTC](https://forum.ionicframework.com/t/ionic-v4-ngoninit-and-constructor-cache-problem-after-reload-application-in-browser/141536/1 "2018-09-12T15:00:55Z")

</div>

Hi!

I’m experiencing some problems. If I reload the app a certain way (3rd page) than I go back to the previous pages (2nd page than 1st) after this I go back the page where I reloaded the page (3rd page) the constructor and the ngOnlnit method won’t recall/rerun. But if I push f5 on a different page (2nd page) and I navigate to a different page (3rd page) than back to 2nd page, and than back to 3rd again, than the method is called correctly. What can be the problem? It feels like the it’s cacheing, but only when the application is reloaded in the browser.

Thanks for your help in advance.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:17pm UTC](https://forum.ionicframework.com/t/ionic-v4-ngoninit-and-constructor-cache-problem-after-reload-application-in-browser/141536/2 "2021-07-19T21:17:35Z")

</div>

Closed on July 19, 2021, 9:17pm UTC


