forked from Grailsrocks/grails-cached-resources
Grails Cached Resources Plugin
License
grails-plugins/grails-cached-resources
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This plugin calculates SHA256 hashes of your static resources and renames them to include this hash. It then sets long term caching headers on the resources when rendering them. Resources can be excluded via Ant-style expressions: grails.cached.resources.excludes = [ "*.png", "**/*.jpg" ] Builds on the "Resources" framework plugin Todos: * Improve the "excludes" option to accept closures in addition to Ant-style expressions. For example: grails.cached.resources.excludes = [ '*.pdf', 'assets/', { uri -> return !uri.startsWith('catalogue') } ]
About
Grails Cached Resources Plugin
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- CSS 64.5%
- Groovy 35.5%