Support

Home Forums Event Espresso Premium Caching issues

Caching issues

Posted: May 3, 2021 at 7:29 pm


make_webmaster

May 3, 2021 at 7:29 pm

We are trying to debug an issue where the RSS feed returns a 404 page. We know it is something in our theme code as when we switch to another theme the RSS feed works fine.

The issue we are having is due to some caching we are unable to determine what in the theme is precisely causing the issue. I can delete all files in my theme and the 404 error still shows for a few minutes, and then all of a sudden voila the RSS feed shows up. We need to be able to remove files in our theme one at a time and retest if the RSS page is there or not. Is there a way to disable the Event Espresso caching just long enough to test this out?


Tony

  • Support Staff

May 4, 2021 at 5:38 am

Hi there,

May I ask which Event Espresso caching you are referring to?

The only RSS cache within EE that I can this of is used to catch eventespresso.com’s news feed and not the sites own RSS feed.


make_webmaster

May 7, 2021 at 5:19 pm

Honestly, I don’t know what caching it is. We are debugging this on our local system with no caching plugins engaged.

The theory is we could disable a plugin causing the issue and see the RSS feed work. Re-enabling the same plugin causes it to not work.

The problem is we can’t recreate that. We will disable plugin XYZ, we will see the RSS feed start working. We will re-enable the plugin and the RSS still works. It’s also not consistent with which plugin we disable when the RSS feed suddenly starts working


Tony

  • Support Staff

May 11, 2021 at 3:21 am

Ok, which specific RSS feed are you checking here? Is it all of them?


make_webmaster

May 11, 2021 at 9:29 am

Great question. Specifically we are talking about the RSS feed at /events/


Tony

  • Support Staff

May 11, 2021 at 9:35 am

Ok, so your using /events/feed/

When that 404’s, does /events/ and /events/{an-event-slug} work?

We’ve had reports previously of EE’s rewrite rules not being set when permalinks are flushed at an unexpected point during the request (before EE has added its rules) and I’ve created a snippet to help troubleshoot that which may also help here:

https://gist.github.com/Pebblo/a6d2b949d0ae784c09de442b9848ff7d

Add that to the site and then set WP_DEBUG using this snippet in wp-config.php:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

That will log your rewrite rules when a request for an `event’ returns 404, check if EE’s write rules are set on those requests.


make_webmaster

May 12, 2021 at 12:24 pm

Hi Tony

When /events/feed/ 404’s the /events/ and /events/{an-event-slug} do still work. I will check the rewrite rules now and let you know what I find.

The support post ‘Caching issues’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso