Yes, you can delete the WP content cache. This is a common way to clear cached data from your WordPress site.
Caching helps your website load faster by storing static versions of your pages and content. However, sometimes this cached data can become outdated, especially after making updates to your site's theme, plugins, or content. Clearing the cache ensures that visitors see the most recent version of your site.
How to Delete WP Content Cache Manually
One direct method to clear your WordPress cache, as indicated by the provided reference, is by manually deleting the contents of the cache folder via FTP or your hosting file manager.
Here's the process:
- Connect to Your Website Files: Use an FTP client (like FileZilla, Cyberduck, etc.) or access your hosting control panel's file manager.
- Navigate to the
wp-content
Folder: Once connected, browse to your WordPress installation directory. Inside, you will find thewp-content
folder. - Locate the
cache
Folder: Open thewp-content
folder and find the folder namedcache
. - Delete the Contents: Go inside the
cache
folder. You must delete everything inside this folder. Do not delete thecache
folder itself. As the reference states, "You can manually delete the contents of the “cache” folder via FTP to clear the WP cache."
By deleting the files within this folder, you are effectively removing the stored cached data. Your caching plugin or WordPress itself will regenerate new cache files as needed.
Important Considerations
- Only Delete Contents: Be very careful to only select and delete the files and subfolders within the
cache
folder. Deleting thecache
folder itself, or other folders inwp-content
, could cause significant issues with your site. - Caching Plugins: If you use a dedicated caching plugin (like WP Super Cache, W3 Total Cache, LiteSpeed Cache, etc.), these plugins often create their own cache folders within
wp-content
or manage cache in specific ways. While manual deletion of the primarywp-content/cache
folder works, these plugins usually provide a button or option within the WordPress admin dashboard to clear their specific cache, which is often the recommended and safer method when a plugin is active. - Backup: It's always a good practice to back up your website before performing any manual file operations.
Manual deletion via FTP is a reliable method when you need direct access to your files or if you're troubleshooting issues where plugin cache clearing isn't working as expected.