WP_SQLITE_OBJECT_CACHE_DB_FILE partially working | WordPress.org

I added this into wp-config.php

define( 'WP_SQLITE_OBJECT_CACHE_DB_FILE', '/tmp/mysite-object-cache.sqlite' );

one .sqlite file under /tmp/ does appear (with random salt in the middle of the file name), but it’s a small file, the big files located under wp-content/ are still growing. There are 4 sqlite related files under wp-content/ with old names:

.ht.object-cache.salt.sqlite

.ht.object-cache.salt.sqlite-shm

.ht.object-cache.salt.sqlite-wal

.ht.object-cache.sqlite

How can I move all of them to /tmp/?

Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer