Reputation: 1520
I need to develop super fast jquery based searching, I am using json file to get the data, The size of my file is about 20mb. I am only accessing the file once and caching it. Problem is that it takes a lot of time performing the first search. Can i some how compress my json file? so it takes less time to load.
Upvotes: 2
Views: 6976
Reputation: 3393
Your question is hot to decompress in javascript right?
Read JavaScript: Decompress / inflate /unzip /ungzip strings and How to decompress gzip xhr response in javascript, the should be something usefull
Upvotes: 5