Forum GameFS Is GetUrl cached?

Discussion and help relating to the PlayerIO game asset hosting and CDN solution, GameFS.

Is GetUrl cached?

Postby bruce.woodard » December 3rd, 2013, 3:10 am

Within one session, if I call GetUrl("path/file"), update the file via the Player.IO web interface, then call GetUrl() again, I'm returned the same path ("file._v1" instead of "file._v2") -- no matter how much time has elapsed. If I restart the app or reconnect, the correct updated path is returned.

The docs say "The urls returned from GetUrl() will change over time, so you can't save or persist them in any way for later use.", which I assumed to mean I could get updates within the same session.

Is this expected behavior? Switching to permanent links would be inconvenient, unless there's some way to automate their retrieval that i'm unaware of.

Posts: 1
Joined: August 19th, 2013, 3:49 pm

Return to GameFS