Message Boards
Angular Portlet Cache Issue
mahesh gade, modified 4 Years ago.
Angular Portlet Cache Issue
Junior Member Posts: 44 Join Date: 12/5/13 Recent Posts
Hi,We have developed Angular portlets and whenever we deployed on to the server angular portlet's changes are not being reflected in browser either, to solve this we have to clear the browser cache.without clearing the browser cache can we make the angular portlets reflect the changes?
and Liferay version is DXP 7.1.
Any solutions.....?
Thanks,
Mahesh G.
and Liferay version is DXP 7.1.
Any solutions.....?
Thanks,
Mahesh G.
Mohammed Yasin, modified 4 Years ago.
RE: Angular Portlet Cache Issue
Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi ,
May be you can use these properties while developmentjavascript.fast.load=false
browser.cache.disabled=true
browser.cache.signed.in.disabled=true
May be you can use these properties while developmentjavascript.fast.load=false
browser.cache.disabled=true
browser.cache.signed.in.disabled=true
Alfonso Crisci, modified 4 Years ago.
RE: Angular Portlet Cache Issue
Regular Member Posts: 136 Join Date: 4/2/14 Recent Posts
Hi Mahesh, I was working on a 7.1 React portlet and experienced the same. In development mode, ensure to use include-and-override=portal-developer.properties in portal-ext.properties and compile the portlet with a clean task, for example ./gradlew clean deploy