Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Akash Mohan Patil
cache problem in theme deployment
4 de Dezembro de 2011 23:01
Resposta

Akash Mohan Patil

Ranking: Junior Member

Mensagens: 70

Data de entrada: 12 de Dezembro de 2010

Mensagens 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
Thomas Berg
RE: cache problem in theme deployment
5 de Dezembro de 2011 01:13
Resposta

Thomas Berg

Ranking: Regular Member

Mensagens: 134

Data de entrada: 7 de Setembro de 2009

Mensagens recentes

Be sure to use portal-deloper.properties in your development environment:

 1theme.css.fast.load=false
 2theme.images.fast.load=false
 3javascript.fast.load=true
 4javascript.log.enabled=true
 5layout.template.cache.enabled=false
 6browser.launcher.url=
 7combo.check.timestamp=true
 8freemarker.engine.cache.storage=soft:1
 9freemarker.engine.modification.check.interval=0
10openoffice.cache.enabled=false
11velocity.engine.resource.manager.cache.enabled=false
12com.liferay.portal.servlet.filters.cache.CacheFilter=false
13com.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:

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

The above information is available at this wiki page

HTH Thomas