move cache to filters file