← Back to list

On-Device Site Data in Chrome

On-Device Site Data in Chrome: The Hidden Setting That Causes Frustration 😖

Abdur Razzaque · 2025-03-04 06:21 · 0 claps · 2.3 min read
#chrome #chrome-feature #cleardata #issues #chrome-issue
Open on Medium ↗

On-Device Site Data in Chrome

On-Device Site Data in Chrome: The Hidden Setting That Causes Frustration 😖

If you’ve ever faced the annoying issue of losing site data every time you close Chrome, you’re not alone. I recently discovered that the culprit was a setting buried deep inside Chrome’s privacy options: “Delete data sites have saved to your device when you close all windows.”

For a long time, I struggled with this issue, not knowing why my logins, site preferences, and cookies were disappearing every time I restarted Chrome. I use Google Sync to keep my bookmarks, history, passwords, and settings in sync across devices, but despite that, I kept getting logged out of all websites. It felt like a never-ending cycle of frustration! 😤

What is “On-Device Site Data”? 🧐

Chrome allows websites to save data on your device, such as cookies, login sessions, and preferences. This helps sites remember you and provide a seamless experience. However, if the “Delete data sites have saved to your device when you close all windows” option is enabled, all this data gets wiped every time you exit Chrome. That means:

  • You have to log in to your favorite websites every single time. 🔄
  • Website preferences reset after closing Chrome. 🚫
  • Certain extensions that rely on stored site data may not work properly. ⚠️

My Struggle & Failed Attempts to Fix It 🏗️

I tried multiple ways to fix this issue, thinking it was a Chrome bug or a Sync issue:

  • I tested different browsers like Mozilla Firefox and Microsoft Edge — no issues there! ✅
  • I logged in with a different Google account, and surprisingly, the issue didn’t occur! 😲
  • But when I switched back to my primary Google account (which I use the most), the problem came back! 😡

This made it clear that the issue was tied specifically to my main Google account, not Chrome or my device. Unfortunately, I couldn’t just switch accounts because I rely on Google Sync for all my settings, bookmarks, and saved data, which I need for work. Ignoring the issue wasn’t an option! 🤯

After struggling with this for 3 to 4 years, I finally found the solution! 🎉

How to Fix This Issue 🔧

To prevent Chrome from deleting your site data every time you close the browser, follow these steps:

  1. Open Chrome Settings and go to this direct link: chrome://settings/content/siteData 🔗
  2. Under “On-device site data”, you will see three options:
  • Allow sites to save data on your device ✅ (Recommended — sites work as expected, keeping you logged in and retaining site preferences)
  • Delete data sites have saved to your device when you close all windows ⚠️ (Causes frequent logouts and resets site preferences, but keeps your Google Account signed in)
  • Don’t allow sites to save data on your device 🚫 (Not recommended — sites may not function properly)
  1. Select “Allow sites to save data on your device” to ensure your settings and logins are preserved.
  2. Avoid the last option, as Chrome itself does not recommend it.

Once this is set, Chrome will retain your site data even after closing, allowing Google Sync to work as expected. 🎯

Why This Matters 💡

For those who rely on Google Sync for a smooth browsing experience, unknowingly enabling this setting can be a nightmare. If you’ve been struggling with disappearing site data, I hope this guide saves you from the frustration I went through! 🚀

Feel free to share this with your friends who might be facing the same issue. Let’s make browsing with Chrome a hassle-free experience! 🌍🔥


메타데이터
post_id
c4bad3fea880
slug
on-device-site-data-in-chrome-c4bad3fea880
url
https://medium.com/@mdarh411/on-device-site-data-in-chrome-c4bad3fea880
canonical_url
https://medium.com/@mdarh411/on-device-site-data-in-chrome-c4bad3fea880
author_url
https://medium.com/@mdarh411
status
ok
fetched_at
2026-07-19 11:49:42