Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: Tweak pdf.js range requests for improved performance #84

Merged
merged 1 commit into from
Apr 19, 2017
Merged

Update: Tweak pdf.js range requests for improved performance #84

merged 1 commit into from
Apr 19, 2017

Conversation

tonyjin
Copy link
Contributor

@tonyjin tonyjin commented Apr 19, 2017

  • Re-enable range requests for Safari and iOS that was previously disabled by pdf.js' new built-in compatability checking
  • Increase non-US locale chunk size to 512KB
  • Disable range requests for files with original size <4MB except for Excel files, see code for details
  • Add polyfill for Array.includes and update other polyfills to MDN ones

- Re-enable range requests for Safari and iOS that was previously disabled by pdf.js' new built-in compatability checking
- Increase non-US locale chunk size to 512KB
- Disable range requests for files with original size <4MB except for Excel files, see code for details
- Add polyfill for Array.includes and update other polyfills to MDN ones
@tonyjin tonyjin merged commit 0e7f358 into box:master Apr 19, 2017
@tonyjin tonyjin deleted the tweak-pdfjs-range-requests branch April 19, 2017 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants