[英]how to force ajax to use browser cache to not load the updated json file
可能看起來像是一個問題。 我有一個jjax調用json文件,在請求和響應頭沒什么說不使用緩存和瀏覽器控件禁用緩存沒有勾選。 我應該做些什么來強制ajax不要從我的本地加載更新的json ???
更新:我想要的是,我想在我的本地更新json而不更新瀏覽器ajax調用。
我正在使用以下命令更改上次修改的文件屬性:touch -d“4 days ago”0.json
提前致謝 ..
AJAX請求緩存遵循與普通HTTP請求緩存相同的規則。 它可能因瀏覽器而異。
[英]JavaScript: how to force Image() not to use the browser cache?
[英]Selectively Force Browser Cache to Clear Ajax Request
[英]How to force a browser to reload angular template file and not cache it?
[英]How to use AJAX - JSON to keep a data updated in JSP?
[英]How to force the browser to cache a page .html?
[英]Force browser to ignore cache
[英]Clear browser cache for load renamed file
[英]Refresh the browser cache for same call to an event updated file
[英]How do I use Ajax to save a cache file?
[英]How to store the ajax response in browser cache with jquery
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.