Temporarily disable cache in the gaming infrastructure

I use the built-in cache in scala playframework 2.4 application.

During development, I would like to temporarily disable the entire cache.

How can I do it?

+4
source share
1 answer

If you use the default playback cache implementation, that is EhCache, you can start the application to play with net.sf.ehcache.disabled=trueto disable the cache. Of course, this is not so desirable for automatic testing and applies only to implementation EhCache.

+1
source

Source: https://habr.com/ru/post/1626748/


All Articles