does anyone have a reliable method of "hard-resett...
# suitescript
d
does anyone have a reliable method of "hard-resetting" a client script that is attached to a Suitelet? I am seeing behavior where it seems to be cached (specifically switching NApiVersion from 2.0 to 2.1, or vice versa)
seems like completely deleting the client script, rerunning the Suitelet (gets an error) and then restoring the updated client script works, but was hoping for something less invasive than that
👍 1
s
I personally think you're running into a cache issue, by that I mean, modern browsers from my understanding once they load something, they dont try and dont need to reload something., so if you want to test if that's the behavior causing this, simply use a different browser, it shouldn't have anything to do with 2.0/2.1, more like cache settings imo
e
Upload this script and deploy it and then run it...
👍 1
d
cool yah I can try that, to clarify a bit too I was more meaning something "cached" from NetSuite serverside perspective, like with however their SuiteScript Module Loader works - maybe was not "looking" for a change in script so was not be sent to browser
c
I right click the refresh button on the suitelet and do the reload w/ reset cache option.