I have been using this to read a file on the server which works fine:
req = ReadFile(filename, "Post");
My understanding is that the ‘Post’ parameter forces a read rather than loading from cache. Also, POST is being deprecated so I have been trying the ‘ReadFile’ sample. However, when I modify the remote file, the code still ‘remembers’ the old version unless I clear the cache in Chrome.
Am I missing something or is there a way to force a fresh read of the file each time the function is called. All I want to do is read and write a text file to the server. It may be modified by me but needs to be read afresh by several other users.