Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Flushing All Cache Keys
I've been testing the the N/cache module but there seems to be something missing. You can't really flush the cache. You can remove select keys with-in a cache, but I want to flush all keys within a cache bucket.
var ch = cache.getCache({name:'some_name',scope:cache.Scope.PUBLIC}); /// Then I would like to do something like ch.flush() ch.removeAll() Is flushing all keys in the cache possible?
0