Clear caches after updating configuration settings
Refactor name of function to retrieve metadata; support non-HTML content-types