<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to refresh CSS without restarting tomcat? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262789#M215919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco Share 4.2 to make a customized dashlet with a datatable. When I open the page source, this is my CSS entry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;style type="text/css" media="screen"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @import url("/share/res/components/dashlets/site-themes_a5b1628a44985dece0d7f2ca03e7def.css");&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if I change the CSS entry, the changes won't take effect if I refresh the browser cache. Whatever I do, I get the same file to import.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing that got me the new CSS was restarting Share - which is really cumbersome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a better way to refresh the CSS files?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Dec 2012 14:31:47 GMT</pubDate>
    <dc:creator>zladuric</dc:creator>
    <dc:date>2012-12-29T14:31:47Z</dc:date>
    <item>
      <title>How to refresh CSS without restarting tomcat?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262789#M215919</link>
      <description>Hello,I'm using Alfresco Share 4.2 to make a customized dashlet with a datatable. When I open the page source, this is my CSS entry:&amp;lt;style type="text/css" media="screen"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @import url("/share/res/components/dashlets/site-themes_a5b1628a44985dece0d7f2ca03e7def.css");&amp;lt;/style&amp;gt;‍‍‍Now, if</description>
      <pubDate>Sat, 29 Dec 2012 14:31:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262789#M215919</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2012-12-29T14:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh CSS without restarting tomcat?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262790#M215920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're still stuck with this, here is the best solution I found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; go to the WebScript Home Console (/share/page/index)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;–&amp;gt; then click on the "Clear Dependency Caches" button at the lower part of the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should invalidate the cache and therefore reload static files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 10:37:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262790#M215920</guid>
      <dc:creator>jcdurand</dc:creator>
      <dc:date>2013-01-31T10:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh CSS without restarting tomcat?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262791#M215921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nope, this still doesn't work for me. I still get the same &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@import url("/share/res/components/functions/functions_90b811d474edefcbe1cc4784a1a34bb.css");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, that's not solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 20:38:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262791#M215921</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-02-12T20:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to refresh CSS without restarting tomcat?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262792#M215922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I mean, I still have to redeploy Share webapp to pickup the fresh static files. I'm tempted to put it all inline while in dev phase, and then just leave the test for the end.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 20:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-refresh-css-without-restarting-tomcat/m-p/262792#M215922</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-02-12T20:51:56Z</dc:date>
    </item>
  </channel>
</rss>

