<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Clearing browser cache</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=103548394" />
  <subtitle>Clearing browser cache</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=103548394</id>
  <updated>2026-04-04T04:56:52Z</updated>
  <dc:date>2026-04-04T04:56:52Z</dc:date>
  <entry>
    <title>RE: Clearing browser cache</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117272391" />
    <author>
      <name>Alfonso Crisci</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117272391</id>
    <updated>2019-09-25T11:31:12Z</updated>
    <published>2019-09-25T11:31:12Z</published>
    <summary type="html">&amp;lt;p&amp;gt;I had this same issue and solved it by building the plugin with e.g. &amp;lt;code&amp;gt;./gradlew clean deploy&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;p&amp;gt;Hope it helps.&amp;lt;/p&amp;gt;</summary>
    <dc:creator>Alfonso Crisci</dc:creator>
    <dc:date>2019-09-25T11:31:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clearing browser cache</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117279775" />
    <author>
      <name>Vishal Srivastava</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117279775</id>
    <updated>2019-09-25T10:42:49Z</updated>
    <published>2019-09-25T10:42:49Z</published>
    <summary type="html">Hi 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&lt;br /&gt;Thanks,Vishal Srivastava</summary>
    <dc:creator>Vishal Srivastava</dc:creator>
    <dc:date>2019-09-25T10:42:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clearing browser cache</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103590391" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103590391</id>
    <updated>2018-02-06T14:28:37Z</updated>
    <published>2018-02-06T14:28:37Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Olaf Kock:&lt;/div&gt;&lt;blockquote&gt;&lt;div class="quote-title"&gt;David H Nebinger:&lt;/div&gt;&lt;blockquote&gt;You don&amp;#39;t have to worry about it.&lt;/blockquote&gt;&lt;br /&gt;...unless you&amp;#39;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&amp;#39;t have to worry about it &lt;em&gt;any more&lt;/em&gt;.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Yes, Olaf is right, I shouldn&amp;#39;t have assumed that you do things the way liferay documentation, training, etc. all clearly state how updates are to be deployed.&lt;br /&gt;&lt;br /&gt;But then again, if you don&amp;#39;t do things the right way, I really believe that any backfire that results of it is due to asking for it...</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-02-06T14:28:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clearing browser cache</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103581570" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103581570</id>
    <updated>2018-02-06T11:17:30Z</updated>
    <published>2018-02-06T11:17:30Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;David H Nebinger:&lt;/div&gt;&lt;blockquote&gt;You don&amp;#39;t have to worry about it.&lt;/blockquote&gt;&lt;br /&gt;...unless you&amp;#39;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&amp;#39;t have to worry about it &lt;em&gt;any more&lt;/em&gt;.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2018-02-06T11:17:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Clearing browser cache</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103547987" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103547987</id>
    <updated>2018-02-05T14:37:43Z</updated>
    <published>2018-02-05T14:37:43Z</published>
    <summary type="html">You don&amp;#39;t have to worry about it.&lt;br /&gt;&lt;br /&gt;Liferay stamps all static urls w/ an extra argument, t.  You&amp;#39;ll see this on every static URL the portal generates.  When you view source on the page, you&amp;#39;ll see that, for example, main.css is pulled in but there&amp;#39;s an additional argument like &amp;amp;t=1341589290000.&lt;br /&gt;&lt;br /&gt;This is the &amp;#34;time&amp;#34; for the last modified on the file on the server side.  When you push a new file, that &amp;amp;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.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-02-05T14:37:43Z</dc:date>
  </entry>
  <entry>
    <title>Clearing browser cache</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103548393" />
    <author>
      <name>pratik parekh</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103548393</id>
    <updated>2018-02-05T13:49:28Z</updated>
    <published>2018-02-05T13:49:28Z</published>
    <summary type="html">I am having one liferay production server live.&lt;br /&gt;For next release we have changed some javascript files.&lt;br /&gt;Liferay minifies js and css files which are also cached in browser. &lt;br /&gt;After next deployment users have to clear browser cache to see updated changes.&lt;br /&gt;&lt;br /&gt;Is there any way I can forcefully clear browser cache?&lt;br /&gt;&lt;br /&gt;We can apply release version while loading js and css file as suggested &lt;a href="https://stackoverflow.com/questions/16190922/new-deployment-have-browser-cache-cleared-the-first-time-the-page-is-loaded"&gt;here&lt;/a&gt;.&lt;br /&gt;But I am not sure how can I achieve this kind of solution for js files in portlet and for js file in theme.&lt;br /&gt;&lt;br /&gt;If anyone has achieved same with this or some other way, please help me to achieve the same.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Pratik Parekh</summary>
    <dc:creator>pratik parekh</dc:creator>
    <dc:date>2018-02-05T13:49:28Z</dc:date>
  </entry>
</feed>
