Skip to content

Commit 1ccb79f

Browse files
added link to the http cache documentation
1 parent f206525 commit 1ccb79f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Resources/doc/features/symfony-http-cache.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ your kernel like this::
9898
}
9999
}
100100

101-
Now you need to adjust your front controller to use that cache instance rather
102-
than creating one::
101+
Now you need to adjust your front controller (that you set up according to the `Symfony HttpCache documentation_`) to use that cache instance rather than creating one:
103102

104103
// public/index.php
105104

@@ -111,8 +110,6 @@ than creating one::
111110
if ('prod' === $env) {
112111
$kernel = $kernel->getHttpCache();
113112
}
114-
115-
Request::enableHttpMethodParameterOverride(); // @see https://symfony.com/doc/4.1/reference/configuration/framework.html#configuration-framework-http-method-override
116113

117114
// ...
118115

0 commit comments

Comments
 (0)