Reports + JS

Reports + JS

Please can you output minified versions of the JS files that the reports need? Preferably also globbed together into a single file? This would make publishing to a build-server's artifacts store simpler, and would also improve the loading speed when the user views them via the build-server web-interface (which is by far the most common use-case over here for viewing reports).

Also, include scripts at the bottom of the page before the closing tag? YSlow! recommendations.

Finally; is it possible to generate the reports such that they link to assets from a fixed location, so that each report doesn't have to include the assets? For example, something like: ncover.reporting.exe .... //assets http://myserver.com/ncover_assets and then in your distribution, include a directory that I can deploy to my webserver (at present I guess you're including the JS and images etc as embedded resources...?).


RE: Reports + JS

We have added this to our feature tracking system.

The files would not load any faster minified if the http content expiration was set up to only request the new file once a day.

Thank you,

Joe Feser


RE: Reports + JS

Yeah; I don't know how to control Tomcat's cache-policy headers (Tomcat because I've got TeamCity set up). I also don't know how to tell it to apply gzip/deflate compression to stuff. No time ;-)