@francoc30 Could you please reduce the cache life span to 24 hours and check if it helps to fix the issue?
Sure I’ll try that. But what will happen when 24 hours is up? Will the cache pages be purged at that point?
@francoc30 Yes, the cache pages will be purged after 24 hours.
Hi Harshad,
Changing cache lifespan to 24 hrs. did not correct the problem. The number of cached pages gradually decreased over time. I have to run Preload again.
I am still getting a lot of instances of error:
20220503T130443: mydomain.com/index.php
PHP Warning: mkdir(): File exists in /mydomain_path/public_html/test/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 119
Not sure if that help you to investigate.
@francoc30 This is warning nothing to worry about it won’t stop the functionality of your site.
Could you please try to Preload the urls and check the cache size?
Hi Harshad,
I have been tracking the cache size (number cache files and total cache size) for over a week. The findings are the same. The number of cache files and size decrease over time in a day. Then I have to run Preload again to keep the performance up, each time. This cycle repeats each day. It should not be like this.
@francoc30 I’ve tried to reproduce the issue at my side but its working fine for me.
Have you performed a conflict test yet?
Try deactivating all plugins except for WP-Optmize and see if it is resolved.
If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.
Please let us know your findings.
@bornforphp, I will try that on my development site first. My development site is in the same database as the main site on the server. Its domain name is like, mainsite.com/dev/. Can WPO be installed and run on such structure without conflict/problem?
Also if I set the cache lifespan to 0 hours or blank, will there be any adverse consequences?
I also notice in the minify folder, there are two subfolders: assets and header. Asset subfolder contains minify files, but the Header subfolder is empty. Is this normal? If not, why and what causes this?
@francoc30 Sorry for the delay, yes you can run the plugin on dev site there will be no adverse effects.
the minify folder, there are two subfolders: assets and header. Asset subfolder contains minify files, but the Header subfolder is empty.
Yes its normal.
@bornforphp, thanks for the reply. On the other question:
“Also if I set the cache lifespan to 0 hours or blank, will there be any adverse consequences?”
Do you have any advice on that?