Responses overview
Overview of responses in Drupal.
CacheableResponseInterface
CacheableResponseInterface is an interface for responses that can expose cacheability metadata. (Cache contexts, tags and max-age.)
HTTP is all about requests and responses. Drupal represents the responses it sends as Response objects. Drupal’s responses are Symfony Response objects. Symfony’s documentation also applies to Drupal.
Overview of responses in Drupal.
CacheableResponseInterface is an interface for responses that can expose cacheability metadata. (Cache contexts, tags and max-age.)