Top-Q / difido-reports

This project aims to provide a generic implementation for HTML test reports.
http://top-q.github.io/difido-reports
Apache License 2.0
47 stars 31 forks source link

Add an option to serve archived (gzipped) resources #199

Closed itaiag closed 6 years ago

itaiag commented 6 years ago

if we set enable.archived.resources=true in the properties file we will be able to store ONLY the .gz version of the resource and return it to requesting client if the original version is not found.

Consider a request for a resource test.js The flow will be the following if test.js exists if test.js.gz exists and supported by browser return test.js.gz else retrurn test.js else if test.js.gz exists and return if so (but still report the original resource's name)

else return null (as we would anyway).