# What is cache different with redis

**URL:** <https://community.apollographql.com/t/what-is-cache-different-with-redis/6139>\
**Category:** Server\
**Tags:** server, odyssey\
**Created:** [April 13, 2023, 2:11pm UTC](https://community.apollographql.com/t/what-is-cache-different-with-redis/6139 "2023-04-13T14:11:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![freedom909](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/freedom909/32/3866_2.png) [@freedom909](https://community.apollographql.com/u/freedom909)\
**Post date:** [April 13, 2023, 2:11pm UTC](https://community.apollographql.com/t/what-is-cache-different-with-redis/6139/1 "2023-04-13T14:11:52Z")

</div>

In AS4, in odyssey-lift-off-part5-server/server/index, there is code as the following:  
const { url } = await startStandaloneServer(server, {  
context: async () =\> {  
const { cache } = server;  
return {  
dataSources: {  
trackAPI: new TrackAPI({ cache }),  
},  
};  
},  
});  
What is cache different with redis

---

<div class="post-metadata">

**Author:** ![lizhennessy](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/lizhennessy/32/3894_2.png) [@lizhennessy](https://community.apollographql.com/u/lizhennessy)\
**Post date:** [April 13, 2023, 2:32pm UTC](https://community.apollographql.com/t/what-is-cache-different-with-redis/6139/2 "2023-04-13T14:32:35Z")

</div>

Hi there @freedom909 ! The Apollo Server does indeed come with a `cache` that’s ready to use and configured to make querying the server quick and performant. But you certainly don’t have to make use of this out-of-the-box cache. Apollo Server supports integration with other backends, including Redis. Here’s an [article](https://www.apollographql.com/docs/apollo-server/performance/cache-backends/#configuring-redis) from the official Apollo documentation that might have some of the detail you’re looking for! Please let us know if you have any other questions.

---

<div class="post-metadata">

**Author:** ![freedom909](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/freedom909/32/3866_2.png) [@freedom909](https://community.apollographql.com/u/freedom909)\
**Post date:** [April 13, 2023, 2:38pm UTC](https://community.apollographql.com/t/what-is-cache-different-with-redis/6139/3 "2023-04-13T14:38:39Z")

</div>

thank you very much, that is I am looking for.

---

<div class="post-metadata">

**Author:** ![Justin\_Gonzalez](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/justin_gonzalez/32/5359_2.png) [@Justin\_Gonzalez](https://community.apollographql.com/u/Justin_Gonzalez)\
**Post date:** [February 6, 2025, 8:49pm UTC](https://community.apollographql.com/t/what-is-cache-different-with-redis/6139/4 "2025-02-06T20:49:02Z")

</div>


