Releases: nicjansma/resourcetiming-compression.js
Releases · nicjansma/resourcetiming-compression.js
v1.0.2
- Fixed decompression when multiple special entries exist
1.0.1
- Make hostname reversal configurable (#20)
- Add
naturalHeight
and naturalWidth
to dimensionData (#20)
1.0.0
- 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
- Better
src
attribute capture and HREF handling
- Look at
rect.height|width
for dimensions
0.3.3
Handle SVG:image elements
0.3.2
Decodes resource dimensions
0.3.1
Fixed capturing of resource sizes (bytes)
0.3.0
- 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
Add 'html' initiatorType for root page
0.2.1
Protect against X-O frame access that crashes some browsers