Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
e7c74a64
Commit
e7c74a64
authored
May 09, 2011
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typos in the doc
parent
3a9695b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/extensions/http_cache.rst
doc/extensions/http_cache.rst
+3
-3
No files found.
doc/extensions/http_cache.rst
View file @
e7c74a64
...
...
@@ -24,7 +24,7 @@ Registering
::
$app->register(new Silex\Extension\HttpCacheExtension(), array(
'cache_dir' => __DIR__.'/cache/',
'
http_cache.
cache_dir' => __DIR__.'/cache/',
));
Usage
...
...
@@ -42,7 +42,7 @@ setting Response HTTP cache headers::
This extension allows you to use the Symfony2 reverse proxy natively with
Silex applications by using the `http_cache` service to handle the Request::
$app['http_cache']->handle(
$request
)->send();
$app['http_cache']->handle()->send();
The extension also provide `ESI
<http:
//
www
.
doctrine-project
.
org
/
docs
/
dbal
/
2
.
0
/
en
/>
`_ support::
...
...
@@ -69,7 +69,7 @@ The extension also provide `ESI
));
});
$app['http_cache']->handle(
$request
)->send();
$app['http_cache']->handle()->send();
For more information, consult the `Symfony2 HTTP Cache documentation
<http:
//
symfony
.
com
/
doc
/
current
/
book
/
http_cache
.
html
>
`_.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment