// - the user agent supports compresssion
if (/*!_developmentStage && */isGzipResourcesEnabled() && isCacheDiskGzipResources())
{
_resourceLoaders = new ResourceLoader[] {
new GZIPResourceLoader(new ExtendedResourceLoaderWrapper(new ExternalContextResourceLoader("/resources")), this),
new GZIPResourceLoader(new ExtendedResourceLoaderWrapper(new ClassLoaderResourceLoader("META-INF/resources")), this)
};
}
else
{
_resourceLoaders = new ResourceLoader[] {
new ExtendedResourceLoaderWrapper(new ExternalContextResourceLoader("/resources")),
new ExtendedResourceLoaderWrapper(new ClassLoaderResourceLoader("META-INF/resources"))
};
}
}
return _resourceLoaders;
}