How to Clear Cache of a Page in Oracle Apex

In Oracle Apex, if you are calling a page without clearing its cache, then you may notice that items have the values previously entered. I would recommend you should clear the cache when calling a page to make sure when your page opens; it should open by clearing all items.

A page in Oracle Apex can be called in many ways such as, from the navigation menu, from another page through a button or link, or from the URL, etc.

Oracle Apex - Clear Cache of a Page

In this tutorial, I am giving all these examples to how to specify the Clear Cache option when calling a page in Oracle Apex.

Specify Clear Cache Option in the Navigation Menu

Open your Oracle Apex application, then click on the Shared Components tab > Navigation Menu > Select your menu > then select a menu entry to open its settings page.

Then in the Target section, specify the page number in the Clear Cache field. Suppose you are calling page number 17 from the menu entry, then you should specify the same page number in the Clear Cache field. As shown in the below image:

Clear Cache option in the Navigation Menu in Oracle Apex.

You can also use the option Reset Pagination for this page if any reports exist on the page.

Clearing Cache When Opening a Page from Another Page

When calling a page from another page, then in the Target Link Builder window, specify the clear cache option as shown in the below image:

Clear cache when calling from another page.

Specifying Clear Cache Option in the Oracle Apex URL

Suppose you have specified the Oracle Apex URL manually in a query, then you can repeat the page number in the third position after &SESSION. For example, if you are opening a page number 3 then specify as below:

f?p=&APP_ID.:3:&SESSION.:::3

For more details on Oracle Apex URL structure, check the following link Oracle Apex URL format.

Also, I would like to inform you, that recently I have started a Question & Answer forum OrclQA.Com for Oracle developers. So I request you to please join and participate in the forum.

Related Tutorials:

Vinish Kapoor
Vinish Kapoor

Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 20 years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.

One comment

Comments are closed.