HttpCache

class HttpCache

A plugin that allows you to save previously fetched resources in an in-memory cache. For example, if you make two consequent requests to a resource with the configured Cache-Control header, the client executes only the first request and skips the second one since data is already saved in a cache.

You can learn more from Caching.

Types

Link copied to clipboard
Link copied to clipboard
class Config

A configuration for the HttpCache plugin.

Properties

Link copied to clipboard
Link copied to clipboard