DDF-539: Validate resource before retrieving from cache