It is compulsory for Grails 2+ to make proper use of the resource plugin tags to avoid leaks.