We have pages on our server that use extensions like .php/.cgi along with parameters like 'xml=true' to create XML versions of the content.
So a URL like
None of these XML type pages are being returned compressed when requested in a browser.
All pages have the Request Header 'Accept-Encoding: gzip, deflate, br', but are not returned with the expected Response Header 'Content-Encoding: gzip'
Is it possible to have these requests returned compressed?
I've attempted changes to our .htaccess file, but nothing seems to be working.
I've attached our GZIP Compression Settings in LiteSpeed.
The XML type pages include a Request Header of:
Whereas the Response Header for the page has:
Could the issue be the Content-Type doesn't match any of the Accepted types?
So a URL like
Code:
www.example.com/search.cgi?xml=true
All pages have the Request Header 'Accept-Encoding: gzip, deflate, br', but are not returned with the expected Response Header 'Content-Encoding: gzip'
Is it possible to have these requests returned compressed?
I've attempted changes to our .htaccess file, but nothing seems to be working.
I've attached our GZIP Compression Settings in LiteSpeed.
The XML type pages include a Request Header of:
Code:
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Code:
Content-Type: text/xml; charset=UTF-8
Last edited by a moderator: