cache_lib's pipeline functions were applying even when cache engine is empty, which it shouldn't be doing.