• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved How to clear the Server Cache

SleepTri

New Pleskian
Hey there,
following situation, wordpress runs on the server and works great so far but after changing some lines for a css file via the dashboard, the website does not show the changes.
In the support forum of the wordpress theme, they explained me to clear my website cache.

Having no wordpress plugin that creates a website cache, thought they meant my browser cache, cleared it and after that, the issue - of course - remained.
Checking my website with another cache-checker-website for having a server cache, which this website told yes to me
So, now I am searching the option to clear the website cache from the plesk panel.

Am I on the right track? Is there an option to clear my website cache?

Best regards,
SleepTri
 
I suppose that default WordPress cache location is /var/www/vhosts/domain.com/httpdocs/wp-content/cache
But note, your WP cache plugin may create its own cache in another location. Check settings of this cache plugin and try to find this location there.
For example, for Autoptimize plugin it is /var/www/vhosts/domain.com/httpdocs/wp-content/cache/autoptimize/
 
I suppose that default WordPress cache location is /var/www/vhosts/domain.com/httpdocs/wp-content/cache
But note, your WP cache plugin may create its own cache in another location. Check settings of this cache plugin and try to find this location there.
For example, for Autoptimize plugin it is /var/www/vhosts/domain.com/httpdocs/wp-content/cache/autoptimize/

Thank you. Solved the problem. Has been the standard cache!
 
Hey, I had the same issue. I found a folder called "page_enhanced" in the cache folder. I renamed that to _old and it solved the issue. But...

Should I delete that folder? Plesk didn't create another folder, yet.

Thanks!
 
There are two ways to do so via CLI:


plesk ext wp-toolkit --clear-cache -instance-id 1
plesk ext wp-toolkit --clear-cache -instance-id 2
plesk ext wp-toolkit --clear-cache -instance-id 3


rm -rf /var/www/vhosts/example.com/httpdocs/wp-content/cache/*
rm -rf /var/www/vhosts/example.com/staging.example.com/wp-content/cache/*
 
Back
Top