Comments (7)
+1
from website.
Sounds like David just volunteered to do this. Good luck, I believe in you!
from website.
ahaha thanks! π€ π
from website.
website is using zeit now, not aws directly. zeit should be distributing things around the world automatically. see https://zeit.co/world
from website.
That Zeit World thing appears to be a DNS service. While Iβm sure it is fine, querying from a DNS server in Philadelphia (where I am) and the UK (for example) returns the same set of AWS IPs.
Unless I made a mistake here, even if the DNS is distributed, the servers hosting the content are not.
from website.
Sneaky use of this issue to segway into recommended recipe for cache busting file name generation and deployment.
Production builds utilise the filename of the relative path e.g.
<script src='./index.js'></script>
results in an index.js being generated, and other assets using a hash strategy for filenames.
I had a look at posthtml, that has a posthtml-cache plugin that generates uses a query string strategy to modify links, whereas I want a generated filename.
If I have a single publicUrl e.g. https://cdn/assets, will the generated filename hashes of assets ever result in conflicts in different builds which will result in browser caching serving an old version of an asset?
If not, I can optimise uploading of assets to only upload files that doesn't already exist in the CDN.
Thanks for any insights you can provide.
I don't have a lot of experience in CDN/deployment.
Anything Parcel can do to simplify this, or provide Recipes/Guides, is a big step up from everyone else leaving it to devs to figure out through pain.
from website.
Just enabled zeit's new cdn, which uses cloudflare under the hood. https://zeit.co/blog/now-cdn
from website.
Related Issues (20)
- Document shebang
- Add more docs for monorepos
- Rust native modules apparently require Windows Visual C++ packages
- Add Configuration section with some `.parcelrc` examples HOT 5
- parcel build fails on very basic configuration HOT 1
- [Plugin Search page]Error 400 is reported for page request HOT 2
- Recipe documentation says to install parcel-bundler, but that appears to be obsolete HOT 1
- Need atleast one example for outputFormat HOT 2
- Getting started suggests installing obsolete parcel-bundler HOT 4
- Update the React recipe for React v18
- Typescript ambient module have to be imported
- Telling Typescript about css modules
- Surface documentation for @parcel/transformer-css errorRecovery flag HOT 1
- Yyy
- Do we have a translation document, such as ChineseοΌ
- Brainstorming on color palette.
- `import assset from 'url:./logo.png';` isn't documented anywhere
- Svelte recipe does not work HOT 2
- Parcel org
- Overflow on Mobile View
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from website.