docs: function (options) {
  	var oneMinInMilliseconds = 60000,
  		oneMegabyteInBytes = 1000000,
  		defaultDataCacheSize = (30 * oneMegabyteInBytes),
  		defaultExpireTimeout = (5 * oneMinInMilliseconds),
  		defaultoptions = {
  			data_cache_status : 'active',
  			view_cache_status : 'active',
  		  viewCacheType: 'flatfile',
  		  dataCacheType: 'memory',
  			item_doc_cache_expires : defaultExpireTimeout,
  			item_doc_cache :[ 'item/:id','article/:id'],
  			item_list_cache : ['items','articles'],
  			asset_doc_cache_expires : defaultExpireTimeout,
  			asset_doc_cache : ['asset/:id'],
  			asset_list_cache : ['assets'],
  			collection_doc_cache_expires : defaultExpireTimeout,
  			collection_doc_cache : ['collection/:id'],
  			collection_list_cache : ['collections'],
  			compilation_doc_cache_expires : defaultExpireTimeout,
  			compilation_doc_cache : ['compilation/:id'],
  			compilation_list_cache : ['compilations'],
  			user_doc_cache_expires : defaultExpireTimeout,
  			user_doc_cache : ['author/:id'],
  			user_list_cache : ['authors'],
  			category_doc_cache_expires : defaultExpireTimeout,
  			category_doc_cache : ['category/:id'],
  			category_list_cache : ['browse/categories/:id'],
  			tag_doc_cache_expires : defaultExpireTimeout,
  			tag_doc_cache :[ 'tag/:id'],
  			tag_list_cache : ['browse/tags/:id'],
  			contenttype_doc_cache_expires : defaultExpireTimeout,
  			contenttype_doc_cache : ['contenttype/:id'],
  			contenttype_list_cache : ['browse/contenttypes/:id'],
  			dataCacheSizeLimitInBytes: defaultDataCacheSize
  		};
  	this.status = (options && options.status)? options.status : 'active';
  	this.options = merge(defaultoptions,options);
  	// console.log('Cache this.options',this.options);
  
  	this.DataCache = new Datacache();
  	this.ViewCache = new Viewcache();
  }