• Andy Wilkinson's avatar
    Cache endpoint responses on a per-principal basis · 03157241
    Andy Wilkinson authored
    Previously, any HTTP request to an endpoint that included a principal
    would bypass the cache. This prevented authenticated requests from
    making use of the cache and its configurable time-to-live.
    
    This commit updates the caching operation invoker to include the
    principal, if any, in its cache key. As a result, requests that
    include a principal will make use of the cache, potentially returning
    the result of a previous invocation of the same endpoint by the same
    principal.
    
    Closes gh-19538
    03157241
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...