If you want to delete the cache in Mozilla Firefox without deleting passwords or browsing history, follow these modified steps:
Step 1: Open Mozilla Firefox
•Launch Mozilla Firefox on your computer.
Step 2: Open the Menu
•Click on the three horizontal lines (menu icon) in the top right corner of Firefox.
•From the menu, choose Settings (or Options in some versions).
Step 3: Go to Privacy & Security
•In the left sidebar, click on Privacy & Security.
Step 4: Clear Cached Data (but keep passwords and history)
•Scroll down to the Cookies and Site Data section.
•Click on the Clear Data button.
Step 5: Select Cached Content Only
•A small window will appear. ONLY check the box next to Cached Web Content.
•DO NOT check the box for Cookies and Site Data, which can log you out of websites or delete saved sessions.
Step 6: Confirm Cache Clearing
•Click on Clear to remove just the cache. Your passwords and browsing history will remain untouched.
Step 7: Optional – Disable History Deletion on Close
•Scroll down to the History section in Privacy & Security settings.
•Ensure that Firefox will: Remember history is selected. This ensures that browsing history and passwords won’t be deleted unless you clear them manually.
Following these steps will clear the cache while keeping your saved passwords and browsing history intact.