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"
SwaggerBundle works well with E-Tags Based on REST Semantics.