Added fix for noCache

If cache is set to zero any saved record in APC will be deleted.