I am streaming some images, text and video assets from a server and whenever i assign HTTP address to a variable and later when i make changes to the link, it continues to load up the same HTTP link saved first time. I believe it has something to do with deleting server cache on end of the app.
Asked
Active
Viewed 543 times
2
-
If you have full control over your server, make sure to set the Expires/Cache-Control headers appropriately. Do you have this? – NoobProgrammer Feb 06 '18 at 03:29
-
1@NoobProgrammer No, i do not have control over the server – Zain Bokhari Feb 06 '18 at 03:41
-
Okay try hard resetting it . ctrl + r. – NoobProgrammer Feb 06 '18 at 03:42
-
3I figured out the problem was with the declaration of my HTTP as public and once you do that it doesn't get updated from within the script, quite a small fix to use private declarations – Zain Bokhari Feb 19 '18 at 04:47