Class \Prado\Util\Behaviors\TPageNoCacheBehavior
TPageNoCacheBehavior class.
TPageNoCacheBehavior attaches to pages and adds no-cache meta to the head.
getCheckMetaNoCache specifies whether or not to check the existing meta tags (in THead of the TPage) before adding the no cache tags. By default getCheckMetaNoCache is turned off for performance.
Class hierarchy
- \Prado\Util\Behaviors\TPageNoCacheBehavior
- \Prado\Util\TBehavior implements IBehavior
- \Prado\Util\TBaseBehavior implements IBaseBehavior uses TPriorityPropertyTrait
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 4.2.0
public
|
|
public
|
events() : array<string|int, mixed>
This handles the TPage.OnInitComplete event to place no-cache
meta in the head.
|
public
|
|
public
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |