Changes between Initial Version and Version 1 of Ticket #59719, comment 19
- Timestamp:
- 01/08/2024 08:58:34 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59719, comment 19
initial v1 11 11 12 12 13 We should make sure that all cache invalidation happens in the [https://developer.wordpress.org/reference/classes/wp_theme/cache_delete/ WP_Theme::cache_delete()] method. This is called [https://github.com/search?q=repo%3AWordPress%2Fwordpress-develop+-%3Ecache_delete+&type=code throughout] core and likelyby [https://www.wpdirectory.net/search/01HKNDQ3Z1XXF4AMG2XA8P12RW third party plugins].13 We should make sure that all cache invalidation happens in the [https://developer.wordpress.org/reference/classes/wp_theme/cache_delete/ WP_Theme::cache_delete()] method. This is called [https://github.com/search?q=repo%3AWordPress%2Fwordpress-develop+-%3Ecache_delete+&type=code throughout] core and by [https://www.wpdirectory.net/search/01HKNDQ3Z1XXF4AMG2XA8P12RW third party plugins]. 14 14 15 15 Until we "solved" the cache invalidation problem, we CANNOT use `site_transient` functions to cache this data. I have outlined a fix [https://core.trac.wordpress.org/ticket/59719?replyto=18#comment:17 here], but I am open to other ideas.