Flush Cache

Khanna Ji
Tera Guru

How to flush cache?

When to flush cache?

Why do we flush cache?

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

You can flush the cache by typing cache.do in the navigation for filter.



find_real_file.png



When? When things don't seem to be going right   and you can verify you did everything right.   Avoid doing this in production instances as it may impact performance as people rebuild items in the cache.



Why? Because many things like form layout are held in a cache for faster performance and it needs to be purged periodically.


View solution in original post

21 REPLIES 21

Deepak Kumar5
Kilo Sage

Flush the SN cache memory just like you do for your browser.


When you face issue with the UI display.taking too much time to load or if you have done some changes but it is not reflecting in your form.


In jelly, We used g1/j1 tags which save the UI display in cache memory to better the performances. So to remove those cache we do it..



Please refer section 2.3 in below wiki link for more details.


http://wiki.servicenow.com/index.php?title=Troubleshooting_Performance


Chad Wilhelm1
Tera Expert

Hello Chuck,

Do you know if a cache flush is necessary if a change is in made in the html section of a widget?  

Thanks,

Chad

My understanding is "no", you don't need to mess with the cache when doing widget development. 

No

Philip Hulshize
Tera Contributor

Silly (maybe) question. Does cache.do flush all nodes, or just the one you are connected to when you run it.