[Hummingbird] Cached page not being created by Hummingbird

Hummingbird is not creating a cache file for http://cylerity.com home page. It is creating a cache file for the page http://cylerity.com/case-study-new-objectives/ And it is creating a cached version of other sites on the same multisite install, such as http://eletrope.agency I have verified this by watching (via FTP) cache files being created and by inspecting the served HTML to look for the Hummingbird comment. I have deactivated, deleted, installed and reactivated the plugin. There are no other cache plugins installed. Support access has been granted for wpn03.eletrope.net

  • Adam Czajczyk

    Hello Ken

    I hope you're well and thank you for your question!

    I've accessed your site and enabled debugging in Hummingbird caching. There's a number of "cases" reported and among them there are two that seem to be most relevant. One is that the plugin seems to be detecting DONOTCACHEPAGE constant defined.

    That can either be set a "define()" line in "wp-config.php" or added "dynamically" by a theme or one of the plugins. Could you please check the "wp-config.php" file and see if there's any line starts like

    define( 'DONOTCACHEPAGE'....);

    If so, comment it out or remove and check if that helped. If there's no such line, try switching the theme temporarily on the affected site to the default Twenty Seventeen, clear caches and check again.

    If that doesn't help either, we'll then investigate the other issue reported there which seems to be related to some either WP Cron or admin-ajax tasks running in background while the page is loaded - which also might exclude it from caching.

    Looking forward to your response,

  • Ken

    1. there was NO instance of define('DONOTCACHEPAGE'...); in wp-config.php
    2 .Changed the Theme to Twenty Seventeen. Cleared Caches. Browsed to Cylerity home page. Refreshed a couple of times. Cache file was NOT created. Verified via lack of HTML comment. Verified via FTP. After browsing to other pages and posts, cache files were created for pages that are not the home page and for posts. This behavior is only occurring on the front/home page.

  • Adam Czajczyk

    Hello Ken

    Thank you for your response.

    In that case, I'd like to investigate it further and in order to be able to do this, I would need more direct access to the site. Could you please send in:

    Subject: "Attn: Adam Czajczyk"

    - Mark to my attention, the subject line should contain only: ATTN: Adam Czajczyk
    - Do not include anything else in the subject line, doing so may delay our response due to how email filtering works.
    - Link back to this thread
    - login URL and admin account login credentials (may be a temporary admin account) data
    - Include FTP log-in details (hostname, username & password)
    - Include hosting control panel access details (login address, username & password) - cPanel's usually the control panel used for this, but your provider may use something else; I'll need this for accessing your site's database, preferably via phpMyAdmin
    - Include any relevant URLs for your site

    Please use our contact form here https://premium.wpmudev.org/contact/#i-have-a-different-question

    I will then use those credentials to "dig deeper" and if necessary, I'll also include our developers in the case.

    Best regards,

  • splaquet

    ugh... hours and HOURS of work later, several support chats and tickets after... and the answer is that Forminator is the issue here?

    i was suffering from cron & ajax error lines in the debug log on this massive site that i've been working on. but then, on a brand new install, i was suffering from the same issue.

    [12:04:09] Page not cached because of active cron or ajax request.
    [12:04:09] Loading config file.
    [12:04:09] Skipping page with GET params.
    [12:04:10] Loading config file.
    [12:04:10] Request passed should_cache_request check. Ready to cache.
    [12:04:10] Loading config file.
    [12:04:10] Skipping page with GET params.
    [12:04:11] Loading config file.
    [12:04:11] Page not cached because of active cron or ajax request.
    [12:04:11] Loading config file.
    [12:04:11] Page not cached because of active cron or ajax request.

    i was trying to find the common thread between the two sites. the new one being incredibly plain and simple (maybe 10 plugins) the complicated site having around 40 plugins... and then, i stumbled upon this thread.

    as it would turn out, on my complicated site, i had an embedded forminator form shortcode in a model box, embedded into every page :slight_frown:

    Adam Czajczyk , it seems very elementary here IMO. how could WPMU put out 2 plugins, Hummingbird & Forminator... and NOT tell people (other than in a vague method via hummingbird cache error log) that they conflict with each other?! seems like a major slip up here, on WPMUs behalf. i can think of about... mmmm, say 10,000 folks out there, who'd TRULY benefit from some type of notification about this plugin conflict of yours.

    look at this disastrous history of mine on GTMetrix.com!

    as you know Adam, i've been fighting with SO MANY ISSUES on this site, and it was all due to a FORMINATOR & HUMMINGBIRD CONFLICT!?!?!? geeezum crickets :disappointed:

  • Predrag Dubajic

    Hi all,

    Forminator has an option to allow or disable caching on the page that has a form, if you have "Prevent page caching on form pages" enabled for your form then Hummingbird caching will not be applied on that page.
    It's not a conflict between the plugins but rather a setting that was added in order to avoid issues that form submissions can have when there's caching enabled on page.

    If you have form page cached and experience issues with form functionality you should try enalbing AJAX form loading under Form > Behavior panel.

    splaquet if you have "Prevent page caching on form pages" option disabled but the page is still not getting cached for you please start a new ticket so we can investigate this furhter on your site.

    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.