Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default CDN #17

Closed
rauchg opened this issue Oct 16, 2016 · 2 comments
Closed

Add default CDN #17

rauchg opened this issue Oct 16, 2016 · 2 comments
Assignees

Comments

@rauchg
Copy link
Member

rauchg commented Oct 16, 2016

Per FAQ:

We intend for Next.js to be a great starting point for any website or app, no matter how small.

If you’re building a very small mostly-content website, you still want to benefit from features like lazy-loading, a component architecture and module bundling.

But in some cases, the size of React itself would far exceed the content of the page!

For this reason we want to promote a situation where users can share the cache for the basic runtime across internet properties. The application code continues to load from your server as usual.

We are committed to providing a great uptime and levels of security for our CDN. Even so, we also automatically fall back if the CDN script fails to load with a simple trick.

To turn the CDN off, just set { “next”: { “cdn”: false } } in package.json.

@nkzawa
Copy link
Contributor

nkzawa commented Oct 17, 2016

Do we use https://cdn.zeit.co ?

@rauchg
Copy link
Member Author

rauchg commented Oct 17, 2016

@nkzawa yep, since we already have the pipeline in place

@lock lock bot locked as resolved and limited conversation to collaborators May 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants