sitespeedio / compare

Compare HAR files.
https://compare.sitespeed.io
MIT License
110 stars 19 forks source link

Uses browsertime.har.gz instead of browsertime.har #109

Open SunnyGurnani opened 3 years ago

SunnyGurnani commented 3 years ago

When inferring Har Path from PageURL Compare is trying to find file browsertime.har.gz whereas SiteSpeed.io is creating browsertime.har

Test with Following https://dobermanv2.s3-us-west-2.amazonaws.com/sitespeed-result/2020/10/19/xGIVIfF4e-control/pages/www.realtor.com/index.html

Following is the error Failed to fetch JSON from https://dobermanv2.s3-us-west-2.amazonaws.com/sitespeed-result/2020/10/19/xGIVIfF4e-control/pages/www.realtor.com/data/browsertime.har.gz. Error: Forbidden

soulgalore commented 3 years ago

Hi @SunnyGurnani I didn't fully get where its wrong? Is the compare button where the link is broken? Can you show me with a screenshot?

SunnyGurnani commented 3 years ago

image

soulgalore commented 3 years ago

Aha thanks so we take for granted its gzipped. I guess the workaround then is to try to fetch both and if the first fail, try the other one.

yashgarde commented 1 month ago

Was this ever addressed because I believe I am still encountering this on compare.sitespeed.io when providing URL's to sitespeed results.

soulgalore commented 1 month ago

@yashgarde no, easiest for now is to use --gzipHAR in sitespeed.io so the HAR files are gzipped.