Closed juzhiyuan closed 3 years ago
I would like to try this :)
not hard AFAIK, but it will speedup the website 😄
I think we need to change the static image to https://cdn.jsdelivr.net/gh/apache/apisix-website@master/website/static/img/showcase/163.png right?
ya
that's right
How about doing something like src={"https://xxx/" + "163.png"}
, no need to update json
file
Sure, I will do it later
Also, Could I define the global variables to store the https://cdn.jsdelivr.net/gh/apache/apisix-website@master/
, What do you think?
sure, and you could use docusarus.config.js to do that? would better if possible
Hi, after https://github.com/apache/apisix-website/pull/260 is merged, we have all logos inside our repository, and now when users visit apisix.apache.org , all logos will serve from GitHub, we need to speedup those files.
Solution
src
prop with jsDelivr . All files are under https://github.com/apache/apisix-website/tree/master/website/static/img/showcase this folder.