http: fixed accessing remote logs with cache on both sides