Hello Craig and all, I have 1 lng file. I'm planning to cache it so it won't be loaded every time it's needed. -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule
----- Original message ----- From: Craig <crosenb...@gmail.com> To: jQuery (English) <jquery-en@googlegroups.com> Date: Tuesday, December 1, 2009, 10:00:07 PM Subject: [jQuery] Re: How to handle large xml files? Do you have 1 lng file for your whole site, or smaller lng files for many different pages? On Dec 1, 1:35 pm, Andre Polykanine <an...@arthaelon.net> wrote: > Hello Craig and all, > > I'm using a *.lng file included once when a user opens the main page. > The choice which file to include is based on a cookie. If there's no > cookie we include a Russian file (for a while) since the greatest part > of our audience speaks this language. > -- > With best regards from Ukraine, > Andre > Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ > jabber.org > Yahoo! messenger: andre.polykanine; ICQ: 191749952 > Twitter: m_elensule > > ----- Original message ----- > From: Craig <crosenb...@gmail.com> > To: jQuery (English) <jquery-en@googlegroups.com> > Date: Tuesday, December 1, 2009, 8:57:43 PM > Subject: [jQuery] How to handle large xml files? > > Basically i have an xml file that stores english, and other languages, > for text replacement all over the site. > > It can do this rapidly, in smaller xml file sizes. > > But once we start to use bigger files, it crashes on me. > > So what can I do, to prevent crashing or long waiting? > > Is the only way to break it up into smaller xml files? Are there other > choices? > > Thanks