What is folder caching?

If item level security is enabled on a folder, folder caching is not performed on the folder.

Folder caching speeds up the rendering or display of a folder and its contents since previously rendered pages are stored by Oracle Portal and re-displayed when next requested. Thus, instead of rendering a page each time it is requested, the Oracle Portal serves up the cached version of the page, which loads the page much faster.

Oracle Portal provides folder caching at both the content area level as well as the folder level. The setting at the content area level takes precedence over the folder level. Thus, if caching is disabled at the content area level, this would effectively disable it for the entire content area. However, if folder caching is enabled at the content area level, and you choose to disable caching on certain folders, then the contents in these folders will not be cached. Folder caching occurs only on folders with caching enabled at both levels.

Thus, for folder caching to be enabled properly, you need a combination of enabling caching at the content area level and enabling caching at the folder level. The following table shows the result of the different folder caching combinations.

Content Area Level

Folder Level

Result

Enabled

Enabled

Each folder in the content area for which you have folder caching enabled will be cached.

Enabled

Disabled

The contents in these folders will not be cached. Pages are reloaded each time they are requested.

Disabled

Enabled

No folders in the content area are cached.

Disabled

Disabled

No folders in the content area are cached.

Note: By default, folder caching is disabled at both the content area and folder level. You must explicitly select these options in order for folder caching to be performed.

Implementing folder caching at the content area level

As noted earlier, folder caching at the content area level does not imply that every folder in the content area will be cached. However, folder caching at the content area level takes precedence over folder caching at the folder level.

There are two requirements to properly enable folder caching at the content area level:

Implementing folder caching at the folder level

In situations where you may have folders with rich, heavy, or frequently changing content, you may want to ensure that folder caching is disabled at the folder level. Otherwise, these folders might not represent the most up-to-date content.

Folder caching invalidation

Folder caching is invalidated when the following situations occur:

  • When the style is modified or when the style applied to the folder is changed.

  • When the region properties for a style are modified.

  • When items in a folder are added, modified, or deleted from a folder.

  • When the folder display properites such as the display name and description are modified.

  • When the categories and perspectives at the content area level are hidden or made visible.

Note: When item level security is enabled, Oracle Portal's runtime performance is affected. Thus, you should disable folder caching on the folder.

Note

  • When changes are made either to navigation bar portlets on the page or navigation bars in the content area, Oracle Portal automatically replaces the cached version with a newly-cached version. For example, if you change the style of your navigation bar, the new style is immediately reflected when the page is next accessed by a user.

Related Topics

What is a folder?
What is a style?
What are folder regions?

Granting access privileges to your folder