How to Clear Horde Cache Files in cPanel
In this article
Clearing Horde cache files in cPanel helps resolve issues like slow email loading, display errors, or login problems in webmail. Horde is a webmail interface used by many hosting providers, and over time it stores temporary cache files that can become corrupted or outdated. Manually clearing these files forces Horde to rebuild fresh data, often fixing common email-related glitches. This process does not delete your emails or account settings—it only removes temporary cached data.
What You'll Need
- Access to your hosting account with cPanel login credentials
- Ability to log in to cPanel (usually via yourdomain.com/cpanel or a provider-specific URL)
- Basic familiarity with cPanel’s layout and file management
- File Manager enabled in cPanel (standard on most hosting accounts)
Step-by-Step
- Log in to your cPanel account using your hosting provider’s login page. Enter your username and password when prompted.
- Navigate to the Files section and click on File Manager. A popup may appear asking which directory to open—select Home Directory (public_html) and ensure the box to show hidden files is checked. If you don’t see hidden files, proceed to step 4 to enable them manually.
- Before proceeding, confirm that hidden files are visible. Click the Settings button in the top-right corner of File Manager. In the new window, check the box labeled Show Hidden Files (dotfiles) and click Save. This is crucial because Horde cache files are stored in hidden directories.
- Locate the tmp directory. In most cPanel setups, this is found at the root level of your account (e.g.,
/home/username/tmpor simplytmpin the main directory list). Click to open it. - Inside the
tmpfolder, look for directories or files beginning withhorde_. These may include folders likehorde_scache,horde_cache, or files prefixed withsess_followed by random characters (these are session files linked to Horde). - Select all
horde_folders and any related cache or session files. You can hold Ctrl (or Cmd on Mac) while clicking to select multiple items, or use the checkbox at the top to select all and then deselect unrelated files. - Click the Delete button at the top of the File Manager interface. A confirmation dialog will appear. Confirm that you want to delete the selected files and folders.
- Wait a few seconds for the system to process the deletion. Do not refresh the page or close the browser prematurely.
- After deletion, close File Manager and log out of cPanel. Wait 1–2 minutes to allow the server to fully clear the cache.
- Reopen your webmail by visiting yourdomain.com/webmail (or the webmail URL provided by your host). Log in using your email credentials. Horde will now generate new cache files automatically.
Common Mistakes
- Not enabling hidden files: The
tmpfolder and Horde cache files are often hidden. Skipping the step to show dotfiles means you won’t see the files you need to delete. - Deleting the wrong files: Avoid removing entire
tmpfolders or unrelated session files (e.g.,phpormysqltemp files), as this could disrupt other services. - Clearing cache while logged in: If you’re logged into webmail while clearing the cache, the old session may persist. Always log out first.
- Skipping the wait period: Immediately retrying to access webmail after deletion may cause errors. Allow a minute for the server to reset.
Tips
- Perform this process during low-usage times (e.g., early morning) to minimize disruption if webmail is temporarily slow.
- Bookmark your cPanel and webmail login pages for faster access in the future.
- Some hosts use alternative paths for Horde cache (e.g.,
/var/cpanel/horde). If you can't find cache files intmp, consult your host’s documentation or support. - Consider clearing browser cache as well if webmail still appears slow—sometimes the issue is client-side, not server-side.
- Regularly clearing cache every few months can prevent performance issues, especially on shared hosting.
Troubleshooting
If you encounter issues after clearing the cache, follow these steps:
- Webmail won’t load: Wait 5 minutes and try again. The server may need time to regenerate files. If it still fails, restart your browser and clear its cache.
- ‘File not found’ in File Manager: Double-check that hidden files are enabled in File Manager settings. If the
tmpfolder is missing, contact your hosting provider—some use centralized or restricted cache locations. - Permission denied error: You may not have delete rights. Ensure you’re logged in as the main account owner, not a limited user. If the problem persists, contact support.
- Emails missing after cache clear: Reassure yourself that cache deletion does not remove emails. Check your inbox via IMAP (email client) to confirm data integrity.
- Cache reappears immediately but issue persists: The problem may not be cache-related. Consider resetting your Horde preferences or checking for corrupted email folders.
Frequently Asked Questions
Does clearing Horde cache delete my emails?
No. Cache files only store temporary session and display data. Your emails, contacts, and settings remain safe.
How often should I clear Horde cache?
Only when experiencing issues. Routine clearing every 2–3 months can help performance, but it’s not required.
Can I clear Horde cache from email client?
No. This must be done via cPanel File Manager or command line. Email clients like Outlook or Thunderbird don’t access server cache.
Is it safe to delete all files in the tmp folder?
No. Only delete files starting with horde_. Other temporary files may belong to PHP, MySQL, or other services.
Why can’t I see the tmp folder?
Ensure hidden files are enabled in File Manager settings. If still missing, your host may use a different path—contact support.
Will this fix slow webmail loading?
Often, yes. Corrupted or bloated cache files are a common cause of slow performance in Horde webmail.