I have an issue where one of my sites uses mysql queries that sometimes take about 5 seconds and I will sometimes have 2 or 3 of them on a page.
The queries is basically just searching a huge DB but I don't want it to slow the page down as at the minute it waits for the queries before the page loads.
Is the only option ajax? The only bad side to this is that search engines might not see the text being loaded but it would let the rest of the page load and then load the rest afterwards.
Is there a better way to do it other than using ajax?
The queries is basically just searching a huge DB but I don't want it to slow the page down as at the minute it waits for the queries before the page loads.
Is the only option ajax? The only bad side to this is that search engines might not see the text being loaded but it would let the rest of the page load and then load the rest afterwards.
Is there a better way to do it other than using ajax?