Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony2 Reverse Proxy - AppCache Object typo #1005

Closed
peshi opened this issue Jan 17, 2012 · 0 comments
Closed

Symfony2 Reverse Proxy - AppCache Object typo #1005

peshi opened this issue Jan 17, 2012 · 0 comments

Comments

@peshi
Copy link

peshi commented Jan 17, 2012

// app/AppCache.php
class AppCache extends Cache
{
protected function getOptions()
{
return array(
'debug' => false,
'default_ttl' => 0,
'private_headers' => array('Authorization', 'Cookie'),
'allow_reload' => false,
'allow_revalidate' => false,
'stale_while_revalidate' => 2,
'stale_if_error' => 60,
);
}
}

Infact it extends HttpCache

weaverryan added a commit that referenced this issue Apr 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants