method

no_cache?

rails latest stable - Class: ActionDispatch::Http::Cache::Request::CacheControlDirectives

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

no_cache?()
public

Returns true if the no-cache directive is present. This directive indicates that a cache must not use the response to satisfy subsequent requests without successful validation on the origin server.