7 ms·
Its a static site (Gatsby) hosted on Amazon CloudFront. Almost everything is inlined.
by cotillion 5y ago
Its a static site (Gatsby) hosted on Amazon CloudFront.
Almost everything is inlined.
- monsieurbanana 5y agoI'm seeing many json calls that return the content showed in the page.
- qeternity 5y agoIt's json yes but not an api. They are serving json blobs from their cdn which are prefetched. It's a good site, but nothing particularly clever going on.
- yunohn 5y agoJSON pre-fetched from a CDN sounds decently clever to me? If it’s making their website fast, that’s what matters.
- spoonjim 5y agoYes, I think the point of saying "nothing clever going on" is to indicate that everyone can and should be doing this. It doesn't take some kind of Steve Wozniak to accomplish.
- yunohn 5y agoI believe there is a healthy amount of cleverness available between “Nothing clever” and “Wozniak clever”, and I find it hard to agree with you.
- spoonjim 5y agoSure, but this doesn't really do any of that. If you just ship an inlined static site it will be this fast. You don't need any real "technologies" to do this. You just need leadership who will push back on the marketers/PMs who want to ship an entire petting zoo of third-party analytics trackers and A/B plugins.
- yunohn 5y agoIf they’re using a framework to automate “inlining static sites”, and configuring it to be as fast as possible - I’d call that clever. Adding analytics scripts or A/B testing is actually still possible, and not precluded by this method. If you prefer to do this manually to prove a point to your marketing team, go right ahead. But please don’t put down actual good work, just because you have high standards for what is “clever”.
- qeternity 5y agoIt’s good, it’s not particularly clever but as another comment says, that doesn’t really matter. Everyone should be doing this. It doesn’t have to be json payloads. We do the same with lazy loaded react components which are served directly from our cdn as needed. Probably not quite as efficient given react overhead but the effect is similar.
- bayindirh 5y agoIf it's working well, does it have to be clever?
- secure 5y agoReminds me of https://github.com/turbolinks/turbolinks https://github.com/turbolinks/turbolinks
- aliswe 5y agoDo you have any explanation why it gets such a horrible Page Speed score on Google? https://developers.google.com/speed/pagespeed/insights/?hl=sv&url=https%3A%2F%2Ftink.com%2Fblog%2Fnews%2Fvisa-acquires-tink%2F https://developers.google.com/speed/pagespeed/insights/?hl=s...
- dan-robertson 5y agoA few resources are slow to load