Skip to content

Disable calendar li_html_cache object cache entirely because it's uggy and the solution to performance problems isn't object caching#755

Closed
jerclarke wants to merge 0 commit intoAutomattic:developfrom
jerclarke:fix-calendar-object-cache
Closed

Disable calendar li_html_cache object cache entirely because it's uggy and the solution to performance problems isn't object caching#755
jerclarke wants to merge 0 commit intoAutomattic:developfrom
jerclarke:fix-calendar-object-cache

Conversation

@jerclarke
Copy link
Copy Markdown
Contributor

Re: #505

My analysis of this issue points to bugs in what is being loaded in the HTML, rather than database queries, as the cause of slowness in the calendar, so there's no reason to "save" the object cache which is currently totally broken (it is never invalidated, so out-of-date post info just hangs around until the cache clears itself eventually).

We should remove this cache ASAP so that the calendar is accurate, and deal with performance problems separately.

@GaryJones GaryJones changed the base branch from main to develop November 13, 2025 15:53
@GaryJones
Copy link
Copy Markdown
Contributor

Hi @jerclarke, could you please rebase this PR onto develop? We've recently merged some CI fixes and want to get this tested and merged. Thanks!

@jerclarke jerclarke closed this Dec 9, 2025
@jerclarke jerclarke force-pushed the fix-calendar-object-cache branch from 3dcacd2 to 870ef4f Compare December 9, 2025 18:08
jerclarke added a commit to jerclarke/Edit-Flow that referenced this pull request Dec 9, 2025
…gy and the solution to performance problems isn't object caching

Re: Automattic#505

RE-DONE TO AVOID MERGE HELL

Previous discussion: Automattic#755

My analysis of this issue points to bugs in what is being loaded in the HTML, rather than database queries, as the cause of slowness in the calendar, so there's no reason to "save" the object cache which is currently totally broken (it is never invalidated, so out-of-date post info just hangs around until the cache clears itself eventually).

We should remove this cache ASAP so that the calendar is accurate, and deal with performance problems separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants