• Resolved Syclone

    (@syclone)


    First of all, thank you for the excellent performance plugin. It is my favorite.

    Hummingbird currently has the ability to take into consideration the cookies when generating cached pages in the get_cookies() function.

    I would like to add my own cookie into the list used to generate the hash. I think it would be a great addition the list of cookies could be updated/customizable from the admin interface similar to the Exclusion section.

    foreach ( (array) $_COOKIE as $key => $value ) { // Input var ok.
    	// Check password protected post, comment author, logged in user.
    	if ( preg_match( '/^wp-postpass_|^comment_author_|^wordpress_logged_in_/', $key ) ) {
    	      self::log_msg( 'Found cookie: ' . $key );
    	      $cookie_value .= $_COOKIE[ $key ] . ','; // Input var ok.
            }
    }

    This can be be customizable '/^wp-postpass_|^comment_author_|^wordpress_logged_in_/'

    This would be useful for marketers who run special campaigns and would like to provide alternate information on the same page (price, discounts, offers, terms and etc) using a campaign tracking cookie.

    Thanks again

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Syclone

    (@syclone)

    Alternatively, you could provide a cookie that we could use, Eg.

    '/^wphb_cache_|^wp-postpass_|^comment_author_|^wordpress_logged_in_/'

    With that, we can set a value to the cookie wphb_cache_campaign and have an alternate version (different banners, wording or etc.) for say the front page.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @syclone

    I hope you’re well today and thank you for this great feedback.

    I admit I’m not that familiar with Hummingbird’s code (but I’m also not a developer) to refer to what you suggested but “usability-wise” it sounds to me like quite a cool tool.

    I have already passed your idea to our Hummingbird developers team for further consideration.

    Best regards,
    Adam

    Thread Starter Syclone

    (@syclone)

    OK, Thanks for passing that on.

    I hope they like it and decide to add one of those implementations.

    Take care!

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @syclone

    I can confirm that we already put it on a “to do” list so it will be implemented in future.

    I don’t have an ETA but it’s going to be there.

    Thank you for suggesting it as we’re always “on the hunt” for improvements!

    I’ll mark this ticket as resolved for now but in case you had any follow-up questions or ideas, please don’t hesitate to get back to us!

    Best regards,
    Adam

    Thread Starter Syclone

    (@syclone)

    Is there any progress or update on this request?

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @syclone,

    I’m afraid there isn’t any further update that we have at the moment regarding this feature request.

    As mentioned by Adam, our developers have considered this feature in the “to do” list and will be looking to implementing down the plugin’s roadmap.

    I’ll make sure to check with our team to see if there is any further feedback that we could share regarding the status. At the moment, I’m afraid there isn’t any exact ETA that we could share.

    Kind regards,
    Nithin

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Allow cookie value for page cache hash to be customizable’ is closed to new replies.