开发者 |
khromov
titanas |
---|---|
更新时间 | 2016年7月29日 06:43 |
PHP版本: | 4.0 及以上 |
WordPress版本: | 4.6 |
版权: | GPL2 |
/wp-content/plugins/
DNS prefetching is an attempt to resolve domain names before a user tries to follow a link, improving perceived page load time and user experience. Learn more about DNS prefetching here: https://www.chromium.org/developers/design-documents/dns-prefetching
Page pre-render loads and pre-renders all the assets of the page in a hidden tab. When user clicks on the link to open the page the browser just shows the page. No networking waiting. No resource download. Learn more about page prerendering here: https://www.chromium.org/developers/design-documents/prerender
Using rel='subresource' the browser gets hints about high priority files it needs to load as soon as possible. Critial CSS or JavaScript files are a good example. This feature enables early loading of resources within the current page. Because the resource is intended for use within the current page, it must be loaded at high priority in order to be useful. Learn more about HTML5 subresource here: https://www.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresource
Using rel='prefetch' the broswer gets hints about files that the user might use soon. The browser downloads the files during idle time and stores them in the cache. This feature enables proactive loading of resources the user will need in future pages. CSS or JavaScript files for reviews, gallery and video player plugins are good examples.