initCache() should return a tuple of the category and cacheId (currently only returns the cacheId), in case a method wants to use the general cache but doesn't know the index off by heart.
The default cacheId and category should be properties.
Improve on the request for a generated cacheId. If I'm confusing myself less than a week after writing it it needs fixing. Either use a variable as a marker for request type, or have a boolean value along the lines of generateCacheId
initCache()
should return a tuple of thecategory
andcacheId
(currently only returns thecacheId
), in case a method wants to use the general cache but doesn't know the index off by heart.cacheId
andcategory
should be properties.cacheId
. If I'm confusing myself less than a week after writing it it needs fixing. Either use a variable as a marker for request type, or have a boolean value along the lines ofgenerateCacheId