• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 1356

  • 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 23rd 2018 replying to this from @sarah_edo
@sarah_edo @thekitze @HugoGiraudel +1
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @mairamartinsk
@mairamartinsk @Netlify Marvelous!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash @Netlify Aha! I see. Let me learn some more and let you know what I find.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash @Netlify I wonder what the performance trade-off is in having brotli compression on your DO droplet, versus having distributed CDN edge nodes caching things for you, but without brotli.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash Gzipping and caching is done at the CDN level for you. The thing that first pursuaded me to try @Netlify over GH pages was a desire to control caching headers.

Netlify's defaults are already great, but you can also take control if you prefer.

Hint: https://www.netlify.com/docs/headers-and-basic-auth/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash 👍
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash Interesting! Pretty sure that won't currently work on Netlify either I'm afraid. Let me come back to you once I've chatted to the platform team later.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash It's a bit beyond my current understanding, but I'll share some details after I've chatted to our platform team. I know that this is a fairly common request, but something we are being very careful about.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash @Herschel_R @DKundel @Netlify @glitch @jsunconf @jekyllrb Not currently. There is some complexity around that which makes it a difficult default without adversely effecting CDN performance.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @_munter_
@_munter_ @_phzn @philnash @Herschel_R @DKundel @Netlify @glitch @jsunconf @jekyllrb Yes! I think another selection might need sharing soon. With #mochajs amongst them.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philhawksworth
@_phzn @philnash @Herschel_R @DKundel @Netlify @glitch @jsunconf @jekyllrb Also perhaps of interest, since you asked about push-to-deploy:

https://medium.com/netlify/10-netlify-features-to-surprise-and-delight-225e846b7b21
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @_phzn
@_phzn @philnash @Herschel_R @DKundel @Netlify @glitch @jsunconf @jekyllrb Yep.
On any branch(es).

These and other features have been popular with quite few open source projects who host their sites on @Netlify, to name just a few:

https://twitter.com/Netlify/status/985979973491032065?s=19
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @anildash
@anildash @philnash @DKundel @Netlify @glitch @Herschel_R @jsunconf "...ability to ask for live help with code..."

😍
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @_phzn
@_phzn @philnash @Herschel_R @DKundel @Netlify @glitch @jsunconf @jekyllrb Very. You can do all of this on the free plan (and much besides).

The number of free form submissions each month is limited, but scales elastically. The limit on monthly bandwidth is so high you'd need to be a *beast* to reach it.

Hooks, notifications, rollbacks etc - all free.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @philnash
@philnash @Herschel_R @DKundel @Netlify @glitch @jsunconf I'd venture these as a start (available on @Netlify, but not GH Pages, AFAIK):

➡️ Free, auto-renewing certs for https
➡️ Support for @jekyllrb plugins
➡️ Support for any SSG you prefer
➡️ Integrated form handling
➡️ Preview builds from pull requests
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 23rd 2018 replying to this from @jaffathecake
@jaffathecake Probably won't put in an offer, but it certainly is time to binge my way through ALL of Spaced again.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @kylemathews
@kylemathews @chrisbiscardi @oliverturner @Netlify @VeryThorough Cool. Curious though: do you rebuild all sites no matter which one has received code changes? Or are you doing something crafty?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @SquishyCat
@SquishyCat @Netlify I've been there!
(I bet I'll be there again)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @DKundel
@DKundel @Netlify @glitch @Herschel_R @jsunconf This slide!
I like it a lot.

😎
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @chrisbiscardi
@chrisbiscardi @JeremyMorrell @Netlify The tricky bit is that every site in that monorepo would share and be triggered to rebuild by the same git hook. So all sites would rebuild no matter which one changed.

Maybe the build script of each site could test git logs to see if files in its scope where part of the commit?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @stefanjudis
@stefanjudis @nuxt_js @contentful @Netlify Trying to ignore it. Let's see tomorrow. :)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @stefanjudis
@stefanjudis @nuxt_js @contentful @Netlify You are safe to play with this. The only thing you can hurt is your own deploy. It is not advertised widely due to the complexity inherent in managing your own caching mechanics, which would likely generate a lot of support requests from people getting unexpected deploy results.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @stefanjudis
@stefanjudis @nuxt_js @contentful @Netlify I recently discovered this undocumented ability, which may be useful!

See the gulp file for where the build cache gets used.

Difficulty comes in managing your caching. Netlify can't help you there, so you'd be on your own if you need to debug it.

https://github.com/philhawksworth/content-shards
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @JackPrior_Cleo
@Jack_RedCat @thekitze It depends on what you mean by "finish". Even after many dozens of hours researching, writing, designing, and practicing a talk, I don't consider it finished. Final fine-tuning is standard.

The only reasons to need it advance are trust or preloading for display. Neither is good.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 22nd 2018 replying to this from @alexnmoldovan
@alexnmoldovan @Jack_RedCat @thekitze Even if I've given a talk before, I don't like to "freeze" it by sending slides in advance. The ability to tune it during final run-throughs (often the night before), or update with latest info is crucial to me. And being able to respond to, or echo other speakers feels valuable.
  • 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.