Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Force to clean Liferay 7 Theme Cache / Theme reload
Hey guys
I have a problem with my test- and prod-environment. When I do 2 theme-deployments with little time apart, the second theme gets 'ignored' for the cache creation. The deployed CSS under:
/o/my-theme/css/main.css
is the new one and is right (2. Deployment), but the one that gets loaded is this one:
/o/my-theme/css/main.css?browserId=other&themeId=mytheme_WAR_mytheme&minifierType=css&languageId=de_DE&b=7004&t=1530028600363
is the cached one( 1. Deployment) and doesn't get refreshed. When I now switch the language to one that use rarely it builds the cache file corretly with the newest changes.
I have already tried all the options in the serveradministration. It's also not the browser-cache because my colleagues see the same.
When i wait some time and deploy again, it works. But i never know how long I need to wait. I also debugged trough the filters, but I didn't find the right spot so far. Appreciate every hint you have for me.
I use the Liferay 7 CE GA 5 build on a Centos 7.
Marco
Powered by Liferay™