# Which cookies to cache?

**URL:** <https://community.hubspot.com/t/which-cookies-to-cache/76237>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [March 1, 2023, 10:50am UTC](https://community.hubspot.com/t/which-cookies-to-cache/76237 "2023-03-01T10:50:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SVaz](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@SVaz](https://community.hubspot.com/u/SVaz)\
**Post date:** [March 1, 2023, 10:50am UTC](https://community.hubspot.com/t/which-cookies-to-cache/76237/1 "2023-03-01T10:50:36Z")

</div>

The hubspot wordpress integration doesn’t show live chat on our website with Litespeed caching. When I tried excluding the analytics cookies from caching found [on this page](https://knowledge.hubspot.com/privacy-and-consent/what-cookies-does-hubspot-set-in-a-visitor-s-browser) it works correctly. This made me wonder, which cookies should I exclude from caching and which not? I hope someone has a clear answer. Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 2, 2023, 6:20pm UTC](https://community.hubspot.com/t/which-cookies-to-cache/76237/2 "2023-03-02T18:20:46Z")

</div>

Hi, @SVaz 👋 Thanks for reaching out. My experience is telling me what you likely already know:

- there isn’t a one-size-fits-all answer
- the document you linked to is our best source of truth
- but it cannot tell you what to keep, aside from noting what is necessary or required for the chat to function

Hey, @stefen [@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74) @MatthiasWeber, do you have any WordPress + HubSpot tracking cookie wisdom you can share?

Best,

Jaycee
