# Global Redirect cache?

**URL:** <https://forum.litium.com/t/global-redirect-cache/1126>\
**Category:** Questions\
**Created:** [September 27, 2019, 8:59am UTC](https://forum.litium.com/t/global-redirect-cache/1126 "2019-09-27T08:59:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [September 27, 2019, 8:59am UTC](https://forum.litium.com/t/global-redirect-cache/1126/1 "2019-09-27T08:59:22Z")

</div>

Hi, we had to update the redirects directly in the database sence it seems to be a bug with the bulk import. But its some type of cache in place, so the changes is visible in the listing but not on-site, when is this cache invalidated? Do we need to reboot the servers?

Litium version: 7.2

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [September 27, 2019, 9:23am UTC](https://forum.litium.com/t/global-redirect-cache/1126/2 "2019-09-27T09:23:18Z")

</div>

I can’t remember that it should be any cache (I’m not near the computer so I can’t check). Think of that browsers are caching permanent redirects so test with either inkognito mode or clear the cache. Also remember to purge the specific url in any CDN that you may use in front of the web-server.

---

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [September 27, 2019, 9:45am UTC](https://forum.litium.com/t/global-redirect-cache/1126/3 "2019-09-27T09:45:55Z")

</div>

> [@patric.forsgard](#):
>
> Think of that browsers are caching permanent redirects so test with either inkognito mode or clear the cache. Also remember to purge the specific url in any CDN that you may use in front of the web-server.

Okey, there really seam to be cached, because it only start to work it when re manually re-save the redirect, but we can restart/rebuild the server tonight

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [September 27, 2019, 1:09pm UTC](https://forum.litium.com/t/global-redirect-cache/1126/4 "2019-09-27T13:09:45Z")

</div>

Have checked the code and yes, it’s a cache that will keep the resolved url-redirects from database.

---

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [September 27, 2019, 1:33pm UTC](https://forum.litium.com/t/global-redirect-cache/1126/5 "2019-09-27T13:33:42Z")

</div>

But will be clear on build/reboot?

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [September 27, 2019, 5:05pm UTC](https://forum.litium.com/t/global-redirect-cache/1126/6 "2019-09-27T17:05:04Z")

</div>

Yes, it’s a memorycache so a restart of application will clear the cache.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [October 25, 2019, 5:05pm UTC](https://forum.litium.com/t/global-redirect-cache/1126/7 "2019-10-25T17:05:11Z")

</div>

Closed on October 25, 2019, 5:05pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
