Do not cache empty documents