Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @mikesr,

    I hope you are doing well today!

    By default Hummingbird will not cache URLs containing query strings, as in your example and they are ignored unless you enabled Cache URL Queries option under Hummingbird->Caching->Page caching->Settings.

    Ref : https://wpmudev.com/docs/wpmu-dev-plugins/hummingbird/#cache-url-queries

    Kind regards,
    Zafer

    Thread Starter mikesr

    (@mikesr)

    Zafer, thanks for the feedback!

    Yes, I understand this setting you indicated. But my task is different, I need to open a (quickly) cached version when navigating to a URL with additional parameters.
    At the moment, it takes a very long time to open a page with parameters in the URL, with the “Cache URL queries” option turned off.
    I hope I have explained clearly). Thanks in advance for the new feedback.

    Thread Starter mikesr

    (@mikesr)

    @wpmudevsupport15 , hi

    Can I wait for my problem to be solved?

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @mikesr

    I am afraid there is no way to preload the cache with query strings other than once the campaign starts you access the page manually to generate the cache file.

    As Zafer said, by default it won’t cache any query string, but enabling the option in Hummingbird will turn the caching on, however, it must have an initial request to the plugin or server to generate the cached version for that specific string.

    The plugin will follow this:

    • User access the page it generates the cache file on wphb-cache
    • A Query parameter is accessed it will generate a new file, at this moment there are 2 cache, regular page and query parameter cache,
    • If Query parameter changes the first access generate a new cache and then plugin serve it to the next user.

    So we can’t force returning the cache page itself but instead of it the plugin will return the proper cache page, in your case it is a UTM campaign but query strings can be used to generate custom content on pages and apply conditionals, so modifying this behavior can cause issues.

    Best Regards
    Patrick Freitas

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @mikesr,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How Ignore all optional parameters in url?’ is closed to new replies.