Compress Solr response for faster page load
#3 Updated by ben leinfelder almost 8 years ago
More information here: http://httpd.apache.org/docs/2.2/mod/mod_deflate.html
#4 Updated by Lauren Walker almost 8 years ago
It seems like the server takes about 1 - 1.2 seconds per query to send results to the client, no matter the query result size. Receiving on connections 1.5mb+ take less than 500ms to receive.
- Removing faceting reduces time by at least half
- Adding the query to the filter query (fq) parameter will allow us to take advantage of the filter cache
#5 Updated by Lauren Walker over 7 years ago
- Status changed from New to Resolved
I added filter queries so that we can start caching commonly used filters in Solr.
I also moved the faceted query to the end of our page load processes - so that now the regular query is sent and retrieved, results are added to the list and map, and then we send the faceted query and build the autocomplete dropdowns "in the background". There will be at least a 1 second delay between the page load and the autocomplete availability - but I don't foresee that being a huge issue since it takes about 1 second to click in the text input and start typing anyway.