• Resolved cormip

    (@cormip)


    I’ve been using a stack of Autoptimize, Cache Enabler & CDN Enabler on a couple dozen WordPress sites with no issues. I recently started using The Events Calendar Plugin on one of those sites, and it works just fine, with the calendar displaying at the default slug: /events/.

    However, after some time (~a day?), I’m seeing the Events Calendar displaying on the Home Page instead of the home page content?! Purging the CDN does not fix it, but clearing the Cache Enabler cache does! This has happened 3 times now. Any ideas on a fix? I’ve never had this problem of wrong content being served before from that caching plugin.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there,

    Thanks so much for reaching out.

    Our plugins should play nicely with the cache enabler as long as you disable minification, compression or concatenation of JavaScript or CSS files on all calendar pages.

    Would you please disabling this and see if it helps?

    Best regards,
    Eugene.

    Thread Starter cormip

    (@cormip)

    Eugene, thanks for the prompt response. Disabling minification, compression and concatenation of the plugin folder appears to have solved the problem, but having 27 different files (JS & CSS) load to display the calendar is excessive and will significantly hamper achieving strong pagespeed scores.

    I strongly suggest that you look into combining your JS & CSS so that only 2 files are loaded rather than 27. There’s also a much better chance then that the CSS & JS can be combined with the rest of the site’s files.

    Regards,

    Paul

    Thread Starter cormip

    (@cormip)

    OK, I spoke too soon. The problem has returned, despite no concatenation, compression, or minification of the plugin files. Have a look: https://www.cambridgehills.com/

    It loads correctly now, because I cleared the cache to fix it. I need to get this solved or else I’ll have to switch to a different calendar plugin.

    Perhaps try performing some of your own testing with KeyCDN’s Cache Enabler plugin.

    Paul

    I’m having the same issue using Autoptimize, Cache Enabler and The Events Calendar. Just notice the homepage being replaced by an events list a couple days ago. It was happening multiple times a day. Clearing the page or site cache only fixes the problem temporarily.

    I opted to switch to another caching plugin on the production site until I can resolve this issue. But, I still have a development site where I can consistently reproduce the behavior with the following steps:

    1. clear the homepage Page Cache or Site Cache
    – the cache file is deleted (/wp-content/cache/cache-enabler/[site-domain]/https-index.html)
    2. visit the homepage
    – a new cache file is created
    3. visit the default calendar list page: /events/
    – no change to homepage
    4. click previous arrow
    – brings you to: /events/list/?eventDisplay=past
    – no change to homepage
    5. reload page
    – homepage cache file is replaced
    – visiting the homepage reveals the content is now replaced with an events list

    I’ve tried playing around with cache/aggregation/optimization settings with no luck. Any additional help would be appreciated.

    thanks,

    Mike

    @eugenetribe @cormip @mikehues the developer for Cache Enabler did a deep dive on this and figured it out!

    https://www.ads-software.com/support/topic/event-archive-cached-as-home-page/#post-13852153

    great news! thanks for the heads up @madjax

    Thread Starter cormip

    (@cormip)

    Unfortunately, I’d already switched to another Calendar plugin, but this response certainly increases my trust in the folks at KeyCDN. Thanks!

    I see the ticket is “resolved”.
    Has @corey’s snippet been added to the core code of the plugin now ?
    I guess also @cormip ‘s point on having 27 files combined is making sense… is someone looking into that ?

    It doesn’t seem to be solved, I just ran into the same problem after updating to the new calendar design.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The Events Calendar Plugin not compatible with Cache Enabler by KeyCDN’ is closed to new replies.