Add filter to cachethread.