• 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
..
appendix-application-properties.adoc Loading commit data...
appendix-auto-configuration-classes.adoc Loading commit data...
appendix-configuration-metadata.adoc Loading commit data...
appendix-dependency-versions.adoc Loading commit data...
appendix-executable-jar-format.adoc Loading commit data...
appendix-test-auto-configuration.adoc Loading commit data...
attributes.adoc Loading commit data...
build-tool-plugins.adoc Loading commit data...
deployment.adoc Loading commit data...
documentation-overview.adoc Loading commit data...
getting-started.adoc Loading commit data...
howto.adoc Loading commit data...
index-docinfo.xml Loading commit data...
index.htmladoc Loading commit data...
index.htmlsingleadoc Loading commit data...
legal.adoc Loading commit data...
production-ready-features.adoc Loading commit data...
spring-boot-cli.adoc Loading commit data...
spring-boot-features.adoc Loading commit data...
spring-boot-reference.pdfadoc Loading commit data...
using-spring-boot.adoc Loading commit data...