Class PageCacheUtil


  • public class PageCacheUtil
    extends Object
    Utility class for dealing with page cache.
    Since:
    10.1.0
    Version:
    $Revision: 21880 $ $Date: 2018-09-21 17:07:19 -0300 (Fri, 21 Sep 2018) $
    • Constructor Detail

      • PageCacheUtil

        public PageCacheUtil()
    • Method Detail

      • isIncludedInAutomaticBulkExpiration

        public static boolean isIncludedInAutomaticBulkExpiration​(PageCacheConfig pageCacheConfig)
        Returns whether the given page cache is included in automatic bulk operation.
        Parameters:
        pageCacheConfig - the page cache.
        Returns:
        whether the given page cache is included in automatic bulk operation.
        Since:
        10.2.0
      • getPageCacheGeneratorUserAgent

        public static String getPageCacheGeneratorUserAgent()
                                                     throws PortalException
        Returns the user agent string to be used when requesting a page for cache generation.
        Returns:
        the user agent string to be used when requesting a page for cache generation.
        Throws:
        PortalException
        Since:
        11.0.0