-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Support storage interface #76
Comments
help |
normally, you don't need to upload the files, CDN will cache files on demand |
the question is that if you first visit https://esm.sh/react for example,you will store it in storage/builds dir,and esm.x-static.io will back-to-source the esm.sh server to get the resource, is right? |
i am really confused, thank you |
|
and how deal with multi instance |
i see, maybe we can implement a storage interface in the future to store builds to any location, like aws-s3/aliyun-oss for example, for now we store files in local fs. |
i just added a storage interface to the server that is compat with previous db/fs, next i will add mysql/postgres/aliyun-oss/aws-s3/... implements. |
i have a question about code, the
esm.x-static.io
should be a cdn domain,but i can not find when you upload the resource in stoage|type to cdn。The text was updated successfully, but these errors were encountered: