How to Log Dependency/Clear Cache for the Asset to Use filterForDate in Controller? (Doc ID 2293950.1)

Last updated on AUGUST 09, 2017

Applies to:

Oracle WebCenter Sites - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Goal

How can we invalidate page cache for pages that render assets filtered by date?

e.g. The controller code reads assets based on endDate:

...


The assets are then rendered by the Template.

After the End Date has passed, how can we clear the page cache so that the older assets are not displayed?
 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms