web-performance | W3C Web Performance Working Group | Frontend Framework library
kandi X-RAY | web-performance Summary
kandi X-RAY | web-performance Summary
W3C Web Performance Working Group repo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of web-performance
web-performance Key Features
web-performance Examples and Code Snippets
Community Discussions
Trending Discussions on web-performance
QUESTION
Is there a recommended approach for code splitting in Expo web projects?
I cant find anything in the docs, even on the web performance page: https://docs.expo.io/guides/web-performance/
Im surprised as this something a lot (possibly most) web apps are going to want to do. If it's not officially supported is there a workaround?
...ANSWER
Answered 2020-May-06 at 16:59With @expo/webpack-config, mentioned in Presets section, it should.
According to this fragment in optimization addon it should supports SplitChunk, and according to outputs configuration it should supports Dynamic imports in production
mode.
For example: building basic expo example project "with some tabs" will produce in web-build/static/js
, something like this:
QUESTION
Google QUIC is a new transport protocol. It uses UDP and provides a very nice set of features:
- It doesn't need an initial handshake (0-round-trip)
- It has security features by design (combination of TLS and TCP)
- It brings the concept of streams, which is great for avoiding the head of the line problem and perfect for HTTP2 (https://community.akamai.com/community/web-performance/blog/2017/08/10/how-does-http2-solve-the-head-of-line-blocking-hol-issue)
- The congestion control algorithm is in user space and can be replaced easily
In their SIGCOMM17 publication, they've discussed some performance benefits of QUIC, but my question is:
Do we have a real need to abandon traditional TCP-based technologies and move to QUIC? What is a killer application for QUIC? Is there anyone else apart from Google guys who uses QUIC or at least feel he or she should do that?
My feeling is that we had opportunities to achieve most of those promised benefits by using existing systems like TCP fast open or Multipath TCP.
...ANSWER
Answered 2018-Mar-09 at 18:13QUIC is a good alternative for HTTP transport when fetching small objects and TCP's handshake overhead doesn't really pay. Additionally, it may have an advantage when TCP stumbles because of high packet loss.
TCP still pays off when transferring substantial amounts of data as it handles packet loss, congestion, ... by itself (which QUIC also does but in a less well-known/accepted way).
Time will tell if this approach catches.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install web-performance
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page