[wp-trac] [WordPress Trac] #53322: There is no way to bypass loading of object cache
WordPress Trac
noreply at wordpress.org
Wed Jun 2 18:02:44 UTC 2021
#53322: There is no way to bypass loading of object cache
----------------------------+-----------------------------
Reporter: jorbin | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
----------------------------+-----------------------------
Right now in `wp_start_object_cache`, the existence or non-existence of
the `object-cache.php` dropin is the only way to signify if WordPress
should load the object cache without messing around with globals in a way
that is not completely reliable.
Some specific use cases:
- If you want to be able to conditionally test uncached requests
- If you are on a host that auto installs an object cache and you don't
have access to the file system
Classifying as a bug since we have the ability to disable the advance-
cache dropin and it was an oversite to only be able to disable that one.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53322>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list