12

Related question : Website New navigation "That's a miss" error on initial "question" navigation

But I don't think my question is duplicate of that question as that topic talks about the issue with the default page hit. And I do not see any filters actually shown in the screenshot.

I have a combination of tags as OR conditions used to filter questions. They are basically combination of all tags related to .

Sometimes, it fails to apply the filter. See the screenshot:

enter image description here

It's not that it always fails, but it is happening too frequently. I need to either refresh the page or edit my tags(not exactly edit the tags, but just move the cursor) and it would load the questions.

For example:

enter image description here

Is it something related to my local cache? Do I need to fix something with my browser settings?

What I do as a workaround:

  • Either refresh the page
  • Or edit the tags(not exactly edit the tags, but just move the cursor)

and it would load the questions.

But, is there a permanent fix to this? Or am I left only with the workaround?

4
  • Wait a minute... Did you just edit an answer into your question? Commented Nov 3, 2015 at 13:29
  • @Jean-FrançoisCorbett Well I just described properly. Since there is actually no particular resolution, but a workaround. Is it bad? Feel free to edit. If it improves the question, it is always welcome :-) Commented Nov 3, 2015 at 13:31
  • 1
    Answers should not be written into questions; they should be posted as answers. Either as your own self-answer, or (and this is what I just did for you) as a clarifying edit to an existing answer; in this case, the one you accepted. Commented Nov 3, 2015 at 15:00
  • @Jean-FrançoisCorbett I am not at all advocating that answers should be included in the question itself. If you re-read my question, I have just included a cause and the workaround which I have had been doing. So, where is the confusion here? I am confident that the cause and workaround which are already stated by me, are actually are a part of the question. The answer which I accepted just confirmed my steps, and that is evident in the comments of the accepted answer. Makes sense? Commented Nov 3, 2015 at 15:09

1 Answer 1

7

Cause:

This is happening because the page finished loading before the server can finish retrieving the data from the database. As your search gets larger with more and more 'or' operators, the query gets more and more complex, which results in longer loading times on the server.

Workaround:

Refresh the page. The next time you load that same page (/search), the query will be cached by the server, allowing it to respond in time.

As an alternative to pressing the reload button, move the cursor as if you were editing the tags in your query; this will do a reload.

Related:

Getting a lot of blank pages but refresh fixes it
Why do I have to reload to see any questions for a search?

4
  • "This is happening because, as your search gets larger, the query gets more and more complex, which results in longer loading times on the server." So the reason could be the number of tags that I have in the filter? Which makes the query larger thus slow response time? Commented Nov 3, 2015 at 10:35
  • That is exactly the reason, yes.
    – Cerbrus
    Commented Nov 3, 2015 at 10:36
  • I am an Oracle database application developer, so I understand the performance degradation of a huge query with too many OR conditions. That answers the question. Accepted! Commented Nov 3, 2015 at 10:37
  • @Michael where q.tag in ('oracle', 'oraclefoo', 'oraclebar') is internally interpreted by Oracle as where q.tag = 'oracle' OR q.tag = 'oraclefoo' OR q.tag = 'oraclebar' No difference in terms of performance or the execution plan. Commented Nov 4, 2015 at 14:56

Not the answer you're looking for? Browse other questions tagged .