README.md | 3 +-- jsonapi.services.yml | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5662328..890d9f9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -Please read the [jsonapi.api.php](jsonapi.api.php) file and the online -[JSON API](https://www.drupal.org/docs/8/modules/json-api) documentation. +Please read the [jsonapi.api.php](jsonapi.api.php) file and the online [JSON API](https://www.drupal.org/docs/8/modules/json-api) documentation. diff --git a/jsonapi.services.yml b/jsonapi.services.yml index cdd93ad..a8a9480 100644 --- a/jsonapi.services.yml +++ b/jsonapi.services.yml @@ -144,8 +144,7 @@ services: # Cache. cache.jsonapi_memory: class: Drupal\Core\Cache\MemoryCache\MemoryCache - private: true - + public: false # A chained cache with an in-memory cache as the first layer and a database- # backed cache as the fallback is used. The first layer (memory) is necessary # because ResourceType value objects are retrieved many times during a @@ -158,7 +157,7 @@ services: - ['appendBackend', ['@cache.jsonapi_memory']] - ['appendBackend', ['@cache.default']] tags: [{ name: cache.bin }] - private: true + public: false # Middleware. jsonapi.http_middleware.format_setter: