How do I stop my static resources from going through BroadleafCookieLocaleResolver?
I've tried, with no luck:
Code: Select all
<mvc:resources order="-10" location="/js/, classpath:/js/" mapping="/js/**" />
Why isn't this a join that gets eagerly loaded? In my setup getName() only gets invoked at the template layer. This was adding anywhere from 100-150ms per request. I originally thought it was my templating engine slowing down.
Code: Select all
@Override
public String getName() {
if (name == null && hasDefaultSku()) {
return lookupDefaultSku().getName();
}
return DynamicTranslationProvider.getValue(this, "name", name);
}
And after trying X-Rebel, JProfiler, and Yourkit, only X-Rebel was able to easily track this down... and Yourkit was causing problems with the JpaTransformer and/or Spring Instrument in my setup. Something to keep in mind for anyone thinking of purchasing Yourkit.