This topic contains 3 replies, has 2 voices, and was last updated by  Dominykas 3 years, 7 months ago.

  • Creator
  • #1082

    I am trying to use your plugin for the main part of our home page for a site hosted on the managed WordPress host WordPress Engine. They use aggressive caching that keeps the page cached for 10 minutes, which defeats the purpose of the plugin. When I contacted support they told me they can’t disable caching on the home page of a site due to performance and security concerns but that I should ask you, the plugin authors, for a cookie or exclusion to bypass caching. I have some technical knowledge and experience but this isn’t an area I am very familiar with so I am hoping you will understand what they are asking for.

    How does the plugin generate the random post (I am using text type)? They do have the ability to enable order by random WP Query, which I did but it doesn’t help so I am assuming you are not using that method.

    This site went live last night and it is very time sensitive and crucial that I find a fix today or find another solution for the randomizing. I realize that you might not get to this in time but I would still love to hear an answer since I’d like to continuing using your plugin if possible in the future.


  • Author
  • #1083


    Hi Heather,

    I apologise for any inconvenience caused. We don’t use cookies for Content Randomizer plugin. We are using WP_Query to get the posts from the DB (The function name is get_random() in randomizer.php In order to exclude a certain part of HTML from caching, you need to load content asynchonrously using AJAX. This feature is not implemented. We’ll work on this on the next version of the plugin.

  • #1084

    Thanks for the super fast reply! I have a friend helping me include AJAX to get around the WPEngine cache so I am hoping this will be fixed for me short term until the next version comes out. Thanks again

  • #1086


    Hi Heather,

    You’re welcome. Please let me know if you have any further questions.

The topic ‘[Solved] Cookie or exclusion for WordPress Engine caching’ is closed to new replies.