Replies: 2 comments 10 replies
-
Couldn't be done with some reverse proxy like NGINX? Or you mean hosting Flet web app on a CDN and a Python app server somewhere elase? Could you please elaborate? |
Beta Was this translation helpful? Give feedback.
-
All of the front-end assets of flet is hosted with a CDN service, doesn't it? I mean due to some reason, China goverment has built a network firewall, which called GFW ( Great Fire Wall ) to ban some foreignal websites which maybe harmful to Chinese. So I can't access the CDN which host the assets and should waiting for quite a long time when the App is loading. I can host all the assets on a server in China, and they should speed up the loading process. My question is, how to 'tell' flet to load assets from my server, not the CDN? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Due to the GFW and something else, the speed of load a flet applications in China is a bit slow. Just checked Developer Tools and found we spent most time on loading ttf and js files.
Maybe I can host all the assets on Object Storage Service such as Aliyun OSS or Amazon S3, and use CDN to speed up our apps.
so can I config the path of assets in application code?
Beta Was this translation helpful? Give feedback.
All reactions