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

Async Calls Won't Hit Cache #7

Open
zschuessler opened this issue Dec 10, 2013 · 0 comments
Open

Async Calls Won't Hit Cache #7

zschuessler opened this issue Dec 10, 2013 · 0 comments

Comments

@zschuessler
Copy link

My use case is that I'm calling the $.render method within a loop. This results in 30 or so render calls, none of which hit the cache, so 30 separate XHR requests are made.

The temporary fix I've implemented is to use async: false on the XHR request, but that's not an ideal solution.

Perhaps a method of preloading templates, or passing in configuration for the XHR, would be better suited.

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

1 participant