我在cPanel中打开了压缩所有内容设置。这似乎在一些地方使用gzip,在其他地方使用brotli。现在,我需要防止某些目录进行这种压缩。我的托管计划给出的.htaccess规则是:然而,当我访问这个网站,然后检查Chrome > NetworkDEFLATE html txt xml css js php
RemoveOutputFilter BROTLI_COMPRESS html t
我要访问的robots.txt URL是:User-agent: *但是,如果我使用Internet或SeleniumWebDriver (ChromeDriver)打开此链接,则会得到以下内容:# robots.txt# This file is to prevent the crawling andAllow: /misc/*.js$
Allow: /misc