Skip to content

Instantly share code, notes, and snippets.

@jverweijL
Last active May 15, 2017 10:33
Show Gist options
  • Save jverweijL/b31e44d58f4a8f067af5e06d7167d72f to your computer and use it in GitHub Desktop.
Save jverweijL/b31e44d58f4a8f067af5e06d7167d72f to your computer and use it in GitHub Desktop.
Avoid caching for development

This is my portal-ext configuration to avoid static resources being cached after a new deployment in Liferay DXP. Mainly used for development purpose.

com.liferay.portal.servlet.filters.cache.CacheFilter=false
com.liferay.portal.servlet.filters.etag.ETagFilter=false
com.liferay.portal.servlet.filters.header.HeaderFilter=false
com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=true
theme.css.fast.load=false
layout.template.cache.enabled=false
browser.launcher.url=
freemarker.engine.resource.modification.check.interval=0
minifier.enabled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment