﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 5  » Uploading new script on Hosting page still leads to old script running</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 08 Sep 2026 21:32:26 GMT</lastBuildDate><ttl>20</ttl><item><title>Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25012.aspx</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;I just finished final testing on my next web experiment, which I typically do from a participant point of view (i.e. from the Launch page of the experiment). I made a few changes to one of my batched .iqx files on my local PC, deleted the old one from the millisecond servers (under "Upload Script" in the "Register Web Script" menu) and uploaded the new script from my local PC. However, when I then launched the experiment from the Launch page, my modifications did not show up - the experiment ran using the old script files, even though I had deleted them. &lt;br/&gt;&lt;br/&gt;I've tried the following:&lt;br/&gt;- clicking "Save" after each step&lt;br/&gt;- deleting all my uploaded files and reuploading them, then clicking "Save"&lt;br/&gt;- deleting the target .iqx file and running the experiment without uploading a new version, then clicking "Save"&lt;br/&gt;- hard reloading (Ctrl+F5) the Launch page after taking these steps&lt;br/&gt;&lt;br/&gt;In all of these cases, the web script ran as though I had never made any changes to the files. Does anyone have any idea what might be causing this and how to actually change the web script? I ask for future reference, as this time, I'm likely just going to unregister the web script and re-register it from scratch - annoying, but not too bad a workaround.&lt;br/&gt;&lt;br/&gt;Best,&lt;br/&gt;AK&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Sun, 12 Jul 2020 12:01:26 GMT</pubDate><dc:creator>AKrishna</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic29376.aspx</link><description>&lt;blockquote data-id="25212" class="if-quote-wrapper" unselectable="on" data-guid="1594554866621" contenteditable="false" id="if_insertedNode_1594554865066"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25212" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="25212" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="25212" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;seandr - 7/6/2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25212"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;Hello,&lt;br/&gt;&lt;br/&gt;Apologies for this issue, and thanks for sharing the details. &lt;br/&gt;&lt;br/&gt;As Dave mentioned, we use AWS "edge caching" to speed up download times for scripts, and it can take some minutes for changes to your script file to propagate to all of the caches. AWS doesn't publish any official numbers on how long this takes (I've seen 5-10 minutes mentioned by tech bloggers), likely because it's indeterminate and varies depending on location. The fact that it took at least 20 minutes in your case is quite a surprise, but it's clearly a possibility we need to take into account. We'll consider options for preventing others from accidentally collecting data with stale scripts, but the most obvious solution is to include a warning in the script wizard to allow for at 30 minutes for changes to propagate to all locations.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;-Sean&lt;a class="if-quote-goto quote-link" href="#" data-id="25212"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;Hi everyone,&lt;br/&gt; I know it is an old post but I was experiencing the same issue today and I found it very useful. I just want to inform Inquisit Web version 4 users that the warning message of which Sean wrote about now appears on the top of the Upload Script page and says: &lt;br/&gt;&lt;br/&gt;"Changes to ***.iqx may take 5-10 minutes (occasionally more) to propogate across the network. "&lt;br/&gt;&lt;br/&gt;Thanks!&lt;br/&gt;&lt;br/&gt;Matteo </description><pubDate>Sun, 12 Jul 2020 12:01:26 GMT</pubDate><dc:creator>matt_bic</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25212.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;Apologies for this issue, and thanks for sharing the details. &lt;br/&gt;&lt;br/&gt;As Dave mentioned, we use AWS "edge caching" to speed up download times for scripts, and it can take some minutes for changes to your script file to propagate to all of the caches. AWS doesn't publish any official numbers on how long this takes (I've seen 5-10 minutes mentioned by tech bloggers), likely because it's indeterminate and varies depending on location. The fact that it took at least 20 minutes in your case is quite a surprise, but it's clearly a possibility we need to take into account. We'll consider options for preventing others from accidentally collecting data with stale scripts, but the most obvious solution is to include a warning in the script wizard to allow for at 30 minutes for changes to propagate to all locations.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;-Sean</description><pubDate>Fri, 06 Jul 2018 10:46:12 GMT</pubDate><dc:creator>seandr</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25211.aspx</link><description>Well, it looks like I got burned on this.&lt;br/&gt;&lt;br/&gt;I ran an online study on Prolific yesterday. We did a pilot run with a small sample which turned up a few bugs, so I corrected them and uploaded a new script. As I am situated in Germany and the Prolific participants are pretty much all in England/Scotland, I assumed there would be no trouble with the old script hanging around as a ghost (my personal cache certainly wouldn't impact Prolific users and I would have thought that users in the UK wouldn't be affected by edge cache servers "near my location"). Turns out I was wrong.&lt;br/&gt;&lt;br/&gt;I started data collection a good twenty minutes after uploading the latest version of the script (modification time in the script shows as 4:33 pm, first participant after change logged at 4:52 pm). Now based on messages I've been receiving, it seems as though a noticeable proportion of the 200 participants I will have to pay for experienced (at least) one of the very bugs I had solved. I caught the messages about four and a half hours later and checked to see whether I had gone mad and just failed to upload the corrected script, but all was working correctly at that time.&lt;br/&gt;&lt;br/&gt;Now I have a dataset of participants, some of who experienced the bug and others who did not, and limited options to find out who is who, which means I can't be certain of a noticeable proportion of my data. Any readers - consider this a cautionary tale.&lt;br/&gt;</description><pubDate>Fri, 06 Jul 2018 01:56:37 GMT</pubDate><dc:creator>AKrishna</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25017.aspx</link><description>&lt;br/&gt;Excellent, that's reassuring. Thanks for the prompt answer!&lt;br/&gt;</description><pubDate>Fri, 25 May 2018 05:22:33 GMT</pubDate><dc:creator>AKrishna</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25015.aspx</link><description>&lt;div data-id="25014" class="if-quote-wrapper" unselectable="on" data-guid="1527179252188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25014" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="25014" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="25014" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;AKrishna - Thursday, May 24, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25014"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="25013" class="if-quote-wrapper" unselectable="on" data-guid="1527179252188"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25013" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="25013" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="25013" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;AKrishna - Thursday, May 24, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25013"&gt;&lt;div class="if-quote-message-margin"&gt;Quick update:&lt;br/&gt;&lt;br/&gt;I just unregistered the script, then reregistered it and followed all the steps individually with the new script. I'm still getting the old version of the experiment. I'm going to try changing some of the names now.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25013"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;This worked. I suspect the web version of Inquisit doesn't re-download files it already has, which is a bit of an issue if people modify their own files (or, even worse, commonly used pre-made test scripts) without renaming them and incorporate them into their studies. If, for example, I used the standard Inquisit IAT file, but changed its stimuli, but then a participant did another experiment which also used this file with their own specific stimuli, then the participant might see my stimuli in the other experiment! Is there any clarification as to whether this might be the cause of the problem and how it might be addressed if so?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;AK&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25014"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;It can happen that either (1) an old version of a script is still cached briefly on your device, or (2) an edge cache server near your location is still serving the old script (it takes a few moments for the old cache object to be invalidated and the edge cache beginning to serve the new one).&lt;br/&gt;&lt;br/&gt;In both cases, the issue should be temporary and short, although in case (1), you may want to clear your system's temporary files / temporary internet files to speed things up. Confusion with files from other experiments, even if those carry the same name, should not be possible, these would end up cached elsewhere and separately both locally as well as on the edge cache servers involved.&lt;br/&gt;</description><pubDate>Thu, 24 May 2018 09:32:43 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25014.aspx</link><description>&lt;div data-id="25013" class="if-quote-wrapper" unselectable="on" data-guid="1527147798888"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="25013" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="25013" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="25013" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;AKrishna - Thursday, May 24, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-25013"&gt;&lt;div class="if-quote-message-margin"&gt;Quick update:&lt;br/&gt;&lt;br/&gt;I just unregistered the script, then reregistered it and followed all the steps individually with the new script. I'm still getting the old version of the experiment. I'm going to try changing some of the names now.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="25013"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;This worked. I suspect the web version of Inquisit doesn't re-download files it already has, which is a bit of an issue if people modify their own files (or, even worse, commonly used pre-made test scripts) without renaming them and incorporate them into their studies. If, for example, I used the standard Inquisit IAT file, but changed its stimuli, but then a participant did another experiment which also used this file with their own specific stimuli, then the participant might see my stimuli in the other experiment! Is there any clarification as to whether this might be the cause of the problem and how it might be addressed if so?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;AK&lt;br/&gt;</description><pubDate>Thu, 24 May 2018 00:47:22 GMT</pubDate><dc:creator>AKrishna</dc:creator></item><item><title>RE: Uploading new script on Hosting page still leads to old script running</title><link>https://forums.millisecond.com/Topic25013.aspx</link><description>Quick update:&lt;br/&gt;&lt;br/&gt;I just unregistered the script, then reregistered it and followed all the steps individually with the new script. I'm still getting the old version of the experiment. I'm going to try changing some of the names now.&lt;br/&gt;</description><pubDate>Thu, 24 May 2018 00:39:14 GMT</pubDate><dc:creator>AKrishna</dc:creator></item></channel></rss>