# Firefox Caching Problem

**URL:** <https://forum.kirupa.com/t/firefox-caching-problem/297453>\
**Category:** random\
**Created:** [October 2, 2009, 7:36am UTC](https://forum.kirupa.com/t/firefox-caching-problem/297453 "2009-10-02T07:36:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shane\_c](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@shane\_c](https://forum.kirupa.com/u/shane_c)\
**Post date:** [October 2, 2009, 7:36am UTC](https://forum.kirupa.com/t/firefox-caching-problem/297453/1 "2009-10-02T07:36:25Z")

</div>

I’m working on a site that’s basically a test for users to take that automatically pulls up 3 questions at a time from a database, and the user inputs yes or no for each one, and clicks continue. That inserts their answers into the database, then reloads that page which brings up the next 3 unanswered questions from the database.

Everything’s working dandy in IE, Chrome, and Safari, but I’m having some issues in Firefox. As I go through testing it in Firefox, if I answer too quickly and hit “Submit” again only a couple seconds after the last time I submitted my answers, Firefox retardedly just reloads a cached version of the page with the same three questions I just answered (it still submits and inserts my answers into the database, though). If I wait a couple seconds and refresh, then it goes to the correct new questions. Due to my validation system, if I try re-answering those same questions after it reloads the cached version, I get validation errors and I’m stuck until I refresh it successfully. That scenario would suck if a user ran into it.

Does that make sense? Anyone know a way to make Firefox be less dumb? And I don’t mean changing my own cache settings, I want this to work for all users. It probably won’t actually be a problem in practice, because nobody’s going to answer the questions fast enough to cause the issue (if I let the page sit at least ~4 seconds before submitting, it works fine), but it’s still really annoying me.

(Sorry if this is in the wrong place, I’m not really sure where it belongs.)
