Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Long $templateCache loading time in components with many inherit views. #12461

Closed
@xmityaz

Description

@xmityaz

I have a page that has a lot of inheriting views.
For first time user redirecting to the page (views not in the cache) state is changing and user can see a loading spinner. All views are uploading from the server, even if ' ng-if="false" ' for them.
For next redirecting to the same page (views already in the cache) state is changing and there is delay about 2 seconds before user can see a spinner or any other reaction for his action.

Is there any workaround for this issue? To make $templateCache lazy loading, and load the view in case if ' ng-if="true" ' for example?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions