• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 180

  • Newest
  • Previous
  • Next
  • Oldest

The archive of what I posted on Twitter, which I now self host due to a lack of trust in Twitter and some other reasons.

I'll soon begin refelcting all my Mastodon posts here too. I'm happier self-hosting or maintaining an archive of my content on URLs that I can own.

There are tools to help you do this too. Such as this one from the makers of Eleventy.

A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @polarbirke
@polarbirke @hankchizljaw @eleven_ty @Netlify Ohhh!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020
RT @wilsond: Our final year web students have been putting together what we call 'self-initiated projects' - here's one about the JAMstack:…
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @wilsond
@wilsond @Netlify This is wonderful!
Kudos, @p_swies!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @polarbirke
@polarbirke @hankchizljaw @eleven_ty @Netlify Ha! It's a tough competition where we all win because the web gets faster.

(And also, these are build times for the entire 1200 page site, not client-side page render times. The build does the work, so your browser won't have to)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @philhawksworth
@donebysimon @eleven_ty @Netlify @devinekask @contentful @gatsbyjs @wesbos I'd be curious to hear of any concepts or techniques around Jamstack which people found confusing/interesting/valuable/challenging.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @donebysimon
@donebysimon @eleven_ty @Netlify @devinekask @contentful @gatsbyjs @wesbos Oh fantastic!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @philhawksworth
@hankchizljaw @eleven_ty @Netlify I've had about 10 more deploys since I upgraded to the @eleven_ty v0.10.0, and the average is around 6.8 seconds to generate those ~1200 (+10 now 😉) pages.

So if anything, it's a tiny bit slower. But the sample is too small and too narrow to be sure.

I could optimise my bits
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @piccalilli_
@hankchizljaw @eleven_ty @Netlify You convinced me.

Ok, I'll bump the version, test locally, and deploy it.
Then we can see how it compares in the Netlify Build infra.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @chrisbiscardi
@chrisbiscardi @eleven_ty @Netlify I've done nothing to optimise anything here in the build really. That Netlify time will be bootstrapping the build environment, restoring cached dependencies, running the build, packing the serverless functions and deploying to AWS, and the updating the caching in our global CDN
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @piccalilli_
@hankchizljaw @eleven_ty @Netlify I should upgrade @eleven_ty from v0.8.3 to v0.10 to see if it gets any sort of site generation speed bump. (Although I'm happy with this, and new pages are available instantly due to the serverless rendering as a fallback)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020
Happy to see this little demo still chugging away making lollipops for people.

🍭 https://vlolly.net

@eleven_ty takes ~ 6.5 seconds to generate almost 1200 pages.

@Netlify takes ~ 51 seconds to build and deploy the site and the serverless API

? 👉 https://css-tricks.com/static-first-pre-generated-jamstack-sites-with-serverless-rendering-as-a-fallback/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020 replying to this from @AtilaFassina
@AtilaFassina Likewise!
Either for this moment or for this moment in 2021.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 30th 2020
I feel seen.

https://emaildebtforgiveness.me/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @ksylor
@ksylor @Netlify I should look a little closer at your repo and potential site setup. But I think you could have PRs to content common to both trigger preview builds for each site.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @ksylor
@ksylor @Netlify I think I'd have 2 sites in Netlify. One for each domain. They can point at the same repo and serve the appropriate path. Then each could have the same _redirect rules, I expect. with rules relative to "/"
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @ksylor
@ksylor @Netlify Looks like your redirects are all relative to fully qualified domain names. So they won't pick up on other domains like Preview Builds (there's no match).

But if you made them root relative, you'd probably be good to go on any domain.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @ksylor
@ksylor @scottjehl @Netlify the _redirects file needs to be in the root of the folder which is published. Sounds like you're making sure of that by passing it through from eleventy, right @ksylor ?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020
People from 104 countries have registered to participate in @jamstackconf!

That boggles my mind! https://twitter.com/Netlify/status/1255482470952296453
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @ebrunborg
@ebrunborg @Netlify How odd. DM incoming.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020
I've had such affection for this event ever since its first year. Their effort and investment to make this really work as an online event is fantastic!

Just completed a great tech check with the production team, and I'm so impressed.

Oh, and the talks! ❤️

Join us next week! https://twitter.com/heypresents/status/1255114150612733955
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @philhawksworth
@ebrunborg @Netlify @sarah_edo Oops... that docs link should have been 👉 https://docs.netlify.com/configure-builds/get-started/#basic-build-settings?utm_source=twitter&utm_medium=support-pnh&utm_campaign=devex
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @ebrunborg
@ebrunborg @Netlify @sarah_edo Setting a publish directory in the UI should do it. I prefer to do this in a netlify.toml file so that my settings are in my site repo.

Docs 👉 https://docs.netlify.com/configure-builds/get-started/?utm_source=twitter&utm_medium=support-pnh&utm_campaign=devex#definitions
Embedded image from Twitter
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 29th 2020 replying to this from @DavidDarnes
@DavidDarnes Be prepared.

(In fairness, I have one very everybody. EVERYBODY)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 28th 2020 replying to this from @toddmorey
@toddmorey Terribly hard.

I went to the supermarket for groceries for the first time in weeks recently. I found the odd atmosphere and the anxiety about being amongst people quite overwhelming.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 28th 2020 replying to this from @zachleat
@zachleat @AndyDavies This is a complex relationship.
  • Permalink
  • |
  • Twitter
  • Newest
  • Previous
  • Next
  • Oldest

The source code of this site is available on GitHub and is hosted and updated by Netlify automatically after each code commit

Other than where specified, the content on this site is published under a Creative Commons Attribution 3.0 licence.

Subscribe to a feed of blog posts on this site.