dobtco / procure-io

*NOT CURRENTLY MAINTAINED* Procurement software for the 21st century.
Other
40 stars 16 forks source link

Listing view load is pretty slow #128

Closed migurski closed 11 years ago

migurski commented 11 years ago

The bids.json API responses are typically very large at 200KB and more. This makes stepping between small, low-information listing pages and reloading very slow, with a lot of waiting for the ajax spinner. Can this content just be sent in the HTML pages themselves instead of side-loaded?

ajb commented 11 years ago

This is halfway-solved in the master branch. (FWIW, it's at http://demo.procure.io/, login creds in the README.) I significantly cut down the response sizes, and started caching the serialized JSON, as the serialization was often taking up to 1/2 a second.

I'll plan on "bootstrapping" the page with the first results as you've described though :)

ajb commented 11 years ago

moving to #129