Leo wrote:Hi Karl,
It's a fresh new install on my laptop as testing. I am located in Shanghai, so I am not sure whether some scripts could not be load because of the firewall, neither I visit the
https://demo.photo.gallery/panel/, it displays the blank page.
You mean you don't even see the login page?
Leo wrote:I also tried to over-wall via VPN, the panel page can display properly.
The main problem is the backend panel page could not pop up in my area, while the website can browse perfectly.
Ok so I guess it can be confirmed that the problem is the CDN provider, perhaps only temporarily. They claim to cover China:
http://www.jsdelivr.com/features/cdn-in-asia-and-china
The frontend works fine? Also the popup when clicking an image? The frontend actually has a redundancy fallback, so that if the CDN fails, it will load local-hosted version of a script.
Leo wrote:If that is the reason, how many script files need be localized, will they effect the performance?
The only reason is that it is fast and practical, loading a large amount of JS/CSS resources from a CDN provider on fast networks, through the new http/2 protocol. It would not affect performance too much though, if you host the files on your own server ... Especially since it's mostly a single user from a close location to the server that is using the panel.
It would require some working editing the templates and downloading all scripts to have a local-hosted setting. I can look into a non-CDN panel setting for next release, but it will be a while since we are busy with a new website right now.
Must say I'm a bit surprised that the CDN is not accessible, considering
what they say, and their
network map. What browser do you use? If Chrome, could you go to view -> developer -> developer tools -> network tab, and reload the page? It should show clearly in red what resources are failing to load.