Subscribe: Disqus - Latest Comments for andydavies
http://disqus.com/people/andydavies/latest.rss
Preview: Disqus - Latest Comments for andydavies

Disqus - Latest Comments for andydavies





Last Build Date: Fri, 06 Jan 2017 13:59:40 -0000

 



Re: Visiting a site that uses Disqus comments when not logged in sends the URL to Facebook

Fri, 06 Jan 2017 13:59:40 -0000

I'd noticed it and was planning to use the Content-Security-Policy header to prevent it




Re: Saving 7 terabyte a day: fixing Font Awesome's fonts

Sun, 11 Dec 2016 15:00:28 -0000

Yeh but there's no guarantee that it will be in the browsers cache, and if it's not then there's the overhead of a DNS lookup and new TCP connection (possibly involving TLS negotiation) to a new host.

Based on studies from Facebook (and previously Yahoo!) it appears responses don't remain in the cache for very long - https://code.facebook.com/p...




Re: Accelerated Mobile Pages - I’ve Got More Questions Than Answers

Sat, 07 May 2016 05:41:37 -0000

Thanks for letting me know, should work now - the permissions appear to have got broken somewhere




Re: Eliminating Roundtrips with Preconnect

Mon, 17 Aug 2015 15:33:36 -0000

Looking at the messages that come through the extension API, it appears there's nothing that WPT can use to pickup the timings for the preconnect phases.




Re: Eliminating Roundtrips with Preconnect

Mon, 17 Aug 2015 15:01:29 -0000

In the test that uses the Link: header (http://www.webpagetest.org/... looks like the DNS / connect / TLS times for fonts.gstatic.com get lost by WPT

Do the Chrome extension APIs even track them in this scenario?




Re: How the Browser Pre-loader Makes Pages Load Faster

Mon, 11 May 2015 08:34:29 -0000

It's a scan of the whole document (though earlier versions of Chrome used to only scan something like the first 15KB so other browsers may still do that)




Re: Parashuram's blog: Icons - Font, Inline SVG or Background SVGs ?

Fri, 08 May 2015 11:26:13 -0000

OK, will make the changes and submit a PR




Re: Parashuram's blog: Icons - Font, Inline SVG or Background SVGs ?

Fri, 08 May 2015 06:56:40 -0000

Did you consider trying image tags with datauri's or external svgs

e.g. (image)




Re: Apple MackBook USB-C Connector is a “Docking Station”

Wed, 18 Mar 2015 10:40:15 -0000

Surely the docking station of the future will be a monitor that supplies power and connectivity via a USB-C connector.

Apple could have easily put a second USB C connector on the MB as the new ChromeBook pixel does e.g. for people to charge their phone but decided we need a clunky adapter instead :-(




Re: How to: Create an ‘all-in-one’ WebPageTest Private Instance

Wed, 28 Jan 2015 07:18:41 -0000

Do you want it to be treated as a separate agent i.e have a separate work queue, or do you want it to share the load with the local machine agent.

To be a separate agent you'll need to install the software on the VM, configure locations.ini on the server with a new location, and then wptdriver.ini on the agent with the new name.

If it's to share the work just use your existing wptdriver.ini and make sure the addresses point to the right ip address / host name




Re: How to: Create an ‘all-in-one’ WebPageTest Private Instance

Fri, 23 Jan 2015 08:22:17 -0000

Cool, glad you go it going - I working on ways of being able to automate the install to make life easier




Re: How to: Create an ‘all-in-one’ WebPageTest Private Instance

Mon, 19 Jan 2015 05:09:09 -0000

My guess is the path to Chrome and Firefox aren't correct:

The paths above are for 32 bit windows, on 64 bit windows they'll be in Program Files (x86) so paths need updating




Re: How to: Create an ‘all-in-one’ WebPageTest Private Instance

Thu, 27 Nov 2014 05:51:29 -0000

My guess is that php's not configured in Apache




Re: Loading webfonts with high performance on responsive websites

Wed, 22 Oct 2014 10:40:36 -0000

I'm not sure I agree that "it only takes *a* site to take one for the team" as there's no guarantee that once a font is downloaded how long it will stay in the cache - we're building sites that consume more and more cache, and using many different fonts from many different foundries.

Not sure I follow the bigger question of when browsers are going to become more responsible - originally browsers didn't block waiting for the font and display the page anyway until we (devs and designers) complained we didn't like the experience it gave our visitors, so instead they started waiting for font.

Ilya's got an interesting proposal to allow us to have greater level of control, but we'll still have a challenge when we choose to use a font - https://github.com/igrigori...




Re: Loading webfonts with high performance on responsive websites

Tue, 21 Oct 2014 04:04:22 -0000

Even with a cache lifetime of a year there's no guarantee that the font file will stay in cache, as depending on how frequently it's used a browser is likely to eject it so it can cache other content




Re: Optimizing the Critical Rendering Path

Fri, 17 Oct 2014 04:56:14 -0000

Key thing to remember with webfonts is they block rendering in Safari, Chrome, Opera and Firefox - the last three wait 3 seconds before timing out and falling back to a default font, Safari waits longer.

But…

The browser doesn't know which fonts it needs until the render tree is being built i.e. until the CSS styles are matched against the DOM, and only then does it request them - it's one of the reasons fonts can be such a painful user experience on slow networks.

We then get into the tradeoff of base64 encoding fonts which of course results in larger CSS, so longer download and later construction of the render tree, which is why people go down the route of storing them in localStorage.

Ilya Grigorik put together a great idea for controlling font-blocking behaviour in more detail - https://github.com/igrigori...




Re: Optimising for 60fps everywhere

Tue, 29 Jul 2014 15:08:58 -0000

Optimising for 60fps it great but it would also be good if your beacon didn't ping the server every 5 seconds as it's going to keep the radio awake and ultimately help kill people's batteries




Re: RWD Bloat - daverupert.com

Fri, 25 Jul 2014 09:12:52 -0000

Have you considered subsetting Open Sans to say just the Latin glyphs? https://developers.google.c...

Doing that reduces the size by around a third (http://www.slideshare.net/A...




Re: Londoners face a 36pc in stamp duty as homes are set to hit £500,000

Thu, 17 Jul 2014 13:20:18 -0000

And the evidence is?




Re: Londoners face a 36pc in stamp duty as homes are set to hit £500,000

Thu, 17 Jul 2014 06:42:38 -0000

On the contrary we use roughly as much land for golf courses are we do for housing, see http://www.bbc.co.uk/news/m... and http://www.huffingtonpost.c... for example




Re: Londoners face a 36pc in stamp duty as homes are set to hit £500,000

Thu, 17 Jul 2014 06:04:13 -0000

We've got plenty of golf courses we could build on!




Re: One of the most destructive taxes of the past 40 years could soon be axed

Wed, 16 Apr 2014 03:36:18 -0000

UK manufacturing industry was dead in the 70s, Thatcher's mistake was not to encourage other manufacturing to replace it (we can argue things like encourage Nissan did to an extent)




Re: One of the most destructive taxes of the past 40 years could soon be axed

Wed, 16 Apr 2014 03:30:56 -0000

Why should retired people be given special dispensation - they're amongst the biggest gainers in the property boom we've have, pension costs are the largest component of the social security budget (you don't see politicians mention that), and the cost of supporting ever increasing life expectancy is huge.




Re: Why is my CDN 'slow' for mobile clients?

Sun, 30 Mar 2014 16:31:36 -0000

A while ago someone in the UK who does network design for operators told me that different operators have different approaches e.g. Vodafone had multiple egress points, and O2 had one.

Given the UKs small size and concentration of peering in London not sure one approach really has benefit over the other from backhaul latency perspective.




Re: How rich are you?

Mon, 24 Mar 2014 14:00:25 -0000

Another article that confuses income with wealth, how many billionaires actually really work and is a pensioner on say 20K a year living in a 400K house poorer than someone earning 50K / year living in a 400K house with a 200K mortgage?