bertramdev / asset-pipeline

The core implementation of the asset pipeline for the jvm
193 stars 92 forks source link

Default skipNonDigests = true for Grails apps. Fixes #341 #343

Closed codeconsole closed 3 months ago

codeconsole commented 3 months ago

By default both digested named versions of assets as well as non digested named versions are generated as well as the gzip equivalents. Some frameworks dont actually need the non digested named versions ( ratpack, grails, spring-boot, and servlets). These frameworks take advantage of the manifest.properties file discussed earlier in the documentation to properly map requests for non digested file names to the digested equivalent and preserve compatibility with libraries that may not work well with digested file names.

"Some frameworks don't actually need the non digested named versions (grails)"

The default behavior currently works in contrary of what the ducumentation suggests

Sets the following default behavior for Grails Apps

assets {
    skipNonDigests = true
}
davydotcom commented 3 months ago

closing as a system default off is preferable .. merged other PR