Interface Description.RequiredCache
- All Known Implementing Classes:
Cache
- Enclosing interface:
- Description
public static interface Description.RequiredCache
Caching requirements
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine if Web Script content is for public cachingbooleanMust cache re-validate to ensure content is freshbooleanDetermine if Web Script should ever be cached
-
Method Details
-
getNeverCache
boolean getNeverCache()Determine if Web Script should ever be cached- Returns:
- true => do not cache, false => caching may or not occur
-
getIsPublic
boolean getIsPublic()Determine if Web Script content is for public caching- Returns:
- true => content is public, so allow cache
-
getMustRevalidate
boolean getMustRevalidate()Must cache re-validate to ensure content is fresh- Returns:
- true => must re-validate
-