Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Magi1053955yAre they really using a database cache to store a message for later code execution? At least use the wp object cache instead...
-
ojrask2915y@Magi1053 transients are written on top of the WP object cache system. The object cache defaults to database storage if I remember correctly.
-
Magi1053955y@ojrask Object cache isn't persistent. It's just a global variable that stores data in an associative array
-
ojrask2915y@Magi1053 I see, thanks. Then the transient system has a hook to store to wp_options in case object-cache.php is not present.
-
Magi1053955y@ojrask transients are always stored in the database. Object cache use to be persistent but that functionality is removed in favor of persistent caching plugins
-
ojrask2915y@Magi1053 that transient storage logic change is quite recent then, for the past decade I've been storing transients into Redis by adding a proper object-cache.php.
Related Rants
Found this 5 minutes ago. Words can't explain my feelings...
rant
novice
junior
idiot