forked from Grailsrocks/grails-cached-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
Grails Cached Resources Plugin
License
andrew-wharton/grails-cached-resources
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. Builds on the "Resources" framework plugin Todos: * Add "excludes" URIs via Config to prevent certain types and URIs being handled in this way - e.g. sites with lots of photos or where a filename is important e.g. Catalogue-2010.pdf Allow closure to determine it at runtime. e.g.: cached.resources.excludes = [ '*.pdf', 'assets/', { uri -> return !uri.startsWith('catalogue') } ]
About
Grails Cached Resources Plugin
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Groovy 100.0%