Fórum
CSS browser caching
Evgeny Slutsky, modificado 12 Anos atrás.
CSS browser caching
New Member Postagens: 4 Data de Entrada: 02/03/11 Postagens Recentes
Hi!
There is a problem that users have to refresh a page when css are updated. The solution that I've found in internet is to add some parameter when importing css.
But it's impossible to do so in liferay because css are set in liferay-portlet.xml under <header-portlet-css> tag. So how can I force browser to refresh css in liferay?
Thanks a lot!
There is a problem that users have to refresh a page when css are updated. The solution that I've found in internet is to add some parameter when importing css.
But it's impossible to do so in liferay because css are set in liferay-portlet.xml under <header-portlet-css> tag. So how can I force browser to refresh css in liferay?
Thanks a lot!
Bijan Vakili, modificado 12 Anos atrás.
RE: CSS browser caching
Expert Postagens: 375 Data de Entrada: 10/03/09 Postagens Recentes
Hey Evgeny,
Does the following thread help?
Best,
Bijan
Does the following thread help?
Best,
Bijan
Evgeny Slutsky, modificado 12 Anos atrás.
RE: CSS browser caching
New Member Postagens: 4 Data de Entrada: 02/03/11 Postagens Recentes
Thanks. This thread is really related to mine but there is no solution. I'am facing problem not with liferays caching but with browsers caching.
Bijan Vakili, modificado 12 Anos atrás.
RE: CSS browser caching
Expert Postagens: 375 Data de Entrada: 10/03/09 Postagens RecentesEvgeny Slutsky:
Thanks. This thread is really related to mine but there is no solution. I'am facing problem not with liferays caching but with browsers caching.
Ok; how about the following thread?
CSS Caching Issue
In summary, try setting the following property:
last.modified.check=false