Clearing browser cacheClearing browser cachehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1035483942024-03-29T01:25:25Z2024-03-29T01:25:25ZRE: Clearing browser cacheAlfonso Criscihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1172723912019-09-25T11:31:12Z2019-09-25T11:31:12Z<p>I had this same issue and solved it by building the plugin with e.g. <code>./gradlew clean deploy</code></p><br /><br /><p>Hope it helps.</p>Alfonso Crisci2019-09-25T11:31:12ZRE: Clearing browser cacheVishal Srivastavahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1172797752019-09-25T10:42:49Z2019-09-25T10:42:49ZHi All,Need some help for browser cache issue.I using Liferay 7.0 with Angular 4, when i am creating a Jar and deploying it on Production. Changes on the UI is not getting reflected until i go and clean the browser cache.Do we have any mechanism where browser cache get automatically cleared while deploying the JARS.Currently i have raised a help ticket for the same but still no luck.On my portal-ext.properties i have added:browser.cache.disabled=true<br />Thanks,Vishal SrivastavaVishal Srivastava2019-09-25T10:42:49ZRE: Clearing browser cacheDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1035903912018-02-06T14:28:37Z2018-02-06T14:28:37Z<div class="quote-title">Olaf Kock:</div><blockquote><div class="quote-title">David H Nebinger:</div><blockquote>You don't have to worry about it.</blockquote><br />...unless you've changed the files directly on the server. Then worry about it, and change the files properly by deploying an updated theme. Doing this means, you don't have to worry about it <em>any more</em>.</blockquote><br /><br />Yes, Olaf is right, I shouldn't have assumed that you do things the way liferay documentation, training, etc. all clearly state how updates are to be deployed.<br /><br />But then again, if you don't do things the right way, I really believe that any backfire that results of it is due to asking for it...David H Nebinger2018-02-06T14:28:37ZRE: Clearing browser cacheOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1035815702018-02-06T11:17:30Z2018-02-06T11:17:30Z<div class="quote-title">David H Nebinger:</div><blockquote>You don't have to worry about it.</blockquote><br />...unless you've changed the files directly on the server. Then worry about it, and change the files properly by deploying an updated theme. Doing this means, you don't have to worry about it <em>any more</em>.Olaf Kock2018-02-06T11:17:30ZRE: Clearing browser cacheDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1035479872018-02-05T14:37:43Z2018-02-05T14:37:43ZYou don't have to worry about it.<br /><br />Liferay stamps all static urls w/ an extra argument, t. You'll see this on every static URL the portal generates. When you view source on the page, you'll see that, for example, main.css is pulled in but there's an additional argument like &t=1341589290000.<br /><br />This is the "time" for the last modified on the file on the server side. When you push a new file, that &t will change in the URL. Since the browser is caching based on URL matching, the new URL w/ the new timestamp will not match and the browser will fetch it again because it is a cache miss.David H Nebinger2018-02-05T14:37:43ZClearing browser cachepratik parekhhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1035483932018-02-05T13:49:28Z2018-02-05T13:49:28ZI am having one liferay production server live.<br />For next release we have changed some javascript files.<br />Liferay minifies js and css files which are also cached in browser. <br />After next deployment users have to clear browser cache to see updated changes.<br /><br />Is there any way I can forcefully clear browser cache?<br /><br />We can apply release version while loading js and css file as suggested <a href="https://stackoverflow.com/questions/16190922/new-deployment-have-browser-cache-cleared-the-