getnettext cache


[ Zettels Traum ] [ search / suche ]

Every getnetText() downloads the content of its url to the systems TEMP directory as a file with the name "mpNETID.tmp". These files get deleted when a clearcache is issued or when the player quits. However, if more than one player are around, they may survive. This is probably documented somewhere and I just overlooked the spot. I found this after some days of experimenting with getNetText() when several hundred Mb of tmp-files had piled up. (The online docu states that the result of only the last getNetText() is saved and can be retrieved by netTextResult(), this is true internally: the file in the TEMP directory is still there but netTextResult() won't deliver its content after some other getnettext() has occurred.)


Dazu:























D. Plänitz