Choosing Between read-write and nonstrict-read-write Caching for Grails Domain Classes
Goal Determine the best second‑level cache strategy to minimize stale reads when domain objects are updated concurrently. Constraints Grails maps domain classes to Hibernate entities. The cache configuration is declared in the domain class’s static mapping block, e.g. cache usage: 'read-write' or cache usage: 'nonstrict-read-write' . The choice affects soft‑