每当您在Mac上使用(Mac)Safari时,浏览器最终都会缓存网页以加快后续访问速度。它还存储 cookie 以记住与站点相关的偏好,甚至允许您通过持续记录您的浏览活动来跟踪您以后所做的事情。这有助于增强您的在线体验。
但有时,浏览数据可能会导致严重问题。例如,过时的浏览器缓存通常会导致性能问题,而历史记录和 cookie 会构成隐私威胁。此外,自动填充(AutoFill)数据类型(例如密码和保存的 Web 表单)会使敏感信息面临风险。
值得庆幸的是,Safari提供了多种方法来清除(Safari)Mac上的缓存、历史记录和 cookie 。您可以选择最适合您情况的方法。
警告:在(Warning:)Safari中删除浏览历史记录和自动填充(AutoFill)数据会导致更改同步到您拥有的其他Apple设备。如果您想停止,请打开 Mac 的System Preferences,选择Apple ID ,然后在开始之前停用Safari 。
仅在 Safari 中清除浏览器缓存
Safari通过将站点内容(例如索引和图像)保存到 Mac 的本地存储来提高页面加载速度。但是,如果您遇到渲染问题、损坏的站点元素或不稳定的行为,您可能正在处理过时或损坏的浏览器缓存(dealing with an obsolete or corrupt browser cache)。您可以通过 Safari 的隐藏开发(Develop)菜单清除缓存数据来解决这个问题。
注意:(Note:)如果问题与特定网站隔离,您可以尝试仅清除与该网站相关的缓存 - 更多内容请参见下文。
1.在菜单栏上选择Safari并选择(Safari )Preferences。
2. 切换到高级选项卡并选中(Advanced )在菜单栏中显示开发菜单(Show Develop menu in menu bar)旁边的框。然后,退出首选项窗格。
3. 打开开发(Develop )菜单并选择空缓存(Empty Caches)。
这应该立即清除浏览器缓存。您可以选择返回“首选项”(Preferences)窗格并根据需要禁用“开发(Develop)”菜单。
如果清除Safari中的缓存不能帮助解决任何站点加载问题,您可能需要在 Mac 上刷新 DNS 缓存(flushing the DNS cache on Mac)或更新 DHCP 租约(renewing the DHCP lease)。
仅在Safari中清除浏览历史记录(Browsing History)
Safari会跟踪您访问过的所有网站和网页,您可以通过浏览器的“历史记录”(History)窗格访问这些信息。记录的浏览活动也倾向于出现在搜索建议中。
但这使得使用浏览器的其他任何人都可以轻松了解您在线上的内容。因此,如果您担心隐私问题,您必须清除浏览历史记录。
清除个人浏览历史记录(Clear Individual Browsing History Entries)
1. 打开 Safari 的历史(History )菜单并选择标有显示历史(Show History)的选项。
2. 选择您要删除的条目。您可以使用屏幕右上角的搜索栏按站点过滤项目。
3. 按住 Control 并单击条目并选择删除(Delete)。
要删除多个条目,请在按住Command键的同时选择它们。然后,按Delete键。
清除完整的浏览历史(Clear Complete Browsing History)
1. 按住Option键并打开Safari菜单。然后,选择清除历史记录并保留网站数据(Clear History and Keep Website Data)。
2. 设置清除所有(Clear )历史(all history)。
3. 选择清除历史记录(Clear History)。
或者,如果您只想删除特定于这些时间段的浏览历史记录,您可以将Clear设置为last hour(the last hour)、today以及today 和昨天选项。(today and yesterday)
清除 Cookie 和缓存(Cache)(单个站点(Individual Site)或所有站点(All Sites))
浏览器cookie 是帮助(Browser)Safari保存与站点相关的首选项和登录会话的微小数据。但cookie 也允许网站跟踪您(cookies also allow websites to track you)。此外,过时的 cookie 可能会阻止网站正常运行。
您可以清除特定站点或您之前访问过的所有站点的 cookie,以及与该站点相关的任何缓存数据。
1. 打开Safari菜单并选择首选项(Preferences)。
2. 切换到隐私(Privacy )选项卡。
3. 选择标有管理网站数据(Manage Website Data)的按钮。
4. 您应该会看到一个网站列表。使用窗口右上角的搜索字段按站点过滤它们。然后,选择一个条目并选择删除(Remove )以将其删除。您还可以按住命令(Command )按钮来选择和删除多个条目。
如果要删除所有 cookie 和缓存数据,请选择“全部删除”(Remove All)。
5. 选择完成(Done)。
删除与网站相关的 cookie 会强制您重新登录该网站。如果您删除所有 cookie,则必须在任何地方重新登录。
如果您不希望浏览器无限期地存储 cookie,我们建议您使用 Safari 的隐私浏览窗口。(using Safari’s Private browsing windows)
清除Safari中的所有历史记录(All History)、Cookie(Cookies)和缓存(Cache)
如果您赶时间,您可以立即删除Safari中的历史记录、cookie 和缓存。
1. 打开Safari菜单并选择清除历史记录(Clear History)。
2. 设置清除所有(Clear )历史(all history)。或者,如果您只想清除与这些时间段相关的浏览历史记录、cookie 和缓存,请选择最后一小时(the last hour)、今天(today)或今天和昨天选项。(today and yesterday)
3. 选择清除历史记录(Clear History)。
清除下载历史(Download History)(单个条目(Individual Entries)或完整历史(Complete History))
Safari还会单独记录您的下载历史记录。您可以轻松删除单个条目或完整列表。
1. 打开 Safari 的查看(View )菜单。
2. 选择显示下载(Show Downloads)选项。
2.按住 Control 键单击(Control-click)一个条目并选择从列表中删除(Remove from List)。或者,选择清除(Clear )以清除完整的下载历史记录。
删除下载历史不会删除下载的文件。您必须手动查找并删除您的 Mac 下载。(locate and delete your Mac downloads)
清除自动填充数据(AutoFill Data)(密码(Passwords)、信用卡(Credit Cards)和Web 表单(Web Forms))
Safari中的自动填充(AutoFill)功能可保存特定类型的数据(密码、信用卡和 Web 表单),以便更轻松地重复填写它们。但是,考虑到信息的敏感性,如果其他人也可以访问同一Mac用户帐户,您可能希望将其删除。
1. 打开Safari菜单并选择首选项(Preferences)。
2. 切换到自动填充(AutoFill )选项卡。
3. 选择您要删除的自动填充数据类型(用户名和密码(User names and passwords)、信用卡(Credit cards)或其他表单(Other forms))旁边的编辑。(Edit )
4. 输入您的Mac用户帐户密码以继续。然后,选择一个或多个条目并选择删除(Remove )以删除它们。
5. 退出首选项窗格。
您已成功删除 Safari 浏览数据(Successfully Deleted Your Safari Browsing Data)
清除Safari(Safari)中的缓存、历史记录和 cookie需要大量挖掘设置和隐藏菜单。但是一旦你尝试了几次,你就可以很快摆脱任何你想要的东西。
但是,只有在您对性能或隐私有严重担忧时,您才必须删除浏览数据。否则,您最终只会减慢速度。
How to Clear Cache, History and Cookies in Safari on Mac
Whenever you use Ѕafari on the Mac, the browser еnds up caching web pages tо speed υp subsequent visits. It also stores cookies to remember site-related preferences and even allowѕ you to trаck what you did later by continυouslу recording yоur browsing actіvity. This helps enhanсe your еxpеrience online.
But sometimes, browsing data can cause serious issues. For example, an outdated browser cache often results in problems performance-wise, while history and cookies pose privacy threats. Moreover, AutoFill data types—such as passwords and saved web forms—put sensitive information at risk.
Thankfully, Safari provides multiple approaches to clear the cache, history, and cookies on the Mac. It’s up to you to pick the method that suits your situation the best.
Warning: Deleting browsing history and AutoFill data in Safari causes the changes to sync to other Apple devices you own. If you want to stop that, open the Mac’s System Preferences, select Apple ID, and deactivate Safari before starting.
Clear Browser Cache Only in Safari
Safari improves page loading speeds by saving site content—e.g., indexes and images—to the Mac’s local storage. However, if you experience rendering issues, broken site elements, or erratic behavior, you’re likely dealing with an obsolete or corrupt browser cache. You can resolve that by clearing the cached data via Safari’s hidden Develop menu.
Note: If a problem is isolated to a specific website, you can try clearing the cache related to that site only—more on that further below.
1. Select Safari on the menu bar and choose Preferences.
2. Switch to the Advanced tab and check the box next to Show Develop menu in menu bar. Then, exit the Preferences pane.
3. Open the Develop menu and select Empty Caches.
That should flush out the browser cache immediately. You can choose to go back into the Preferences pane and disable the Develop menu should you want.
If clearing the cache in Safari didn’t help fix any site loading issues, you might want to follow by flushing the DNS cache on Mac or renewing the DHCP lease.
Clear Browsing History Only in Safari
Safari keeps track of all sites and web pages you’ve visited, and you can access the information via the browser’s History pane. Recorded browsing activity also tends to show up in search suggestions.
But that makes it easy for anyone else using the browser to figure out what you’ve been up to online. So if privacy is a concern, you must clear your browsing history.
Clear Individual Browsing History Entries
1. Open Safari’s History menu and select the option labeled Show History.
2. Select the entry that you want to delete. You can use the search bar to the top-right of the screen to filter items by site.
3. Control-click the entry and select Delete.
To delete multiple entries, select them while holding down the Command key. Then, press the Delete key.
Clear Complete Browsing History
1. Hold down the Option key and open the Safari menu. Then, select Clear History and Keep Website Data.
2. Set Clear to all history.
3. Select Clear History.
Alternatively, you can set Clear to the last hour, today, and today and yesterday options if you want to delete the browsing history specific to those periods only.
Clear Cookies and Cache (Individual Site or All Sites)
Browser cookies are tiny bits of data that help Safari save site-related preferences and login sessions. But cookies also allow websites to track you. Additionally, outdated cookies can prevent sites from functioning correctly.
You can clear the cookies for a specific site or all sites that you’ve visited previously, along with any cached data related to the site or sites.
1. Open the Safari menu and select Preferences.
2. Switch to the Privacy tab.
3. Select the button labeled Manage Website Data.
4. You should see a list of websites. Use the search field to the top-right of the window to filter them by site. Then, pick an entry and select Remove to delete it. You can also hold down the Command button to choose and remove multiple entries.
If you want to remove all cookies and cached data, select Remove All instead.
5. Select Done.
Deleting the cookies related to a site forces you to sign back into that website. If you remove all cookies, you’ll have to sign back in everywhere.
We recommend using Safari’s Private browsing windows for instances where you don’t want the browser to store cookies indefinitely.
Clear All History, Cookies, and Cache in Safari
If you’re in a rush, you can immediately delete the history, cookies, and cache in Safari.
1. Open the Safari menu and select Clear History.
2. Set Clear to all history. Or, pick the last hour, today, or today and yesterday options if you want to clear the browsing history, cookies, and cache related to those periods only.
3. Select Clear History.
Clear Download History (Individual Entries or Complete History)
Safari also keeps a separate record of your download history. You can remove individual entries or the complete list easily.
1. Open Safari’s View menu.
2. Pick the Show Downloads option.
2. Control-click an entry and select Remove from List. Or, choose Clear to clear the complete download history.
Deleting the download history will not remove downloaded files. You must locate and delete your Mac downloads manually.
Clear AutoFill Data (Passwords, Credit Cards, and Web Forms)
The AutoFill functionality in Safari saves specific types of data—passwords, credit cards, and web forms—to make it easier to fill them in repeatedly. However, considering the sensitive nature of the information, you might want to delete them if other people also have access to the same Mac user account.
1. Open the Safari menu and select Preferences.
2. Switch to the AutoFill tab.
3. Select Edit next to the AutoFill data type (User names and passwords, Credit cards, or Other forms) that you want to delete.
4. Insert your Mac user account password to proceed. Then, pick an entry or multiple entries and select Remove to delete them.
5. Exit the Preferences pane.
You’ve Successfully Deleted Your Safari Browsing Data
Clearing the cache, history, and cookies in Safari requires a fair amount of digging around settings and hidden menus. But you can get rid of whatever you want very quickly once you’ve tried that out a few times.
However, you must only delete browsing data if you have serious concerns with performance or privacy. If not, you’ll only end up slowing things down.