META-INF.inti.ws.spring.resource.parser.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ws-spring-resource Show documentation
Show all versions of ws-spring-resource Show documentation
An utility library for spring-based web-services for compressing / optimizing JS and CSS resources.
{
"css": {
"minifier": "inti.ws.spring.resource.minify.LessMinifier",
"configurator": "inti.ws.spring.resource.CommonMinifyableConfig",
"contentType": "text/css",
"contentEncoding": "utf-8",
"expires": "31536000000",
"cacheControl": "max-age=31536000",
"routes": ["/css"]
},
"js": {
"minifier": "inti.ws.spring.resource.minify.JSMinifier",
"configurator": "inti.ws.spring.resource.CommonMinifyableConfig",
"contentType": "text/javascript",
"contentEncoding": "utf-8",
"expires": "31536000000",
"cacheControl": "max-age=31536000",
"routes": ["/js"]
},
"templates": {
"configurator": "inti.ws.spring.resource.template.TemplatesConfig",
"contentType": "text/plain",
"contentEncoding": "utf-8",
"expires": "31536000000",
"cacheControl": "max-age=31536000",
"routes": ["/templates"]
},
"index": {
"configurator": "inti.ws.spring.resource.index.IndexConfig",
"contentType": "text/html",
"contentEncoding": "utf-8",
"expires": "-1",
"cacheControl": "no-store, no-cache, must-revalidate",
"routes": ["/", "/index.html"]
},
"mails": {
"configurator": "inti.ws.spring.resource.mail.MailsConfig",
"routes": ["mails"]
},
"files": {
"configurator": "inti.ws.spring.resource.files.FilesConfig",
"routes": [""]
}
}