getResourceSettings().setCachingStrategy(new FilenameWithVersionResourceCachingStrategy(
"-v-",
new CachingResourceVersion(new Adler32ResourceVersion())
));
getResourceSettings().setJavaScriptCompressor(new GoogleClosureJavaScriptCompressor(CompilationLevel.SIMPLE_OPTIMIZATIONS));
getResourceSettings().setCssCompressor(new YuiCssCompressor());
getFrameworkSettings().setSerializer(new DeflatedJavaSerializer(getApplicationKey()));
} else {
getResourceSettings().setCachingStrategy(new NoOpResourceCachingStrategy());