- On the productsearch.ubuntu.com site, download the thumbnails directly and embed them into the JSON result sent to the client, using the data URI scheme (https://en.wikipedia.org/wiki/Data_URI_scheme), so that the entire result set can be sent back to the client in one shot (as opposed to the way it currently is where thumbnails take a while to load)
- Replace the URLs with ones pointing to productsearch.ubuntu.com and which, on request, proxy the request normally.
- Have the client side do manual HTTP proxying (using productsearch.ubuntu.com or another Canonical server as HTTP proxy) for all requests that would otherwise be sent to a non-Canonical server
Some suggestions (from https:/ /perot. me/ubuntu- privacy- blunder- over-amazon- ads-continues) on how to fix the thumbnail downloading issue:
(One of the following)
- On the productsearch. ubuntu. com site, download the thumbnails directly and embed them into the JSON result sent to the client, using the data URI scheme (https:/ /en.wikipedia. org/wiki/ Data_URI_ scheme), so that the entire result set can be sent back to the client in one shot (as opposed to the way it currently is where thumbnails take a while to load)
- Replace the URLs with ones pointing to productsearch. ubuntu. com and which, on request, proxy the request normally.
- Have the client side do manual HTTP proxying (using productsearch. ubuntu. com or another Canonical server as HTTP proxy) for all requests that would otherwise be sent to a non-Canonical server
- Use an SPDY server and use server push/server hint to make things faster (http:// www.chromium. org/spdy/ link-headers- and-server- hint)