I have a private channel that accesses some JSON files with configuration data. Nothing fancy, just a basic roUrlTransfer:
req = createObject("roUrlTransfer")
req.setCertificatesFile("common:/certs/ca-bundle.crt")
req.setUrl(targetUrl)
response = req.getToString()
config = ParseJSON(response)
This works fine. The only problem I have is that when I change the data files on my server, the new data doesn't appear in the roUrlTransfer response until the next day. The problem is definitely not my web server since pulls of the data file via my desktop browser are returning the correct (i.e., latest) results. I have tried several approaches to trying to get the data changes to take affect immediately (i.e., using system settings to check for updates, restarting my Roku, publishing an updated package, all of the above).
My suspicion is that the design assumption on the part of the Roku team is that data like this would/should be included within the package itself, thus the package update mechanism would keep everything in-sync and up to date. I don't have that option however for a variety of reasons (i.e., my customer's business model). So the bottom line is, is there a way to force any changes in data files to take effect on-demand rather than on what appears to be a 24 hour cycle?
Thanks