I just tried a search on my site in progress and it took 12 seconds for the results to come back (there were 222 results). The next 3 searches (for different terms) came back imediately (10 results, 0 results, 112 results). A subsequent search for the inital term came back in 3 seconds.
(this is with my test server sitting next to the client on a 100mb/s network - that server disks were thrashing away for most of the 12 seconds)
I also noticed this when I was working on it last week - so what is going on? Is it starting from scratch on the 1st search, then caching the info for subsequent searches? Is the cache expiring after a certain period? Or after an upload/refresh?
The search will be a big feature on my site and I can't afford for it to take that long to return results (especially adding on even more time or internet traffic and a busy server).
(this is with my test server sitting next to the client on a 100mb/s network - that server disks were thrashing away for most of the 12 seconds)
I also noticed this when I was working on it last week - so what is going on? Is it starting from scratch on the 1st search, then caching the info for subsequent searches? Is the cache expiring after a certain period? Or after an upload/refresh?
The search will be a big feature on my site and I can't afford for it to take that long to return results (especially adding on even more time or internet traffic and a busy server).
Comment