WebViewer comes bundled with the files required for all use cases. In many situations, some of these files are not needed.
A script comes packaged with Webviewer that can be used to delete any files that you will not be using. You can run this script by (at the root of your WebViewer folder) executing:
The script will ask you a series of questions and delete files based on your answers:
All questions listed may not be asked.
.docx
, .pptx
, xlsx
)..doc
, .ppt
, xls
).enableOptimizedWorkers: false
to the WebViewer constructor.Note that the lib/core/pdf
folder contains multiple versions of the same PDF SDK logic that are optimized for different browsers. The versions are:
Only 1 of the 3 is actually loaded at runtime, so while your server would have all the files, each user would only download a subset of them.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales