SPF 23 (v2.3.0)
The SPF 23 (v2.3.0) release includes the following features:
- Preconnecting to links is now supported (#124)
- Include
<link rel="spf-preconnect">
tags to preresolve DNS and open a
connection early for decreased latency
- Include
- Cached and prefetched state is now available for multipart responses (#333)
- Use
timing.spfCached
andtiming.spfPrefetched
during part processing
- Use
- As advanced option, XHR
responseType="json"
is now supported (#317)- This moves JSON parsing off of the main thread to reduce CPU contention
but prevents processing chunked responses on-the-fly (and therefore
eliminates much of the performance benefits of multipart responses).
Set theadvanced-response-type-json
config to enable the feature.
- This moves JSON parsing off of the main thread to reduce CPU contention
This release fixes the following bugs:
- Cached and prefetched responses are no longer delayed by 1s in WebKit
browsers when in the background (#337)
This release includes the following optimizations: