ninja-core/src/main/java/ninja/Result.java
public Result doNotCacheContent() {
        
        addHeader(CACHE_CONTROL, CACHE_CONTROL_DEFAULT_NOCACHE_VALUE);
        addHeader(DATE, DateUtil.formatForHttpHeader(System.currentTimeMillis()));
        addHeader(EXPIRES, DateUtil.formatForHttpHeader(0L));
        
        return this;
        
    }
public Result doNotCacheContent() {
        
        addHeader(CACHE_CONTROL, CACHE_CONTROL_DEFAULT_NOCACHE_VALUE);
        addHeader(DATE, DateUtil.formatForHttpHeader(System.currentTimeMillis()));
        addHeader(EXPIRES, DateUtil.formatForHttpHeader(0L));
        
        return this;
        
    }
This function sets

Cache-Control: no-cache, no-store
Date: (current date)
Expires: 1970

=> it therefore effectively forces the browser and every proxy in between
not to cache content.

See also https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers

@return this result for chaining.