Previously, I have used CloudFlare, where we can switch quickly between "active mode" and "development mode". In "development mode", static files are loaded directly from the origin server rather than from CDN nodes.
I'm now tying Qiniu CDN to speed up my website in China and oversee. From time to time I also want to load a file or the whole website from the origin server rather than the CDN to compare with the CDN mode and see the optimisation effect of the CDN. However, unlike CloudFlare, Qiniu does not have the quick switch button. So does anyone know if there are other ways to do so?
For example, when CDN is on, could anyone confirm that http://www.funfun.org.cn/1/#/home
uses CDN, whereas the origin server http://182.61.110.18:3000/1/#/home
does not?
This thread proposed to use -H 'Host: static.example.com'
, but I am not sure if it is relevant.