Can I disable FF3 back button cache?

前端 未结 3 1267
轮回少年
轮回少年 2020-12-17 00:16

I found out that when pressing back button it gets previous page from browser cache even if I send following headers:

Test1.aspx

Server                       


        
3条回答
  •  独厮守ぢ
    2020-12-17 00:31

    Cache-control and such things only tell browser NOT to save in cache the downloaded stuff (js, css, images, etc.). It does not relate with the History of visited pages.

    You shouldn't try to modify browser's data. Instead, you'd handle events and stop the ones you don't want to happen in your site.

提交回复
热议问题