Name

<ora:noCache>

Synopsis

The <ora:noCache> action sets response headers that prevent the page from being cached by a browser or proxy server. It must be used before the response is committed, for instance before a <jsp:include> action with the flush attribute set to true.

Syntax

<ora:noCache/>

Attributes

None.

Example

<%-- 
  Set headers to prevent caching.
--%>
<ora:noCache />

Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.