/** * Establishes whether a Groovy page is reloadable. A GSP is only reloadable in the development * environment. * * @param resource The Resource to check. * @param meta The current GroovyPageMetaInfo instance * @return True if it is reloadable */ private boolean isGroovyPageReloadable(Resource resource, GroovyPageMetaInfo meta) { return isReloadEnabled() && (establishLastModified(resource) > meta.getLastModified()); }