Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7855069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:16:24+00:00 2026-06-02T20:16:24+00:00

On Firefox 12, when I consecutively request two resources with the same URI but

  • 0

On Firefox 12, when I consecutively request two resources with the same URI but with different request headers (different accept fields), response is the cached response of the first request. First request is text/html request of the page which is correctly returned and the second request is like this:

Requested URL is: http://localhost:8080/test/ with these headers:

Response Headers

Content-Type text/html;charset=ISO-8859-1
Date Sun, 29 Apr 2012 19:41:53 GMT
Server Apache-Coyote/1.1

Request Headers

Accept application/json
Accept-Encoding gzip, deflate
Accept-Language en-us,en;q=0.5
Connection keep-alive
Cookie JSESSIONID=DB75F9F730D72D040CB5781903B60E87
Host localhost:8080
Referer http://localhost:8080/test/
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
X-Requested-With XMLHttpRequest

Do you have any suggestions to avoid this problem? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T20:16:25+00:00Added an answer on June 2, 2026 at 8:16 pm

    Use cache:false in the $.ajax({...}) params. This adds a random value to the querystring so it ensures no caching happens.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Firefox requires xhtml extension for mathml but IE will not display pages with xhtml
Firefox runs, but when the tests finish executing Firefox stays up. This is on
In firefox on link hand cursor is showing which is ok but in IE7
Firefox always loads dynamic images, but IE it just shows images without any dynamic
Firefox allows end user to export bookmarks to the XBEL bookmark exchange format. But
In Firefox 7.0.1, I have two checkboxes and a number of other inputs. When
Firefox doesn't display tooltips on disabled fields. The following displays tooltip in IE/Chrome/Safari except
Firefox has a very annoying feature. It remembers the state of input fields when
Firefox , safari and chrome works fine but not IE ... Here is my
Firefox handles it fine, but Safari and IE7 silently fail and do not insert

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.