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

FAQ: Full PDF load issue (not loading chunk by chunk) #12

Open
deepak-ghimire opened this issue Jul 28, 2016 · 1 comment
Open

FAQ: Full PDF load issue (not loading chunk by chunk) #12

deepak-ghimire opened this issue Jul 28, 2016 · 1 comment

Comments

@deepak-ghimire
Copy link
Collaborator

deepak-ghimire commented Jul 28, 2016

FAQ: While only few pages of PDF is supposed to be loaded. In some cases whole PDF is getting loaded during flipbook creation.

@deepak-ghimire deepak-ghimire changed the title Full PDF load issue Full PDF load issue (not loading chunk by chunk) Jul 28, 2016
@deepak-ghimire
Copy link
Collaborator Author

Some Wordpress plugins set PDF to be transferred as gzip. This causes the PDF to be loaded with full size.

Reported with:

WP-Rocket Plugin..

Solution:
adding PDF file extension to non gzip list. (mp3|**pdf|**avi) You can find this somewhere in the htaccess file.

# Don’t compress images and other uncompressible content
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|pdf|avi|swf|mp?g)$ no-gzip dont-vary
</IfModule>
</IfModule>

As of now, Plugins like W3 Total Cache are working fine.

@deepak-ghimire deepak-ghimire changed the title Full PDF load issue (not loading chunk by chunk) FAQ: Full PDF load issue (not loading chunk by chunk) Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant