Fórum

cache problem in theme deployment

thumbnail
Akash Patil, modificado 12 Anos atrás.

cache problem in theme deployment

Junior Member Postagens: 75 Data de Entrada: 13/12/10 Postagens Recentes
Hi.,

I developed a custom theme. but when i deploy it and refresh my page, it's not getting effect, i need to clear the cache to see the effects.
for that reason to cross verify, i downloaded sevencogs-theme sources, n deployed it. and again i changes some css from custom.css of sevencogs-theme, and again i deployed it. again i faced same problem. Without clearing the cache i am not able to see the new effect.

Even both properties are also set.

theme.css.fast.load=false
theme.images.fast.load=false

So please anyone give suggestion to solve this problem

Thanks,
Akash Patil
thumbnail
Thomas Berg, modificado 12 Anos atrás.

RE: cache problem in theme deployment

Regular Member Postagens: 131 Data de Entrada: 07/09/09 Postagens Recentes
Be sure to use portal-deloper.properties in your development environment:

theme.css.fast.load=false
theme.images.fast.load=false
javascript.fast.load=true
javascript.log.enabled=true
layout.template.cache.enabled=false
browser.launcher.url=
combo.check.timestamp=true
freemarker.engine.cache.storage=soft:1
freemarker.engine.modification.check.interval=0
openoffice.cache.enabled=false
velocity.engine.resource.manager.cache.enabled=false
com.liferay.portal.servlet.filters.cache.CacheFilter=false
com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=true

The file is included with the distribution. Check this page for more information about this.

You can also disable fast loading of css and images by adding url-parameters:

http://myportal/?css_fast_load=0&images_fast_load=0

The above information is available at this wiki page

HTH Thomas