Clear Javascript in Memory

Next
 From:  Mindset (IGNITER)
8139.1 
How might one cause a session of MOI to reload a JavaScript anew once it is already in memory?
I have had to quit out completely and start a new session with every edit of the script.
Surely there is a better way... ?

Please advise.
-- Mindset
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8139.2 In reply to 8139.1 
Hi Mindest,

If I understand correctly you could solve your problem with this setting in the [UI] section of your moi.ini file :

code:
[UI]
...
...
DisableFileCaching=y


Best,

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8139.3 
Does F5 do anything?
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mindset (IGNITER)
8139.4 
Thanks for the responses... I will try in the next few days and provide feedback.

Thanks to everyone!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
8139.5 In reply to 8139.3 
F5 won't do anything but the setting Marco writes above will do it - by default every text file that MoI loads from disk, including .js files, are cached in memory once they have been loaded so if they are run again they don't have to be read from disk a second time. Setting DisableFileCaching=y will disable that so that all text files are loaded fresh each time and that should solve the problem.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All