• Resolved benprowp

    (@benprowp)


    Hi,

    I’m trying to cache the home page of my website.
    Other pages works great but not the home page.

    It seems that there is an odd detection about “front page” or “home page”.

    `
    page-caching-meta-box.php:53
    <?php if ( ‘home’ === $page_type && $blog_is_frontpage ) : ?>
    `

    Because of blog_is_frontpage, the home page is not cached and I don’t understand why. As a workaround I edited wphb-cache.php to add home and now my home page is cached.

    Any idea why you’re doing this?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @benprowp

    Hope all is well!

    I could not reproduce this issue from my end. Would you please make sure the FronPage is enabled from Hummingbird > Caching > Page Caching? Please see the attached screenshot:
    https://monosnap.com/file/hyIKxIxcz6FKw61galOKppuzaQTyRE

    If this option is enabled, please make sure to visit the home page as a visitor.

    If the issue still persists, please share here a link to your site so we could have a closer look.

    Have a good day and take care!

    Cheers,
    Nastia

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hey there @benprowp,

    it’s been a while since we’ve heard back from you so I’m marking this topic as resolved. Feel free to post any update and we can re-open it and carry on troubleshooting. ??

    Take care,
    Dimitris

    Thread Starter benprowp

    (@benprowp)

    Hey,

    I have the frontpage caching enabling but does not works.
    Screenshot: https://screenshots.firefox.com/u19o6YQLj4SJmdnl/mo-f.fr

    There is a misleading between frontpage and home.
    I can’t enable “home” to cache my front page.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @benprowp

    Hope you’re doing well!

    Please make sure that you’re viewing the page as the logged out user. By default, the site is not cached for logged in users.

    To enable cache for logged in users, please enable “Include logged in users” option in Hummingbird > Page Caching
    https://monosnap.com/file/55IWeLqgkm2jvOB78iCVYxuWOj8GBo#embed

    Would you please share a link to your site so we could check the caching issue?

    Please advise,

    Cheers,
    Nastia

    Thread Starter benprowp

    (@benprowp)

    You have not understood the issue.
    The issue is that I can’t enable caching of homepage in settings.
    As a workaround I edited wphb-cache.php to add home and now my home page is cached.

    
    {"page_types":["frontpage","home","page","single","archive","category","tag"]…
    

    Please forward to developers.

    Hi @benprowp,

    I’ve been able to replicate and can confirm this is a bug. I’ve logged this and a fix will be available in an upcoming update.

    Cheers,
    Calum

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot cache home page’ is closed to new replies.