Skip to content

Releases: nicjansma/resourcetiming-compression.js

v1.0.2

12 Sep 01:32
b0fa3ac
Compare
Choose a tag to compare
  • Fixed decompression when multiple special entries exist

1.0.1

13 Apr 14:45
6ec6483
Compare
Choose a tag to compare
  • Make hostname reversal configurable (#20)
  • Add naturalHeight and naturalWidth to dimensionData (#20)

1.0.0

30 Aug 00:28
Compare
Choose a tag to compare
  • Breaking Changes:
    • Reverses hostnames in Trie entries (#10) for better compression
    • getResourceTiming() now returns an object of { restiming, servertiming }
      instead of just restiming (#17)
  • New Features:`
    • Adds ServerTiming data if available (#17)
    • Adds new initiator types (#15): beacon, fetch
    • Resource contribution scores (#16)
    • Adds async, body and defer flags for SCRIPT types (#16)
    • Adds naturalHeight and naturalWidth for dimensions (#16)
  • Bug Fixes:
    • Fixes max IFRAME recursion depth of 10 (#9)
    • Fixes compression algorithm for gzipped zero-byte payloads (#14)

0.3.4

15 Dec 00:38
Compare
Choose a tag to compare
  • Better src attribute capture and HREF handling
  • Look at rect.height|width for dimensions

0.3.3

20 Oct 21:01
Compare
Choose a tag to compare

Handle SVG:image elements

0.3.2

20 Oct 20:52
Compare
Choose a tag to compare

Decodes resource dimensions

0.3.1

20 Oct 20:50
Compare
Choose a tag to compare

Fixed capturing of resource sizes (bytes)

0.3.0

12 Jul 00:21
Compare
Choose a tag to compare
  • Captures dimensions (px) of resources
  • Captures resource sizes (bytes) from ResourceTiming2
  • Breaks certain URLs up slightly so they don't trigger XSS filters
  • Limits URLs to 500 characters, and adds the ability to trim other URLs
  • Don't go more than 10 IFRAMEs deep (to avoid recursion bugs)

0.2.2

12 Jul 00:21
Compare
Choose a tag to compare

Add 'html' initiatorType for root page

0.2.1

12 Jul 00:20
Compare
Choose a tag to compare

Protect against X-O frame access that crashes some browsers