Feature #2746: Fix cache for DOCUMENTS