1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Search URL without cache

Discussion in 'XenForo Questions and Support' started by Slind, Jun 11, 2016.

  1. Slind

    Slind Active Member

    I would like to share a specific search query, but when clicked it should execute a new search and not the cached results, is that possible?

    The url it returns is
    When I replace the number with "search" it executes an empty search. When I write a query like
    it works though, I assume it is due to the keys being different.

    Btw is the search result stored forever under its id and accessing the url a year later returns the same?

    Disclaimer: enhanced search is being used
  2. Mike

    Mike XenForo Developer Staff Member

    There's no URL-based way to not use the cache, though it is explicitly disabled for moderators and admins and in debug mode (for everyone). The cache is not shared between users (but it would be shared by guests).

    The results are only cached for 1 hour.
  3. Slind

    Slind Active Member

    hmm, thanks.
    It looks like the prefix filter can only be used via. the post search while the keyword filter works via. the get search.

    I would like to have a clickable link that would list all threads with a specific prefix (across the entire board). Is there any solution approach that comes to your mind?
  4. Mike

    Mike XenForo Developer Staff Member

    This is something that you may need to do for your specific needs as we generally require a keyword or a user for a search to be done.
  5. Slind

    Slind Active Member

    alright, thanks.

Share This Page