220-1202 · Security · Updated July 26, 2026
Clearing Browser Cache, Cookies, and Site Data: When and Why
Clearing the browser cache deletes the local copies of web files — images, scripts, stylesheets, whole pages — that the browser saved to speed up repeat visits, forcing it to download fresh versions from the server. It is the first maintenance step to try when a website shows outdated content after the site has been updated, and clearing cookies and site data is a standard follow-up step after malware remediation, because malicious scripts and hijacked sessions can survive in stored browser data even after the malware itself is gone. Knowing which data type to clear, and when, is exactly what the 220-1202 exam probes — the full 220-1202 study guide shows where browser maintenance sits within the Security domain.
What the browser actually stores
A browser keeps several distinct stores, and each behaves differently when things go wrong:
- Cache. Copies of static page assets kept on disk so a revisit doesn’t re-download everything. Pure performance feature; deleting it costs nothing but a slower first reload.
- Cookies. Small text records a site plants on the machine to recognize the user later — session tokens that keep you signed in, preferences, and advertising trackers. Deleting them signs the user out of sites and resets site personalization.
- Site data / local storage. A broader bucket of per-site storage that scripts can write to — larger and longer-lived than cookies. Web apps use it for offline data; malicious pages can use it to persist unwanted scripts or state.
- History, saved passwords, autofill. Convenience records. These typically should not be wiped during routine troubleshooting — deleting a customer’s saved passwords creates a much worse ticket than the one you started with.
Modern browsers expose all of this behind one dialog (commonly reached with Ctrl+Shift+Delete) with checkboxes and a time range, which is why the technician’s skill is choosing the right checkboxes rather than nuking everything.
The stale-content fix
The everyday symptom: a website’s owner has published an update, but a particular machine keeps displaying the old version — an outdated price list, last week’s schedule, a form that “was fixed yesterday.” Since the server is confirmed current, the stale copy must live on the client, and the browser cache is where stale copies live. The FIRST maintenance step is clearing the cache (or a cache-bypassing hard refresh), then reloading the page.
The reasoning the exam wants you to demonstrate is order of operations: cache clearing is fast, harmless, and directly aimed at the symptom. Reinstalling the browser, editing DNS, resetting the network stack, or clearing cookies and passwords are all slower, riskier, or aimed at the wrong store. Escalate to those only if fresh downloads still show old content — at which point the culprit is usually upstream (a proxy or content delivery network) rather than the workstation.
Cache-related misbehavior isn’t limited to stale text. A half-written cache entry can break page layout or scripts, so “this one site renders garbage on this one PC” earns the same first move.
The security angle: cleanup after malware
Cache and cookie clearing also has a security role, and this is where it intersects with the malware-removal process. Suppose a workstation was infected, the technician updated the anti-malware engine and ran scans, and the infection is removed. The browser can still be dirty: cached copies of malicious scripts, tracking or fraud-related cookies, poisoned session tokens, and leftover site data from the pages involved in the compromise all live in the browser’s stores, not in the locations an anti-malware file scan focuses on.
The remediation habit, therefore, is: after removing the malware itself, also clear the browser’s cache, cookies, and site data so no malicious remnants or hijacked sessions survive. While you’re in the browser, complete the sweep — remove unknown extensions, reset a hijacked home page and default search engine, and check site permissions (especially notifications) for entries the user never granted. This browser pass fits inside the larger structured procedure covered in Malware Removal and System Restore, and if pop-up ads were arriving through Windows toast notifications rather than browser windows, pair it with the notification-settings check in Software Firewalls and Malware Defense on the Workstation.
There’s also a session-hygiene reason to clear cookies: if credentials were phished or a session was hijacked, active session cookies may still authenticate the attacker. Clearing them, then having the user change passwords and sign back in, invalidates what the attacker captured. Credential theft on evil twin hotspots and unsecured public Wi-Fi is one of the common ways those sessions get captured in the first place.
Cache vs. cookies at a glance
| Attribute | Cache | Cookies / site data |
|---|---|---|
| Contains | Copies of page files (images, scripts, styles) | Identity, sessions, preferences, per-site script storage |
| Purpose | Speed — avoid re-downloading assets | State — recognize the user and persist data |
| Symptom when stale/corrupt | Outdated or broken page content | Login loops, wrong personalization, tracking |
| Effect of clearing | Slower next load; content refreshes | Signed out everywhere; site settings reset |
| Malware-cleanup relevance | Removes cached malicious scripts | Kills hijacked sessions and tracking remnants |
What clearing does not fix
Part of choosing the right tool is knowing its limits. Clearing browser data will not remove installed malware, undo a modified hosts file, fix DNS problems, or repair a damaged Windows profile. If every browser on the machine misbehaves identically, or redirects persist after a full data clear, stop treating it as a browser-storage problem — you’re likely looking at malware, a bad proxy setting, or DNS tampering, which call for the malware-removal procedure rather than another pass through the clear-data dialog.
How the 220-1202 exam tests this
- A troubleshooting scenario where one machine shows outdated content on a site that has been updated, asking which step to try FIRST — clearing the browser cache, with heavier actions (reinstall, network resets) as distractors.
- A malware-remediation sequence where scanning is already done, asking which additional browser step removes leftover malicious cookies, cached scripts, and stored session data — clearing cache, cookies, and site data.
- A discrimination question separating what cookies do (sessions, sign-in state, tracking) from what the cache does (stored page assets), often framed as “which item should the technician clear to accomplish X.”
- A judgment question about scope: recognizing that clearing saved passwords or full history is not required for a stale-content fix, and that symptoms surviving a full clear point past the browser entirely.
Scenarios like these are worth running as 220-1202 practice questions until the cache-vs-cookies split is reflex.
Quick reference
- Cache = stored page assets for speed; cookies/site data = identity, sessions, and per-site script storage.
- Site updated but a PC shows the old version → clear the browser cache first, then reload.
- Cache clearing is low-risk; clearing cookies signs users out; clearing saved passwords should be a deliberate, last-resort choice.
- After malware removal, always clear cache, cookies, and site data to purge malicious scripts and hijacked sessions.
- Complete the post-infection browser sweep: extensions, home page, default search engine, site permissions.
- Phished or hijacked account? Clear session cookies, change the password, sign in fresh.
- Symptoms that survive a full data clear (or hit every browser) indicate malware, proxy, or DNS issues — not browser storage.
- Ctrl+Shift+Delete opens the clear-data dialog in the major Windows browsers; pick checkboxes and time range deliberately.