Skip to content

SPF 23 (v2.3.0)

Compare
Choose a tag to compare
@nicksay nicksay released this 05 Oct 18:59
· 72 commits to master since this release

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
  • Cached and prefetched state is now available for multipart responses (#333)
    • Use timing.spfCached and timing.spfPrefetched during part processing
  • 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 the advanced-response-type-json config to enable the feature.

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:

  • Responses are now cached after parsing resources to avoid needing to parse
    them each time the response is used for navigation (#307)
  • Tests have been upgraded from Jasmine 1.3.1 to Jasmine 2.3.4 (#364)
    • Please re-run npm install after updating a local repo