Delete all cache without any actions (add / update post)
-
Hello.
I noticed that cache pages are constantly being deleted.
What actions did:- Uploaded a new photo
- Added a photo on page.
- Saved and cleared the cache only for them.
It is possible that pages are deleted without action. Today / Tomorrow I’ll look at the logs.
My settings:
- ON – Preload mode
- 0 – Refresh preloaded cache files
- OFF – Clear all cache files when a post published or updating
- 0 – Cache Timeout
- Accepted Filenames: Single Posts, Pages
The next day in the logs I saw the following:
Notes:
id=162300 – attachment post with a photo from the “Media” section (it has URL – https://myurl.ru/englishart/skyeng-240h400-1wm-1e91/)The plugin caches the attachment page and starts deleting other files. Why? In the settings, only – Post, Page and homepage.
07:51:55 31794 /wp-admin/async-upload.php wp_cache_post_edit: Clearing cache for post 162300 on clean_post_cache 07:51:55 31794 /wp-admin/async-upload.php supercache dir: /mypath/public_html/wp-content/cache/supercache/myurl.ru/mysite/skyeng-240h400-1wm-1e91/ 07:51:55 31794 /wp-admin/async-upload.php wp_cache_post_id_gc post_id: 162300 https://myurl.ru/mysite/skyeng-240h400-1wm-1e91/ clearing cache in /mypath/public_html/wp-content/cache/supercache/myurl.ru/mysite/skyeng-240h400-1wm-1e91/. 07:51:55 31794 /wp-admin/async-upload.php wpsc_get_realpath: directory does not exist - /mypath/public_html/wp-content/cache/supercache/myurl.ru/mysite/skyeng-240h400-1wm-1e91/ 07:51:55 31794 /wp-admin/async-upload.php prune_super_cache: exiting as file/directory does not exist : /mypath/public_html/wp-content/cache/supercache/myurl.ru/mysite/skyeng-240h400-1wm-1e91/ 07:51:55 31794 /wp-admin/async-upload.php wp_cache_post_id_gc clearing cache in /mypath/public_html/wp-content/cache/supercache/myurl.ru/page/. 07:51:55 31794 /wp-admin/async-upload.php wpsc_get_realpath: directory does not exist - /mypath/public_html/wp-content/cache/supercache/myurl.ru/page/ 07:51:55 31794 /wp-admin/async-upload.php prune_super_cache: exiting as file/directory does not exist : /mypath/public_html/wp-content/cache/supercache/myurl.ru/page/ 07:51:55 31794 /wp-admin/async-upload.php Post change: supercache enabled: deleting cache files in /mypath/public_html/wp-content/cache/supercache/myurl.ru/ 07:51:55 31794 /wp-admin/async-upload.php wpsc_delete_files: deleting /mypath/public_html/wp-content/cache/supercache/myurl.ru/ 07:51:55 31794 /wp-admin/async-upload.php wpsc_delete_files: reading files: . 07:51:55 31794 /wp-admin/async-upload.php wpsc_delete_files: reading files: .. 07:51:55 31794 /wp-admin/async-upload.php wpsc_delete_files: reading files: perevod-slova-industrial-na-angliyskiy-10001a 07:51:55 31794 /wp-admin/async-upload.php wpsc_delete_files: reading files: angliyskie-slova-na-temu-razdely-psikhologii and so on 20.000+ lines................
- Main page id = 390 is page where i added a photo.
07:53:54 33570 /wp-admin/admin-ajax.php wp_cache_post_edit: Clearing cache for post 390 on clean_post_cache 07:53:54 33570 /wp-admin/admin-ajax.php supercache dir: /mypath/public_html/wp-content/cache/supercache/myurl.ru/ 07:53:54 33570 /wp-admin/admin-ajax.php wp_cache_post_id_gc post_id: 390 clearing cache in /mypath/public_html/wp-content/cache/supercache/myurl.ru/. 07:53:54 33570 /wp-admin/admin-ajax.php prune_super_cache: wp_cache_rebuild_or_delete( /mypath/public_html/wp-content/cache/supercache/myurl.ru/perevod-slova-industrial-na-angliyskiy-10001a/index-https.html ) 07:53:54 33570 /wp-admin/admin-ajax.php rebuild_or_gc: rename file to /mypath/public_html/wp-content/cache/supercache/myurl.ru/perevod-slova-industrial-na-angliyskiy-10001a/index-https.html.needs-rebuild 07:53:54 33570 /wp-admin/admin-ajax.php gc: could not delete /mypath/public_html/wp-content/cache/supercache/myurl.ru/perevod-slova-industrial-na-angliyskiy-10001a as it's not empty: index-https.html.needs-rebuild thousands of similar lines
07:53:55 33570 /wp-admin/admin-ajax.php wp_cache_post_id_gc clearing cache in /mypath/public_html/wp-content/cache/supercache/myurl.ru/page/. 07:53:55 33570 /wp-admin/admin-ajax.php wpsc_get_realpath: directory does not exist - /mypath/public_html/wp-content/cache/supercache/myurl.ru/page/ 07:53:55 33570 /wp-admin/admin-ajax.php prune_super_cache: exiting as file/directory does not exist : /mypath/public_html/wp-content/cache/supercache/myurl.ru/page/ 07:53:55 33570 /wp-admin/admin-ajax.php Post change: supercache enabled: deleting cache files in /mypath/public_html/wp-content/cache/supercache/myurl.ru/ 07:53:55 33570 /wp-admin/admin-ajax.php wpsc_delete_files: deleting /mypath/public_html/wp-content/cache/supercache/myurl.ru/ 07:53:55 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: . 07:53:55 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: .. 07:53:55 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: perevod-slova-industrial-na-angliyskiy-10001a 07:53:55 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: angliyskie-slova-na-temu-razdely-psikhologii thousands of similar lines.....
07:54:06 33570 /wp-admin/admin-ajax.php wp_cache_post_edit: Clearing cache for post 390 on clean_post_cache 07:54:06 33570 /wp-admin/admin-ajax.php supercache dir: /mypath/public_html/wp-content/cache/supercache/mysite.ru/ 07:54:06 33570 /wp-admin/admin-ajax.php wp_cache_post_id_gc post_id: 390 https://myurl.ru/ clearing cache in /mypath/public_html/wp-content/cache/supercache/mysite.ru/. 07:54:06 33570 /wp-admin/admin-ajax.php prune_super_cache: wp_cache_rebuild_or_delete( /mypath/public_html/wp-content/cache/supercache/mysite.ru/perevod-slova-industrial-na-angliyskiy-10001a/index-https.html.needs-rebuild ) 07:54:06 33570 /wp-admin/admin-ajax.php rebuild_or_gc: rebuild file found. deleted because it was too old: /mypath/public_html/wp-content/cache/supercache/mysite.ru/perevod-slova-industrial-na-angliyskiy-10001a/index-https.html.needs-rebuild thousands of similar lines.....
Files marked “too old” are deleted there. But the cache lifetime is completely disabled.
07:54:06 33570 /wp-admin/admin-ajax.php wp_cache_post_edit: Clearing cache for post 390 on clean_post_cache 07:54:06 33570 /wp-admin/admin-ajax.php supercache dir: /mypath/public_html/wp-content/cache/supercache/myurl.ru/ 07:54:06 33570 /wp-admin/admin-ajax.php wp_cache_post_id_gc post_id: 390 https://myurl.ru/ clearing cache in /mypath/public_html/wp-content/cache/supercache/myurl.ru/. 07:54:06 33570 /wp-admin/admin-ajax.php prune_super_cache: wp_cache_rebuild_or_delete( /mypath/public_html/wp-content/cache/supercache/myurl.ru/perevod-slova-industrial-na-angliyskiy-10001a/index-https.html.needs-rebuild ) 07:54:06 33570 /wp-admin/admin-ajax.php rebuild_or_gc: rebuild file found. deleted because it was too old: /mypath/public_html/wp-content/cache/supercache/myurl.ru/perevod-slova-industrial-na-angliyskiy-10001a/index-https.html.needs-rebuild thousands of similar lines.....
Then the files are deleted.
07:54:07 33570 /wp-admin/admin-ajax.php Post change: supercache enabled: deleting cache files in /mypath//public_html/wp-content/cache/supercache/englishart.ru/ 07:54:07 33570 /wp-admin/admin-ajax.php wpsc_delete_files: deleting /mypath//public_html/wp-content/cache/supercache/myurl.ru/ 07:54:07 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: . 07:54:07 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: .. 07:54:07 33570 /wp-admin/admin-ajax.php wpsc_delete_files: reading files: perevod-slova-industrial-na-angliyskiy-10001a thousands of similar lines.....
Tell me if there are tools to understand what exactly initiates the deletion of the cache?
- The topic ‘Delete all cache without any actions (add / update post)’ is closed to new replies.