Added subdirectory option for cache storing

Allows providing :domain option to seperate stored cache in different
subdomain folders