Skip to content

preferCacheValue not behaving as intended.Β #3711

@JasonYCao

Description

@JasonYCao

I'm using a lazy query with preferCacheValue set to false, but it is still preferring a cached value no matter how many times I'm calling it.

image

I've noticed that it's just not refetching new values at all in this case, and just defaulting to a cached one. I understand that without a changed body, it doesn't normally fetch again, but I have preferCacheValue set to false with a lazy query, shouldn't it refetch anyways? For context, I'm basically having it repull data that may have changed after the page has loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions