Package com.jalios.jcms.tools
Class PackerUtils
java.lang.Object
com.jalios.jcms.tools.PackerUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringRetrieve JS and CSS pack version used in packer URL for improved caching management.static booleanCheck if the CSS packer is enabledstatic booleanCheck if the JS packer is enabled
-
Field Details
-
conf
-
jsPackerEnabled
public boolean jsPackerEnabled -
cssPackerEnabled
public boolean cssPackerEnabled -
packerVersion
-
-
Method Details
-
isJsPackerEnabled
public static boolean isJsPackerEnabled()Check if the JS packer is enabled- Returns:
- true if enabled, false otherwise
- Since:
- jcms-10.0.2 / JCMS-6923
-
isCssPackerEnabled
public static boolean isCssPackerEnabled()Check if the CSS packer is enabled- Returns:
- true if enabled, false otherwise
- Since:
- jcms-10.0.2 / JCMS-6923
-
getPackVersion
Retrieve JS and CSS pack version used in packer URL for improved caching management.- Returns:
- a version string to be used in JS and CSS packer URL parameter or null if none was specified.
- Since:
- jcms-10
-