Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 455 Bytes

caching.md

File metadata and controls

16 lines (10 loc) · 455 Bytes

Caching

Caching Specs

Parsing YAML and resolving JSON Pointers can be slow, especially with larger specs with external references. SwaggerBundle can use a Doctrine cache to mitigate this. Use a DI key to reference the service you want to use:

swagger:
  document: 
    cache: "some.doctrine.cache.service"

HTTP Caching

SwaggerBundle works well with E-Tags Based on REST Semantics.