# Flush System-Wide Cache

**URL:** <https://community.dreamfactory.com/t/flush-system-wide-cache/1778>\
**Category:** App Configuration\
**Created:** [November 16, 2015, 1:12pm UTC](https://community.dreamfactory.com/t/flush-system-wide-cache/1778 "2015-11-16T13:12:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrjohny](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@mrjohny](https://community.dreamfactory.com/u/mrjohny)\
**Post date:** [November 16, 2015, 1:12pm UTC](https://community.dreamfactory.com/t/flush-system-wide-cache/1778/1 "2015-11-16T13:12:26Z")

</div>

In DF 2.0, does anyone has or had the same problem that every time you make changed to the DB or Services you have to Flush System-Wide Cache to make it work, e.g. when creating a new table, it’s not visible under the API Docs until you flush and the same with any changes to the Services (e.g. the custom scripts) you first need to flush.

Maybe there is a setting i can change to auto flush?

---

<div class="post-metadata">

**Author:** ![Im\_PJ](https://avatars.discourse-cdn.com/v4/letter/i/59ef9b/32.png) [@Im\_PJ](https://community.dreamfactory.com/u/Im_PJ)\
**Post date:** [November 19, 2015, 10:47am UTC](https://community.dreamfactory.com/t/flush-system-wide-cache/1778/2 "2015-11-19T10:47:51Z")

</div>

Yes I have faced similar issue. After changing roles of any user I need to flush the cache otherwise the old role id is returned by rest api.  
Need a solution too.

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [November 19, 2015, 6:02pm UTC](https://community.dreamfactory.com/t/flush-system-wide-cache/1778/3 "2015-11-19T18:02:37Z")

</div>

Does the web server have read and write permissions for the storage/ and bootstrap/cache/ directories?
