symfony API

sfCacheFilter Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.4 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfCacheFilter deals with page caching and action caching.


sfCacheFilter  <  sfFilter

Method Summary

Methods inherited from sfFilter

getContext , getParameter , getParameterHolder , hasParameter , initialize , isFirstCall , setParameter , __construct

Method Details

  • checkCacheValidation ()

    Checks cache validation headers.

  • execute ($filterChain)

    $filterChain A sfFilterChain instance

    Executes this filter.

  • executeBeforeExecution ()

  • executeBeforeRendering ()

    Executes this filter.

  • (bool) initialize ($context, $parameters)

    $context The current application context
    $parameters An associative array of initialization parameters

    Initializes this Filter.

    returns true, if initialization completes successfully, otherwise false

    throws sfInitializationException If an error occurs while initializing this Filter

  • setCacheExpiration ($uri)

    $uri An internal URI

    Sets cache expiration headers.

  • setCacheValidation ($uri)

    $uri An internal URI

    Sets cache validation headers.