Fixing issue with get contents cache