# Maximum size of Ajax partial in Firefox?

**URL:** <https://www.ruby-forum.com/t/maximum-size-of-ajax-partial-in-firefox/79625>\
**Category:** Rails\
**Created:** [March 10, 2006, 8:46pm UTC](https://www.ruby-forum.com/t/maximum-size-of-ajax-partial-in-firefox/79625 "2006-03-10T20:46:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phudson1442](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@phudson1442](https://www.ruby-forum.com/u/phudson1442)\
**Post date:** [March 10, 2006, 8:46pm UTC](https://www.ruby-forum.com/t/maximum-size-of-ajax-partial-in-firefox/79625/1 "2006-03-10T20:46:20Z")

</div>

Hi,

I’m writing an app that has some ajax-y content to it and am  
experiencing a weird error in Firefox (1.5.0.1) that doesn’t appear  
elsewhere (where ‘elsewhere’ is IE6).

I’ve basically taken the typo sidebar code and rewritten it for my  
needs. One of the things I’ve written is a ‘sidebar’ that lists all the  
countries in the ISO3166 code list and puts them into a drop down.

For those that enjoy these things, the list is here:

[http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html](http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html)

My issue is that the dropdown is not being completely loaded by Firefox,  
and is failing at a consistent location, whereas IE loads it correctly.

If I add more content to the partial prior to the dropdown, the point at  
which the dropdown stops loading moves up the list, again consistently.

If I reload the page (once the sidebar has been added), then the  
dropdown completely loads because it’s part of the initial page load.

I’ve seen in the archives that there have been some Firefox-related Ajax  
issues in the past, but there has never been much in the way of  
resolution. One example I’ve found is:

[http://thread.gmane.org/gmane.comp.lang.ruby.rails/37284](http://thread.gmane.org/gmane.comp.lang.ruby.rails/37284)

Does anyone know if there is a hard Firefox limit to XMLHttpRequest  
response data? I’m guessing that if there is, it’s 8k, but I thought I’d  
check in first.

Thanks,

Paul

---

<div class="post-metadata">

**Author:** ![phudson1442](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c68b51/32.png) [@phudson1442](https://www.ruby-forum.com/u/phudson1442)\
**Post date:** [March 12, 2006, 2:35pm UTC](https://www.ruby-forum.com/t/maximum-size-of-ajax-partial-in-firefox/79625/2 "2006-03-12T14:35:25Z")

</div>

I haven’t come across a limit on the size an an XMLHttpRequest response,  
and  
I have definitely had responses (using RJS) larger than 8kb.

-Jonathan
