How do I refresh a menu page after update page?

I have a menu/list page (see screenshot) which links to several other pages. If I click on “2 images” on the top line, I go to a second SPA page where I can upload images. The “2 images” comes from a COUNT() in the DB query.

So if I go to the second page, upload an image, and return to this menu page, the “2 images” should update to “3 images” but it does not.

From the update page I can press the browser’s ‘back’ button, press my own ‘back’ button or go through the menus to get to the menu page but in all instances the menu page does not update.

The only way to update it is by pressing F5 to refresh the page. How can I get the menu page to update automatically?

Community Page
Last updated: