Descriptive Problem Summary:
When playing a game with preload_rsc set to a URL, which downloads an external .zip file, the file is not cached properly if the URL was redirected to a new location.
Numbered Steps to Reproduce Problem:
1) Clear cache.
2) Create a game with a large resource file, package that file.
3) Place the resource file in a BYOND Member account, and set preload_rsc to the www.byond.com/members form of the download URL insted of the files.byondhome.com form.
4) Host the game and join it from the remote URL.
5) Exit the game, and join again. There should be two files in the cache directory the same size as the resource .zip, instead of just one, but http_cache.rsc will not grow larger the second time.
The file should be recognized as cached in the second session.
The file is downloaded twice.
When does the problem NOT occur?
If the file URL does not redirect, caching will work as intended.
If available, use a non-redirecting form of the URL. If A redirects to B, use B instead.
Oct 14 2010, 7:39 am