Get Portlet Id from the database liferay. We can easily get the portlet Id from the database with the below query on portlet table, SELECT * FROM portlet;
Some time we have requirement where we do not want to allow back button after logout and show cached browser content. Liferay provide properties which with we are able to restrict to see content on back button after logout. If user click back button after logout it will show the login page. We require to provide below properties in portal-ext.properties. Restart the server once applying below properties browser.cache.signed.in.disabled=true