correct cache filter implementation.