<?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 Re: how to modify *.js file and make it work? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287778#M240908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason for this additional step is that Surf is caching dependencies more aggressively than before. There are many different possible locations that Surf is able to retrieve a resource from (more than in a standard web app) and it also minifies resources dynamically and this is cached to save repeatedly hunting for resources. The clear dependency caches button resets the cached information. Whilst this is adds an extra step when developing it is beneficial in production systems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Jun 2013 19:13:23 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2013-06-09T19:13:23Z</dc:date>
    <item>
      <title>how to modify *.js file and make it work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287775#M240905</link>
      <description>Hi all,I can find .js file, such as '/share/res/components/documentlibrary/documentlist_7a2cddfa85f47a8aabe35c5523cc4eec.js', from firefox, but only searched /webapps/share/components/documentlibrary/documentlist.js in server side. Why?I want to insert some debug info into documentlist.js, such as c</description>
      <pubDate>Sun, 09 Jun 2013 08:44:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287775#M240905</guid>
      <dc:creator>jinjiankang</dc:creator>
      <dc:date>2013-06-09T08:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify *.js file and make it work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287776#M240906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All the source files have an MD5 checksum appended to them. This is done to avoid the problem of stale browser caches. Resources can be cached forever in the knowledge that if they are updated (eg by hot fix or upgrade) then a new version will be requested. So you can update documentlist.js and the MD5 checksum will be updated and a new file will be downloaded.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jun 2013 09:32:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287776#M240906</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-06-09T09:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify *.js file and make it work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287777#M240907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way I found it to work is to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Make changes to the file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Click on "Clear dependency caches" here: &lt;/SPAN&gt;&lt;A href="http://127.0.0.1:8080/share/page/index" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:8080/share/page/index&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;3. It's fresh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before I learned about that bit, I had to restart alfresco each time, which was pretty lame and slow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jun 2013 17:27:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287777#M240907</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-06-09T17:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify *.js file and make it work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287778#M240908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason for this additional step is that Surf is caching dependencies more aggressively than before. There are many different possible locations that Surf is able to retrieve a resource from (more than in a standard web app) and it also minifies resources dynamically and this is cached to save repeatedly hunting for resources. The clear dependency caches button resets the cached information. Whilst this is adds an extra step when developing it is beneficial in production systems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Jun 2013 19:13:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287778#M240908</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-06-09T19:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify *.js file and make it work?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287779#M240909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, I agree. The process is better then before, I'd say. On 3.4c, I would symlink a file.js and file-min.js while developing, then when moving to production, minify the script, then you have to make a fix and back to beginning, which takes a while &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The button is cool, I keep a tab open and just hit refresh when I want to try out what I did &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 12:06:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-modify-js-file-and-make-it-work/m-p/287779#M240909</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-06-10T12:06:26Z</dc:date>
    </item>
  </channel>
</rss>

