Earlier quoted context omitted.
HTTP/2 happened. HTTP/2 allows you to send HTTP requests over a single TCP connection per domain. Headers are compressed. The request overhead is minimal compared to HTTP/1.x. Caching one big file has the draw back of busting the cache each time the file is updated for any small change. Caching multiple small files allows you to have a finer grain cache. Only bust the things that updated. And, since it's all the same…
>HTTP/2 allows you to send HTTP requests over a single TCP connection per domain. HTTP/1.x definitely has support for this. Not using it actually may get your IP temporarily blocked from many sites.
CSS and JS code coverage in Chrome DevTools
51–60 of 130 posts
Re: CSS and JS code coverage in Chrome DevTools
#52Earlier quoted context omitted.
HTTP/2 happened. HTTP/2 allows you to send HTTP requests over a single TCP connection per domain. Headers are compressed. The request overhead is minimal compared to HTTP/1.x. Caching one big file has the draw back of busting the cache each time the file is updated for any small change. Caching multiple small files allows you to have a finer grain cache. Only bust the things that updated. And, since it's all the same…
Can't you do that already by reusing the 1.1 connection? Or is the 2.0 change that requests are now parallel?
Re: CSS and JS code coverage in Chrome DevTools
#53Re: CSS and JS code coverage in Chrome DevTools
#54 Updates are disabled by your administrator
"}Guess I will only be able to comment on these when I get home. The full screen screenshot feature is going to be a welcomed addition. I will especially have to teach it to the BA's since they always want to take screenshots to show to business when design is finished but test is still acting up.
Re: CSS and JS code coverage in Chrome DevTools
#55Re: CSS and JS code coverage in Chrome DevTools
#56Earlier quoted context omitted.
There's a record button in the Coverage tab - the solid filled circle. Allows you to record over multiple pages (either a SPA or normal site).
It looks like it does that. But the results are only for the last page. I tried it by triggering function A on page 1 and function B on page 2. The report showed function A as not used.
Re: CSS and JS code coverage in Chrome DevTools
#57Excellent timing, I had given up finding a good tool for coverage on JS and CSS and where right now using audits in Chrome trying to find unused CSS and searching through the code to find unused JS on our landing page. Even if it is hard for at tool to find everything that is unused on a page it will show what is used so we know what we don't have to check in the code
Re: CSS and JS code coverage in Chrome DevTools
#58Re: CSS and JS code coverage in Chrome DevTools
#59So I recorded my site for a while. Then sorted by unused bytes. What was on top? Google's own analytics.js
Re: CSS and JS code coverage in Chrome DevTools
#60It contains around 150 tips which I display as short, animated gifs, so you don't have to read much text to learn how a particular feature works.