grails-plugins / cache-headers Goto Github PK
View Code? Open in Web Editor NEWThis project forked from grailsrocks/grails-cache-headers
Grails Cache Headers Plugin
License: Other
This project forked from grailsrocks/grails-cache-headers
Grails Cache Headers Plugin
License: Other
It's not possible to set the following header with the current plugin logic:
cache-control: private, max-age=0, no-cache, no-store
as described here: https://mixmax.com/blog/chrome-back-button-cache-no-store
The fix would be relatively simple.
I could even submit a PR but I wanted to check if this would somehow violate a standard which this plugin implements? Or that's not the case?
Grails: 3.3.10
We're upgrading an app and added the 2.0.1
version of the plugin.
It works, but we're unable to run unit-tests due to a CacheHeadersService @autowire issue that I can't figure out how to solve.
Attempting to use 2.0.2
resulted in the following
Could not resolve org.grails.plugins:cache-headers:2.0.2.
Required by:
project :kiind-webapp
> No cached version of org.grails.plugins:cache-headers:2.0.2 available for offline mode.
Any help would be greatly appreciated!
@Autowired CacheHeadersTrait causes a BeanNotFoundException during client applicaiton unit tests (even if the cache methods are not used).
In the controller, request and response are null
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.