My Oracle Support Banner

Cache-Scope 'PUBLIC' Does Not Cache Portlet For All Users (Doc ID 1554258.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle WebCenter Portal - Version to [Release 11g]
Information in this document applies to any platform.


As per
the Portlet 2.0 specification added the following new caching features:

Public cache scope: The cache entries are shared across users

Steps to reproduce:

1. Create a JSR286 portlet with <cache-scope>public</cache-scope> in JDeveloper
2. Add some code to generate a new response every time to test if the cache is working, e.g. <%= new java.util.Date() %>
3. Consume this portlet in a simple WebCenter Framework application in JDeveloper
4. Add security (add at least 2 users: user 1, user2 ) to the application
5. Login with 2 different users to test the cache

The Portlet is cached for user1 but not for user2.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.