8000 [FrameworkBundle] Dont set pre-defined esi/ssi services by ro0NL · Pull Request #23088 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Dont set pre-defined esi/ssi services #23088

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[FrameworkBundle] Define synthetic http cache services
  • Loading branch information
ro0NL committed Jun 9, 2017
commit fc07425d84944253be1ff8b4ab85fa8432d642c0
4 changes: 3 additions & 1 deletion src/Symfony/Bundle/FrameworkBundle/Resources/config/esi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<services>
<defaults public="false" />

<service id="esi" class="Symfony\Component\HttpKernel\HttpCache\Esi" public="true" />
<service id="cache" class="Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache" public="true" synthetic="true" />

<service id="esi" class="Symfony\Component\HttpKernel\HttpCache\Esi" public="true" synthetic="true" />

<service id="esi_listener" class="Symfony\Component\HttpKernel\EventListener\SurrogateListener" public="true">
<tag name="kernel.event_subscriber" />
Expand Down
4 changes: 3 additions & 1 deletion src/Symfony/Bundle/FrameworkBundle/Resources/config/ssi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
<services>
<defaults public="false" />

<service id="ssi" class="Symfony\Component\HttpKernel\HttpCache\Ssi" public="true" />
<service id="cache" class="Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache" public="true" synthetic="true" />

<service id="ssi" class="Symfony\Component\HttpKernel\HttpCache\Ssi" public="true" synthetic="true" />

<service id="ssi_listener" class="Symfony\Component\HttpKernel\EventListener\SurrogateListener" public="true">
<tag name="kernel.event_subscriber" />
Expand Down
0