Send the correct cache headers in "client cache only" mode (see #5358)