Oracle9i Application Server PL/SQL Web Toolkit Reference Release 1.0.2.2 Part Number A90101-01 |
|
The owa_cache package contains functions and procedures that enable the PL/SQL Gateway cache feature to improve the performance of your PL/SQL web application. This section describes the specification of these functions and procedures.
owa_cache.disable - disables the cache for this particular request.
owa_cache.set_expires - sets up the cache headers for expires model cache type.
owa_cache.set_cache - sets up the cache headers for validation model cache type.
owa_cache.set_not_modified - sets up the headers for a not modified cache hit (used in the Validation technique model only).
owa_cache.get_level - returns the caching level (used in the Validation technique model only).
owa_cache.get_etag - returns the tag associated with the cached content (used in the Validation technique model only).
This disables the cache for this particular request.
This sets up the cache headers for expires model cache type.
This sets up the cache headers for validation model cache type.
Properties | Definitions |
---|---|
Parameters: |
p_etag IN - the tag associated with this content. p_level IN - the caching level for it. |
Exceptions: |
p_level is not 'USER' or 'SYSTEM'. |
This sets up the headers for a not modified cache hit. It is used in the Validation technique only.
Properties | Definitions |
---|---|
Exceptions: |
VALUE_ERROR is thrown if ETag was not passed in. |
This returns the caching level. It is used in the Validation technique model only.
Properties | Definitions |
---|---|
Returns: |
The caching level string ('USER' or 'SYSTEM') for cache hit; null otherwise. |
This returns the tag associated with the cached content. It is used in the Validation technique only.
Properties | Definitions |
---|---|
Returns: |
The tag for cache hit; null otherwise. |
|
Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|