box / box/viewer.js

Feature: Caching for non Javascript Display

Open
#201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I would like to display the page without javascript. I can process the js in the background and store it and then I would like to just spit out html once the processing is done. It seems I cannot get the html into a state that will load without the javascript.

So the process would like like.
1. Send pdf to Box
2. Get pdf back from box and process with viewer.js via phantom or something like that
3. Store the generated page as an html file
4. When the pdf is requested, show the html file instead of a very heavy js viewer.

Love this lib btw. Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.