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

How to enable caching? #208

Open
darshantejani007 opened this issue Sep 11, 2017 · 2 comments
Open

How to enable caching? #208

darshantejani007 opened this issue Sep 11, 2017 · 2 comments
Assignees

Comments

@darshantejani007
Copy link

I am using this angularjs-pdf in IONIC framework ( which is entirely based on AngularJS). Everything works fine, except when I change the page, it flickers a lot and takes time to render, going from top to bottom. Even if the page is previously visited, it takes the same time to load it. Is there a way to simply cache at least the pages which are already rendered once? Please let me know if somehow I'm doing this wrong!

@dennybiasiolli dennybiasiolli self-assigned this Sep 16, 2017
@dennybiasiolli
Copy link
Collaborator

Hi @darshantejani007,
page is not cached, every time you change page, the page is reloaded and re-rendered.

@darshantejani007
Copy link
Author

@dennybiasiolli Thanks! That much I understood. Now is there a way to flip the switch of caching? I want to enable it!

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

No branches or pull requests

2 participants