News for hackers. Stuff that matters.
Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by toddmorey on Tuesday March 31, 2015 @12:40PM (#9297703)
Netlify is awesome--far and away the best option for static content that I've found, and very developer-focused.

There's a big list of pleasant surprises as you work with their platform:

* You can deploy a folder of static content quickly by just dragging it onto the browser window

* Better, you can set up continuous deployment with github and netlify will run your build command and deploy the result whenever you push to Github

* Even better, Netlify will install any needed dependencies from any Gemfile, package.json, bower.json or requirements.txt in the root of your repository, before running your build. Now you are open to a wide world of static site generators and build tools.

* There's a command line tool and a rich, well-documented API

* Clever: You can add a simple _headers file to define custom headers

* Great for migrations: a _redirects file can power some pretty complex rulesets

* Blew my mind: you can configure proxying so that external API endpoints appear to the browser to be coming from the same domain. This can greatly simplify the headaches around cross-origin resources.

* Bonus: HTTPS is supported

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by captn3m0 on Tuesday March 31, 2015 @01:11PM (#9298026)
I was saying "okay-ish" till I reached the last three points. Sounds amazing for Single Page applications.
Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by ecesena on Tuesday March 31, 2015 @02:26PM (#9298758)
Thanks for sharing these points, from a quick look at the site I couldn't figure out differences with GitHub pages.

Do you know how is the CDN working across the planet?

HTTPS & proxying look great! I'm hosting HasGluten.com [1] on GitHub and HTTPS is a big missing. Also, I'm using Google spreadsheet API (instead of a database) and proxying via my domain could be cool.

I was asking about the CDN, as one of the good things of GitHub+Google spreadsheet is (free) geo-distribution.

[1] http://github.com/hasgluten/hasgluten

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by bobfunk on Tuesday March 31, 2015 @02:34PM (#9298814)
Our CDN is global yes. Actually, when you deploy to netlify, we'll fingerprint all your assets (CSS, JS, images) and rewrite the URLs in your HTML so we can serve those straight out of Akamai's CDN with a 1 year max-age.

We run our own CDN for the actual HTML files, currently we have edge nodes in 7 datacenters around the work. This CDN is super optimized to this use case, which means you'll get a 90%+ cache hit rate on your HTML from our cache servers, while still getting instant cache invalidation whenever you push a new deploy.

This is also what allow us to do more complex things like proxying, OAuth1 request signing and pre-render support directly at the CDN level.

We currently beat all the services we run regular benchmarks again in our internal benchmarks for real user performance.

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by inthewoods on Wednesday April 01, 2015 @08:05AM (#9302956)
Very cool stuff - question - on the website you mention: "Those that need a CMS (major exception we know, but check in with us regularly - we are working on something huge), and those that need constant updating."

Can you give us any hint of what you're thinking about?

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by bobfunk on Wednesday April 01, 2015 @01:50PM (#9305436)
A bit too early to drop a lot of details in public, but feel free to write me ([email protected]) and I'll be happy to share more details.

We want to solve the issue of having non technical content editors when working with static site generators, without having to rely on an external content-store (ie. content should still just be flat text files in your repository).

Right now the workflow for developers is amazing with modern static site generators. We want to make sure it's great for content-editors as well.

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by ecesena on Tuesday March 31, 2015 @02:59PM (#9299029)
Really interesting, thanks. Hopefully I'll have some time to try it soon!
Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by detaro on Tuesday March 31, 2015 @03:38PM (#9299304)
Tiny nitpick on the page: why does clicking on "pricing" in the menu take me to a page where I have to scroll over multiple screens until I actually get to see the prices?
Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by walterbell on Tuesday March 31, 2015 @12:47PM (#9297773)
>ou can configure proxying so that external API endpoints appear to the browser to be coming from the same domain

Where is the proxy server running?

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by bobfunk on Tuesday March 31, 2015 @12:50PM (#9297807)
We do the proxying straight from our CDN nodes, so it basically works like putting a CDN in front of the app/site you're proxying.

This also means you have an HTTP cache in front of the proxied site, so if you use HTTP caching headers like max-age or Etag we'll respect that and do conditional get requests to the backend or serve cached responses straight out of our CDN.

Re:Show HN: Netlify – Builds, Deploys and Hosts Your Static ... by toddmorey on Tuesday March 31, 2015 @12:55PM (#9297851)
The proxies run on their CDN servers as I understand. I was just playing around with the proxy setup a bit to experiment, but I do plan to use this approach in a project if it proves successful.