added caching mode preference (fixes #495)
categories for advanced settings