You are here

big_pipe_sessionless.services.yml in Sessionless BigPipe 2.x

Same filename and directory in other branches
  1. 8 big_pipe_sessionless.services.yml

File

big_pipe_sessionless.services.yml
View source
  1. services:
  2. placeholder_strategy.big_pipe_sessionless:
  3. parent: placeholder_strategy.big_pipe
  4. class: Drupal\big_pipe_sessionless\Render\Placeholder\BigPipeSessionlessStrategy
  5. tags:
  6. # Priority lower than placeholder_strategy.big_pipe (priority 0), so that
  7. # the "normal" BigPipe strategy is used by default and this one is used
  8. # only for sessionless requests, which the "normal" BigPipe strategy
  9. # ignores.
  10. - { name: placeholder_strategy, priority: -10 }
  11. big_pipe_sessionless:
  12. parent: big_pipe
  13. class: Drupal\big_pipe_sessionless\Render\BigPipeSessionless
  14. calls:
  15. - [setPageCacheMiddleware, ['@http_middleware.page_cache']]
  16. page_cache_deny_big_pipe_sessionless:
  17. class: Drupal\big_pipe_sessionless\PageCache\ResponsePolicy\DenyBigPipeSessionlessResponses
  18. public: false
  19. tags:
  20. - { name: page_cache_response_policy }