2020-08-24 Source of topic: http://www.h-camel.com/index.html
[html] Which tag of html can be preloaded?
Methods to improve resource loading speed through browser features:
1.DNS prefetching The speed of DNS resolution can be pre-resolved through the label below
<link rel=”dns-prefetch” href=”//weibo.com”>
2. Preconnect is similar to DNS pre-resolution, preconnect will also do TCP handshake and TLS negotiation
<link rel=”preconnect” href=”http://css-tricks.com”>
3. Prefetching guesses which specific resource the user will access next. Prefetching can be used to preload certain resources
<link rel=”prefetch” href=”image.png”>
4.Prerendering pages pre-rendered pages, a better loading method
<link rel=”prerender” href=”http://css-tricks.com”>
5. Preloading new features Compared with prefetching, preloading will make the browser download the specified resource anyway
<link rel=”preload” href=”image.png”>
6.H5 music preload preload = "auto"
<audio src=”music.mp3″ autoplay=”autoplay” loop preload=”auto” id=”sendid2″></audio>
Reprinted from: https://www.cnblogs.com/asbefore/p/8532963.html
[css] How do you solve when you forget a certain css?
transform: translate();
box-shadow
animation
text-shadow reference: https://www.cnblogs.com/xuying/p/4658215.html
background: radial-gradient(center,ellipse cover,#ffffff 72%,#dddddd 100%);
[js] How to create a private method using js?
The method defined in the class constructor is the private method; the newly declared variable in the constructor is the private variable.
[Soft Skills] How does web caching need backend or operation and maintenance?
Web front and back caching technology https://blog.csdn.net/yzj5208/article/details/82080868