简体   繁体   中英

Heritrix retrieves gzip CSS + JS

When I run Heritrix my web-server gzip's JS + CSS assets.

This is turning out to be a problem because when loading the .warc file through Wayback, it's still encoded as gzip.

I am unable to view the .css + .js files properly in the browser.

I am not sure what your question is:

When I run Heritrix my web-server gzip's JS + CSS assets.

Heritrix creates a warc and gzips it.

This is turning out to be a problem because when loading the .warc file through Wayback, it's still encoded as gzip.

It is compressed. Hence you can decompress it.

I am unable to view the .css + .js files properly in the browser.

Wayback Machine renders a web page from a warc file. It is not a file viewer.

If you want to have a look at the CSS files, decompress the archive with gunzip, open the warc file with an editor and search for it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM