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

Implement disabling request isolation #153

Open
grantcopley opened this issue May 16, 2024 · 0 comments
Open

Implement disabling request isolation #153

grantcopley opened this issue May 16, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@grantcopley
Copy link
Collaborator

Disabling Request Isolation
By default, CBWIRE handles each lazy-loaded component request separately. However, if you want to bundle all updates into a single network request, disable the isolation behavior using lazyIsolate=false:

// ./wires/UserActivity.cfc
component extends="cbwire.models.Component" {
    lazy = true;
    lazyIsolate = false;
    // Other component methods...
}

Now, if multiple UserActivity components are on the same page, their updates will be grouped into a single network request when the page loads.

@grantcopley grantcopley added this to the v4.1 milestone May 16, 2024
@grantcopley grantcopley added the enhancement New feature or request label May 16, 2024
@grantcopley grantcopley modified the milestones: v4.1, v4.2 Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant