Barry Pollard

11.6K posts

Barry Pollard banner
Barry Pollard

Barry Pollard

@tunetheweb

Chrome Dev Rel helping make the web go faster!. All opinions my own. I’m primarily on 🦋 these days.

Cork, Ireland Katılım Temmuz 2015
900 Takip Edilen6.3K Takipçiler
Barry Pollard
Barry Pollard@tunetheweb·
@xopek59 FYI, we (Chrome) are changing the values of this and this will start to be rolled out to users from next week: chromestatus.com/feature/633037… If you are blocking based on values of 16 or 32, then this will block real users going forward!
English
0
0
1
4
Barry Pollard
Barry Pollard@tunetheweb·
@domenic My vote is for you to get pulled back into that world… we miss ya! And especially your guidance.
GIF
English
0
0
3
432
Domenic Denicola
Domenic Denicola@domenic·
Very tempted to write up a response to blog.cloudflare.com/a-better-web-s…... It has some good points but a lot of questionable ones and some that are just confused and wrong. But I'm not sure I want to get pulled back into that world.
English
5
8
107
39.5K
Barry Pollard
Barry Pollard@tunetheweb·
Don't suppose anyone in my circle knows anyone working at X engineering? Need to discuss a potential issue preventing some users from Chrome 146 logging in. @XDevelopers @XEng
English
1
0
2
609
Barry Pollard
Barry Pollard@tunetheweb·
Is there anything more frustrating in the world that trying to create a child's @EA games account? Inconsistent login options (Google sometimes appears, sometimes doesn't), you need a desktop app not a mobile app, you can't login using EA ID online, but can't set an email. Sigh…
English
0
0
4
424
Barry Pollard
Barry Pollard@tunetheweb·
@NigelWhitworth You have both `height` and `width` set to `auto`, meaning the browser doesn't know how to use those supplied dimensions. You only need to use `auto` if setting a max-width (or max-height) and should only set `auto` to whichever you aren't setting a max value for.
Barry Pollard tweet media
English
0
0
0
10
Barry Pollard
Barry Pollard@tunetheweb·
@iSaumya Sure do that. Will take a look when I get a chance!
English
0
0
0
32
Saumya Majumder
Saumya Majumder@iSaumya·
@tunetheweb This is not a widespread issue. I have seen this issue on a few sites and ensured that the pages are not speculated before. If you want, I can DM you a screen recording and HAR. I've looked at everything, but this makes no sense. Same outcome whether I use prefetch or prerender
English
1
0
0
16
Saumya Majumder
Saumya Majumder@iSaumya·
Hi @tunetheweb, I've recently come across a weird edge case issue with the speculation rule. That is when a page is prefetched or pre-rendered, the cookies are not passed, causing the page content to be different. It's sporadic and not easily reproducible. Any idea how to solve?
English
1
0
0
131
Barry Pollard
Barry Pollard@tunetheweb·
@iSaumya I’m not aware of a general issue where cookies are randomly not sent. And I’ve helped a lot of people implement Speculation Rules on a lot of sites. So something specific must be happening that triggers this for your site.
English
1
0
0
51
Barry Pollard
Barry Pollard@tunetheweb·
@iSaumya I would suggest: 1) Reading that doc in full. 2) Trying to figure out how/why this is happening. It may seem random but there will be a reason. 3) Creating a minimal reproducible test case so we can investigate further. Unfortunately without that, it’s difficult to help further.
English
1
0
0
50
Barry Pollard
Barry Pollard@tunetheweb·
@iSaumya No, not necessarily. I’m saying prefetch usually has less consequences than prerender, as JavaScript doesn’t execute (e.g. if basket count is fetched dynamically from client-side API call). If the basket count is in the HTML then both prefetch and prerender can have this issue.
English
2
0
0
23
Saumya Majumder
Saumya Majumder@iSaumya·
@tunetheweb Also, you recommend using prefetch than preload to mitigate this out-of-date issue? Cause in the doc I'm not sure there is an easy global way to fresh prerender on each hover. As that's what should happen.
English
1
0
0
19
Barry Pollard
Barry Pollard@tunetheweb·
@iSaumya And can you explain what you mean by the cookies being missing? They aren’t there in the prerender HTML request in the Network tab in DevTools? Or they are no longer in the cookie store in the Application tab in DevTools?
English
1
0
0
40
Barry Pollard
Barry Pollard@tunetheweb·
@iSaumya Of if the page with 0 basket is cached from previous visit? Do you allow caching of your HTML pages? (I’m not that familiar with Woocommerce to be honest but is the basket count part of the HTML? Or fetched by an API call on page load?)
English
2
0
0
52
Filip Ganyicz
Filip Ganyicz@ganyicz·
This css unit DESTROYED our performance ☠️
Filip Ganyicz tweet media
English
31
104
1.9K
259K
Barry Pollard
Barry Pollard@tunetheweb·
@NigelWhitworth @Google @JohnMu Usually means there's not enough Android Chrome visits to cross our publishing threshold (maybe you have a lot of iOS traffic that doesn't get measured in CrUX?), but you do get sufficient Chrome desktop visits. More details on eligibility critieria here: #eligibility" target="_blank" rel="nofollow noopener">developer.chrome.com/docs/crux/meth…
English
0
0
0
54
Nigel Whitworth
Nigel Whitworth@NigelWhitworth·
How can one of my site's CWV pages disappear on Mobile but still exist on desktop? Does anyone have this trouble? Site is responsive so showing same page to both types. @tunetheweb @Google @Johnmu #CWV
Nigel Whitworth tweet media
English
1
0
0
66
Barry Pollard
Barry Pollard@tunetheweb·
@iamakulov If you measure time between rAFs you’ll likely see 60Hz a lot of the time. Even on monitors that support more. Thats my experience anyway.
English
0
0
1
40
Barry Pollard
Barry Pollard@tunetheweb·
@iamakulov I’ve not been able to find definite info so I hand waved it there but some issues: - What monitor uses (e.g. Apple’s Promotion dynamically adapts) - Multi-monitor setups - Main thread and compositor may rate be different. - rAF may be throttled TLDR: it’s complicated
English
1
0
1
45