big_pipe_sessionless.services.yml in Sessionless BigPipe 2.x
Same filename and directory in other branches
File
big_pipe_sessionless.services.ymlView source
- services:
- placeholder_strategy.big_pipe_sessionless:
- parent: placeholder_strategy.big_pipe
- class: Drupal\big_pipe_sessionless\Render\Placeholder\BigPipeSessionlessStrategy
- tags:
- # Priority lower than placeholder_strategy.big_pipe (priority 0), so that
- # the "normal" BigPipe strategy is used by default and this one is used
- # only for sessionless requests, which the "normal" BigPipe strategy
- # ignores.
- - { name: placeholder_strategy, priority: -10 }
- big_pipe_sessionless:
- parent: big_pipe
- class: Drupal\big_pipe_sessionless\Render\BigPipeSessionless
- calls:
- - [setPageCacheMiddleware, ['@http_middleware.page_cache']]
- page_cache_deny_big_pipe_sessionless:
- class: Drupal\big_pipe_sessionless\PageCache\ResponsePolicy\DenyBigPipeSessionlessResponses
- public: false
- tags:
- - { name: page_cache_response_policy }