Try to set Caching time-to-live (see “Reduce server response time” section in the Advanced settings tab) to 1 minute, remove wp-content/plugins/psn-pagespeed-ninja/cache/filecachecleaner.stamp file, and then clear cache again. For safety, PSN keeps files /s directory for 2x of “Caching time-to-live” time.
Done, but /s is not purged
These folders are correctly purged
wp-content/plugins/psn-pagespeed-ninja/cache
wp-content/plugins/psn-pagespeed-ninja/ress/cache
This is my “Reduce server response time” setting
Caching on
Experimental Caching on
Caching time-to-live 1 min
DNS Prefetch on
I’ve read all threads about this issue but no one has solved.
PSN is awesome but I need to purge old files in “/s” because the full disk risk.
How can I solve?
Can I delete files older than a date with a cron bash script?
For example I could get the date of the oldest file in wp-content/plugins/psn-pagespeed-ninja/cache, I saw it is the same in wp-content/plugins/psn-pagespeed-ninja/ress/cache and delete all files older than this date in /s folder. Would that work?
Hmm, do you have error messages in the error_log file that may be related to PSN?
Yes, you can safely delete files in /s dated older than time of the last PSN’s cache clearing. To be sure, clear cache again after this operation.