# Apollo client active query definition

**URL:** <https://community.apollographql.com/t/apollo-client-active-query-definition/2420>\
**Category:** Client SDKs\
**Tags:** client, web\
**Created:** [January 6, 2022, 1:55am UTC](https://community.apollographql.com/t/apollo-client-active-query-definition/2420 "2022-01-06T01:55:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaveh](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@kaveh](https://community.apollographql.com/u/kaveh)\
**Post date:** [January 6, 2022, 1:55am UTC](https://community.apollographql.com/t/apollo-client-active-query-definition/2420/1 "2022-01-06T01:55:18Z")

</div>

As going through Apollo docs, specifically caching , resetting, I have seen this term a few times “Active Query”.  
What does it mean exactly. Is it a query that is being executed, and is between request-sent, and response-received? or just as long as it is within a component that is rendered on screen, even if it is not asking server for any data.

---

<div class="post-metadata">

**Author:** ![StephenBarlow](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/stephenbarlow/32/25_2.png) [@StephenBarlow](https://community.apollographql.com/u/StephenBarlow)\
**Post date:** [January 6, 2022, 8:21pm UTC](https://community.apollographql.com/t/apollo-client-active-query-definition/2420/2 "2022-01-06T20:21:50Z")

</div>

Hello, good question, and one that I’ll make a note to clarify in the docs!

When you see “active query”, it’s referring to your second option: any query that’s part of a rendered component, regardless of whether the query is currently executing.

---

<div class="post-metadata">

**Author:** ![thomaspaten](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/thomaspaten/32/1749_2.png) [@thomaspaten](https://community.apollographql.com/u/thomaspaten)\
**Post date:** [February 5, 2022, 7:15pm UTC](https://community.apollographql.com/t/apollo-client-active-query-definition/2420/3 "2022-02-05T19:15:09Z")

</div>

You seem to know about Active Queries, maybe you can answer my question.

[https://stackoverflow.com/questions/70958152/duplicate-active-queries-in-apollo-client-devtools](https://stackoverflow.com/questions/70958152/duplicate-active-queries-in-apollo-client-devtools)
