-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Make playground links shorter #1516
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request was exported from Phabricator. Differential Revision: D52161884 |
86e4391
to
24a3e66
Compare
Summary: Right now playground links are URL encoded base64 of the code content. This leads to some pretty long links. Running a service, or needing to auth to some other service, seems like a lot more headache than it is worth, so this change instead tries to make the URLs a bit more reasonable. One minor saving is that we're URL encoding base64, instead of just representing using the url-safe variant of base64. But we can get more savings, even in small examples, using compression. This adds a popular, small, library to do that. Differential Revision: D52161884
This pull request was exported from Phabricator. Differential Revision: D52161884 |
Summary: Right now playground links are URL encoded base64 of the code content. This leads to some pretty long links. Running a service, or needing to auth to some other service, seems like a lot more headache than it is worth, so this change instead tries to make the URLs a bit more reasonable. One minor saving is that we're URL encoding base64, instead of just representing using the url-safe variant of base64. But we can get more savings, even in small examples, using compression. This adds a popular, small, library to do that. Differential Revision: D52161884
Summary: Right now playground links are URL encoded base64 of the code content. This leads to some pretty long links. Running a service, or needing to auth to some other service, seems like a lot more headache than it is worth, so this change instead tries to make the URLs a bit more reasonable. One minor saving is that we're URL encoding base64, instead of just representing using the url-safe variant of base64. But we can get more savings, even in small examples, using compression. This adds a popular, small, library to do that. Differential Revision: D52161884
24a3e66
to
abd1b1a
Compare
Summary: Right now playground links are URL encoded base64 of the code content. This leads to some pretty long links. Running a service, or needing to auth to some other service, seems like a lot more headache than it is worth, so this change instead tries to make the URLs a bit more reasonable. One minor saving is that we're URL encoding base64, instead of just representing using the url-safe variant of base64. But we can get more savings, even in small examples, using compression. This adds a popular, small, library to do that. Differential Revision: D52161884
This pull request was exported from Phabricator. Differential Revision: D52161884 |
Summary: Right now playground links are URL encoded base64 of the code content. This leads to some pretty long links. Running a service, or needing to auth to some other service, seems like a lot more headache than it is worth, so this change instead tries to make the URLs a bit more reasonable. One minor saving is that we're URL encoding base64, instead of just representing using the url-safe variant of base64. But we can get more savings, even in small examples, using compression. This adds a popular, small, library to do that. Reviewed By: yungsters Differential Revision: D52161884
abd1b1a
to
87ccedf
Compare
This pull request was exported from Phabricator. Differential Revision: D52161884 |
This pull request has been merged in eeeb2ca. |
Summary:
Right now playground links are URL encoded base64 of the code content. This leads to some pretty long links.
Running a service, or needing to auth to some other service, seems like a lot more headache than it is worth, so this change instead tries to make the URLs a bit more reasonable.
One minor saving is that we're URL encoding base64, instead of just representing using the url-safe variant of base64. But we can get more savings, even in small examples, using compression. This adds a popular, small, library to do that.
Differential Revision: D52161884