Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #119159
    theophila
    Participant

    Was ready to give up on this theme because of a few weird issues. In no particular order:

    • Would enable slider on homepage / frontpage only, but it would then appear on other pages
    • Enabling header image on pages with featured image would not show an image
    • Viewing any of these pages in the customizer view would show the correct header and image
    • The styles of the last-viewed page would then be stuck, e.g. the static header image of a page with a featured image would then be used for every featured image page / post

    I traced the .custom-header:before selector to custom-css.php and the nepalbuzz_header_bg_custom_css and nepalbuzz_custom_css methods. The problem is, since you’re caching nepalbuzz_custom_css as a transient, the custom background CSS wasn’t being refreshed between different page views, which meant the header image of the last-cached background css was being output. Uncommenting nepalbuzz_flush_transients(); on Line 22 resolved some of that for me, but if you do want to take advantage of memcache, you probably want to rewrite some of the logic there.

    #119167
    tikaram
    Participant

    @theophila : Thank you for pointing out the issues. After analyzing the issues we found out that there is a bug in the theme and it will be fixed in next update. Sorry for the inconvenience that you are facing now. Please stay tuned for next update.

    Regards,
    Tikaram

    #119185
    tikaram
    Participant

    @theophila : Please download the latest version of the theme. The theme has been updated. let me know if the issues are resolved or not.

    Regards,
    Tikaram

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Weird caching issues due to transients’ is closed to new replies.