Worker loaded every time the document changes
See original GitHub issueI have a simple viewer based mostly on pdfjs-dist
.
The viewer has a document list and it displays one document at a time.
However, when I change the document, the worker is requested and downloaded again.
Can’t the worker just be downloaded once and use for subsequent document changes?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Examples of Loading Work Relationship Changes
This topic provides examples of work-relationship changes that you request using ... (GlobalTransferFlag) on the same work relationship at the same time.
Read more >Cloud Firestore triggers | Cloud Functions for Firebase
If you want to trigger an event for any change to a specific document then ... You can trigger a function to fire...
Read more >Using Web Workers - Web APIs - MDN Web Docs
The onmessage handler allows us to run some code whenever a message ... shared workers cannot be shared between documents loaded in private ......
Read more >Troubleshoot common coauthoring errors - Microsoft Support
Upload Failed: Save as / Discard. Upload Fail Save As / Discard. Experience: The error bar appears, AutoSave turns off, and no more...
Read more >The service worker lifecycle - web.dev
Without service workers, users can load one tab to your site, ... This can result in two versions of your site running at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For use with multiple requests:
@babukandi Import * as pdfjs from {pdf js-dist/build/pdfjs} Set workerSrc =