# Shotgun Actions, how do I clear cache during dev

**URL:** <https://community.shotgridsoftware.com/t/shotgun-actions-how-do-i-clear-cache-during-dev/12172>\
**Category:** Pipeline Integrations\
**Tags:** fptr-tk\
**Created:** [April 19, 2021, 4:42pm UTC](https://community.shotgridsoftware.com/t/shotgun-actions-how-do-i-clear-cache-during-dev/12172 "2021-04-19T16:42:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kramester](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/kramester/32/271_2.png) [@kramester](https://community.shotgridsoftware.com/u/kramester)\
**Post date:** [April 19, 2021, 4:42pm UTC](https://community.shotgridsoftware.com/t/shotgun-actions-how-do-i-clear-cache-during-dev/12172/1 "2021-04-19T16:42:20Z")

</div>

I’m developing some custom Shotgun Actions and while developing I’ve noticed some actions that no longer appear in my code appear to get stuck in the menu. I also have some NEW menu items that ive added that I cant get to appear. There must be some kind of cache or something thats holding onto these items. Ive tried restarting SG desktop, clearing the cache/cookies in my browser but I cant seem to get it to update.

![My_Tasks](https://global.discourse-cdn.com/shotgunsoftware/original/2X/f/f63443901024c53563ffe770cf2f912fabd78aec.jpeg)

---

<div class="post-metadata">

**Author:** ![j0yu](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/j0yu/32/1949_2.png) [@j0yu](https://community.shotgridsoftware.com/u/j0yu)\
**Post date:** [April 25, 2021, 12:17pm UTC](https://community.shotgridsoftware.com/t/shotgun-actions-how-do-i-clear-cache-during-dev/12172/2 "2021-04-25T12:17:54Z")

</div>

1. Update your app’s yaml file’s **modification time** in `<sg-pipe-config>/config/env/includes/settings/...`, e.g. adding some comments or empty lines and save it.
2. Refresh the Shotgun page and right click to initialise a re-cache for future page loads
3. Refresh the Shotgun page **again** to pickup the newly cached menu items

Steps 3 might not be necessary if the page picks it up the first time, but I’ve included it as it has helped other people cache and load the menu items on their web-browser/machines.

See [Integrations Admin Guide “Caching - When is the cache invalidated?”](https://support.shotgunsoftware.com/hc/en-us/articles/115000067493-Integrations-Admin-Guide#Caching)

If you want to force refresh all menu actions of all apps for your user, which may take a **long long time** so keep an eye out on [`tk-shotgun.log` and `tk-desktop.log`](https://support.shotgunsoftware.com/hc/en-us/articles/115000067493-Integrations-Admin-Guide#Logs): try [`tank clear_cache`](https://support.shotgunsoftware.com/hc/en-us/articles/219033178-Administering-Toolkit#Advanced%20tank%20commands)
