为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Browser doesn't launches request with cache enabled

  • 6 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 Filippoispuk

more options

We made a simple website, with a simple link to site.com/logout url.

When i disable the browser cache the request starts and it completes without any problem.

When i enable browser cache the request doesn't starts to site.com/logout the page is refreshed with a 302 code (i don't have 302 redirects in website) and i'm unable to log the request by the browser developers tools.

In Chrome all is working fine, just in Firefox if cache is enabled it doesn't launches the GET request to site.com/logout

How can this be possible?

We made a simple website, with a simple link to site.com/logout url. When i disable the browser cache the request starts and it completes without any problem. When i enable browser cache the request doesn't starts to site.com/logout the page is refreshed with a 302 code (i don't have 302 redirects in website) and i'm unable to log the request by the browser developers tools. In Chrome all is working fine, just in Firefox if cache is enabled it doesn't launches the GET request to site.com/logout How can this be possible?

被采纳的解决方案

You can check the HTTP response headers with the Live Http Headers extension

定位到答案原位置 👍 0

所有回复 (6)

more options

Reload the webpage while bypassing the cache using one of the following steps:

  • Hold down the Shift key and click the Reload button with a left click.

OR

  • Press Ctrl + F5 or Ctrl + Shift + R (Windows and Linux)
  • Press Command + Shift + R (Mac)

Let us know if this solves the issues you are having.

more options

Hello thanks for your answer, i tryed that but it doesn't works anyway.

So now i appended a random hash to the url and the cache is skipped so the link and requests works.

http://mysite.com/logout to -> http://mysite.com/logout?v982984774

I don't know why this happening to me only, it's weird.

Hope you'll get into deeper cause probably it still affecting many other peoples.

more options

Hi,


If you want to leave feedback for Firefox developers, you can go to the Firefox Help menu and select Submit Feedback... or use this link. (You'll need to be on the latest version of Firefox to submit feedback). Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues. We will get to you soon1 Report if this helps ! Thanks!

more options

Thanks for the link, next time i'll post there ;)

Have a nice day !

more options

选择的解决方案

You can check the HTTP response headers with the Live Http Headers extension

more options

Hello, thanks for support, but is it not the same to check using firebug or developers tools?

I already checked the http request params and header, the weird thing is that the request doesn't starts at all

Instead of launching GET site.com/logout it launches GET site.com -> response -> 302 moved temp -> no other information inside

And also we are unable to log GEt site.com/logout both on client and server side, this is unbelievable but true i can grant it.