Structuring the cache system and filter functions