Interface WebResourceRoot.CacheStrategy

Enclosing interface:
WebResourceRoot

public static interface WebResourceRoot.CacheStrategy
Provides a mechanism to modify the caching behaviour.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Should the result of looking up the resource at the given path be excluded from caching?
  • Method Details

    • noCache

      boolean noCache(String path)
      Should the result of looking up the resource at the given path be excluded from caching?
      Parameters:
      path - The path to check against the strategy to see if the result should be cached
      Returns:
      true if the result should not be cached, otherwise false