why not using `app.getResourceSettings().getCachingStrategy()`?