当前位置: 动力学知识库 > 问答 > 编程问答 >

flash - Removing file from browser cache

问题描述:

Is there any way to re-read the file from the server by site users? File was previously obtained with the large max-age. Changing the uri is technically impossible (/crossdomain.xml, directly requested by flash player).

Thanks!

网友答案:

If you want to obtain a new version of the file, you can call the filename with some query params. You can do something like this:

somedomain.com/filecached.xml?v=someRandomValue

If you add this parameter to the file url, a new version will be obtained.

分享给朋友:
您可能感兴趣的文章:
随机阅读: