Open justinhelmer opened 3 years ago
If it is due to the gzip content you may need to look at the gzip example https://github.com/No9/harmon/blob/master/examples/gzipped.js
It is actually the non-gzipped URL that is not working.
Also from what I can tell by reading through the source, gzip is supported by this module already (as is proof by the fact that the gzipped page intellimize is working)
I apologize if this is actually an issue with the underlying
trumpet
module but this seems like the right place to start.For some sites, everything works perfectly. For others, no selector matching works. Digging into the code, I can see that the selectors are being registered with
tr.selectAll
(one forhead
and one forbody
), but the callbacks are being invoked.The only obvious difference between the two sites is that one is gzipped and one is not.
To reproduce:
npm install
dependenciesnode index.js https://www.intellimize.com
https://localhost:8000
Any help would be greatly appreciated.