XF 2.1 "Search Threads" tab slow

polyp2000

New member
Hi,
Im experiencing an issue with the Advanced Search page.
The issue arises not during the search itself but in the code which fetches the data
to populate the "Prefixes" multi-select on the "Advanced Search -> Search Threads" page ( ..../search/?type=post )

I've taken a look and as far as i can tell at least some of the data needed to
render this part of the form should be cached. We have a lot of prefixes and I suspect there
is some recursion going on but i am finding it tricky to debug. On our main site this page bails out and thus
the plugin is not fully usable in this state.

I've looked at the cached data for ThreadPrefixes and it looks to be present but its looking like
there is something intensive going on in _getVisiblePrefixListData or findPrefixesForList

I've had out of memory issues and timeouts on this page.

Any help / workarounds greatly appreciated

Nick
 
Last edited:
Top Bottom