摘要:
default-src "none"; script-src "self"; img-src "self" example.com; style-src fonts.googleapis.com; font-src fonts.gstatic.com; <script src="/js/app.js 阅读全文
摘要:
1. Time To First Byte (TTFB): This is a measurement of the responsiveness of a web server. It is the time it takes from the user or client making an H 阅读全文
摘要:
So higher rank css will override lower rank css rules. Inline styles will override any other css rules. h1:not(.small-text) // 0011 - :not is not coun 阅读全文
摘要:
What gets logged when clicking button? <div id="outer"> <div id="inner"> <button id="btn">Click me!</button> </div> </div> const outer = document.getE 阅读全文
摘要:
TypeScript 5.2 will introduce a new keyword - 'using' - that you can use to dispose of anything with a Symbol.dispose function when it leaves scope. T 阅读全文
摘要:
Layout: This step invovles determining the geometry of the page. The browser calculates where each element will be on the screen, considering factors 阅读全文
摘要:
JavaScript, the programming language of the web, is often praised for its ability to handle memory management automatically. The JavaScript engine's g 阅读全文
摘要:
no-cache: validate cache as the latest one before using it. This means that a cache should not serve a stored copy of the response without validating 阅读全文
摘要:
https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming DNS domainLookupStart domainLookupEnd TCP / TLS connectStart secureConnec 阅读全文
摘要:
Recurisive DNS Resolver: This is the first stop in the DNS query process. When you type a URL into your browser, the request first goes to the recursi 阅读全文