frontend icon indicating copy to clipboard operation
frontend copied to clipboard

境内使用Cloudflare CDN加载pdf.worker.js速度很慢

Open arkylin opened this issue 1 year ago • 3 comments

使用Cloudflare CDN加载pdf.worker.js速度很慢,导致加载pdf很慢,建议更换其他在国内外加载速度都很快的CDN或者文件本地化

pdfjs.GlobalWorkerOptions.workerSrc = //cdnjs.cloudflare.com/ajax/libs/pdf.js/${pdfjs.version}/pdf.worker.js;

arkylin avatar May 13 '23 13:05 arkylin