AtomGraph / LinkedDataHub

The low-code Knowledge Graph application platform. Apache license.
https://atomgraph.github.io/LinkedDataHub/
Apache License 2.0
493 stars 124 forks source link

Cache authorization responses #65

Closed namedgraph closed 3 years ago

namedgraph commented 3 years ago

Currently requests from AuthorizationFilter are not cached by Varnish. Enabling caching should have a considerable improvement in performance, at the cost of some security risks. If we make the caching period short enough (like 10 minutes), the security impact should be minimal.

AuthenticationFilter (and its subclasses WebIDFilter and IDTokenFilter) already implements caching via #24

namedgraph commented 3 years ago

Fixed in 4f5dde2eea412eebb793872d32d628e7649f3b84