Skip to content

Async Calls Won't Hit Cache #7

Open
@zschuessler

Description

@zschuessler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions