DEV Community

Amit Mishra
Amit Mishra

Posted on

Does Java provide something which can clear all the cache at once?๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†

Does Java provide something which can clear all the cache at once?๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†๐Ÿ‘†โ“โ“โ“

The answer is NO ๐Ÿ‘Ž๐Ÿ‘Ž๐Ÿ‘Ž๐Ÿ˜•๐Ÿ˜•๐Ÿ˜•.

Java does not provide any such feature which can clear all the cache at once.๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘

So how do clear all the cache?๐Ÿ˜ž๐Ÿ˜ž๐Ÿ˜ž
Found the Complete post below๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘Œ

https://www.javaoneworld.com/2021/06/how-to-clear-cache-in-springboot-java.html?m=1

happycoding

staysafe

stayCode

Top comments (1)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers donโ€™t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.

If you choose to do so, you also have the option to add a canonical URL directly to your post.