JResponse::allowCache
Set/get cachable state for the response.
If $allow is set, sets the cachable state of the response. Always returns current state.
Signature
public function allowCache([boolean
$allow = null] )
Parameters
-
$allow
- True to allow browser caching.
Returns
- boolean
- True if browser caching should be allowed