Twitter | Pretraživanje | |
Guillermo Rauch
25.739
Tweetovi
2.544
Pratim
53.685
Osobe koje vas prate
Tweetovi
Guillermo Rauch 38 min
Odgovor korisniku/ci @danscan
I'm a huge fan
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 1 h
Odgovor korisniku/ci @chasers @logflare_logs i 4 ostali
🔥
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 2 h
Odgovor korisniku/ci @spikebrehm @dan_abramov @emplums
Yosemite. Basically the best place on earth.
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch proslijedio/la je tweet
Sriram Krishnan 15 h
Since I have some free time last couple of months, been dabbling more in code. Stuff I've been loving 1. Rust. Even more than golang. Dont @ me! 2. nextjs + zeit ( ). Everything JAMStack 3. and VSCode. (yes, this is very basic for a lot of folks here!)
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 17 h
Odgovor korisniku/ci @abhishektiwari @theshawwn i 2 ostali
Enterprises are happily using the platform because not managing purges and infrastructure gives them better performance and availability. Adding network hops and coordination results in headaches. I touched on this here:
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 17 h
Odgovor korisniku/ci @abhishektiwari @theshawwn i 2 ostali
We do this routinely with no issues. The missing cache goes to our highly-available storage system for the generated pages (if you are using SSG) If you are not using SSG, yes, we purge and then your functions will be invoked, but it's trivial to cache inside functions too!
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 17 h
Odgovor korisniku/ci @abhishektiwari @theshawwn i 2 ostali
In traditional CDNs, you are usually forced to set a `max-age` that impacts both the CDN layer *and* the customer. You tend to lose control. If you use the specialized `s-maxage` flag, then you are forced to purge yourself. That's the concern we automate and remove stress from.
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 17 h
Odgovor korisniku/ci @abhishektiwari @theshawwn i 2 ostali
I think it's key to add nuance to "caching" By default, all your assets are cached at the edge. They get purged when you re-deploy We don't set any defaults with regard to caching on your client devices. In fact, we believe clients should always get the *freshest*!
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 17 h
Odgovor korisniku/ci @abhishektiwari @theshawwn i 2 ostali
You can definitely do so, but you don't need to. That's why the CDN is integrated. The page I linked details in-depth how to customize.
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 18 h
Odgovor korisniku/ci @abhishektiwari @theshawwn i 2 ostali
Caching is automatic. There's absolutely no need to customize headers, that's one of the most interesting features of the platform… All static assets go to the edge, and purging is automatic/realtime. For functions, just return `cache-control`:
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 18 h
Odgovor korisniku/ci @wesbos @timneutkens
Yep! Basically producing those is what the JS bundler is already good at for the client side ("common chunks"), so we can extend it for functions 🔜
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 18 h
Odgovor korisniku/ci @timneutkens @wesbos
You could even generate function *layers* of common deps for even faster boot times and deploys 😲🤯
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 18 h
Odgovor korisniku/ci @diogenesosilva @zeithq
Obrigado
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 21 h
Odgovor korisniku/ci @jjaybrown98 @zeithq
Something that might be helpful is recording all outgoing HTTP requests by using web inspector while navigating all pages. Then re-play all those requests later in bulk.
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch proslijedio/la je tweet
derrick reimer 22 h
Payments are officially in early access!
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 22 h
Wow! is gaining the ability to accept payments 🔥 📵 Nocode implementation 😌 Users don't leave your site 💳 Powered by Stripe 🎨 Only frontend skills required 🔌 Integrates easily with Nice job
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 23 h
Odgovor korisniku/ci @PierB @dhh @zeithq
the feeling of a monolith*
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 23 h
Odgovor korisniku/ci @PierB @dhh @zeithq
Correct. Combining static assets and functions in one repo gives you the feeling of a monorepo w/o any of the downsides. Faster rolls, pushing static parts directly to the edge, individual functions for each API endpoint, etc.
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch 5. velj
Odgovor korisniku/ci @matfrana @_ijjk
Wrap your exported page’s component in it? Not sure I understand fully. cc
Reply Retweet Označi sa "sviđa mi se"
Guillermo Rauch proslijedio/la je tweet
Eric Eriksson 5. velj
god damn I can't recommend you strongly enough. Zeit Now is down-right magical and Next.js just makes so. much. sense. Thank you for removing so much of the mind-numbing struggle that comes with React.
Reply Retweet Označi sa "sviđa mi se"