X
Tocca qui per la versione per piattaforma mobile del sito.

Forum di supporto

What does "clear cache" do?

Inserita

I've got a couple addons, that clear browsing data.

Clear Browsing Data https://addons.mozilla.org/en-US/firefox/addon/clear-browsing-data/

Clear Cookies and Storage Button https://addons.mozilla.org/en-US/firefox/addon/clear-storage-button/

I want to set up one to just clear cache, and the other to do a more extensive cleaning job, but what exactly happens when we clear cache? I ask because both these addons have multiple data clearing options, and I'm confused about a couple of them.

Does the option "Clear images and files" complete the definition of clearing cache, or does clearing cache also include "Local Storage Data"? Or is something else also included?

I'd also like some advice on "Service Workers" and what are the results of clearing this type of data.

I've got a couple addons, that clear browsing data. Clear Browsing Data https://addons.mozilla.org/en-US/firefox/addon/clear-browsing-data/ Clear Cookies and Storage Button https://addons.mozilla.org/en-US/firefox/addon/clear-storage-button/ I want to set up one to just clear cache, and the other to do a more extensive cleaning job, but what exactly happens when we clear cache? I ask because both these addons have multiple data clearing options, and I'm confused about a couple of them. Does the option "Clear images and files" complete the definition of clearing cache, or does clearing cache also include "Local Storage Data"? Or is something else also included? I'd also like some advice on "Service Workers" and what are the results of clearing this type of data.

Modificato da noel_envode il

Soluzione scelta

noel_envode said

Is "Local Storage Data" included in the cache?

Firefox stores that data separately from the file cache. Using Firefox's built-in features to clear only the browsing cache does not clear either cookies or other types of site storage. See: How to clear the Firefox cache.

What an add-on means by "cache" or "images and files" is something you should look at in their documentation since they could have something broader in mind.

noel_envode said

I'd also like some advice on "Service Workers" and what are the results of clearing this type of data.

Service Workers enable Firefox to continue exchanging data with a site in the background, potentially even after you closed the site's tab. To view the currently connected Service Workers, open this internal page:

about:serviceworkers

The effect of disconnecting a service worker will vary: why did the site create it in the first place?

Leggere questa risposta nel contesto 0
Citazione

Dettagli aggiuntivi sul sistema

Plugin installati

  • Shockwave Flash 32.0 r0

Applicazione

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Ulteriori informazioni

Senali Madawala
  • Top 25 Contributor
1 soluzioni 151 risposte

An empty cache means there's no confusion. As you visit webpages hereafter, the browser will download fresh copies of everything you see on each page. You've simply forced your browser to rebuild its cache from scratch as it loads or re-loads pages. Any cache-related issues should be cleared up.

An empty cache means there's no confusion. As you visit webpages hereafter, the browser will download fresh copies of everything you see on each page. You've simply forced your browser to rebuild its cache from scratch as it loads or re-loads pages. Any cache-related issues should be cleared up.
È stato utile questo messaggio? 0
Citazione

Utente che ha posto la domanda

Is "Local Storage Data" included in the cache?

Is "Local Storage Data" included in the cache?
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
8785 soluzioni 71847 risposte

Soluzione scelta

noel_envode said

Is "Local Storage Data" included in the cache?

Firefox stores that data separately from the file cache. Using Firefox's built-in features to clear only the browsing cache does not clear either cookies or other types of site storage. See: How to clear the Firefox cache.

What an add-on means by "cache" or "images and files" is something you should look at in their documentation since they could have something broader in mind.

noel_envode said

I'd also like some advice on "Service Workers" and what are the results of clearing this type of data.

Service Workers enable Firefox to continue exchanging data with a site in the background, potentially even after you closed the site's tab. To view the currently connected Service Workers, open this internal page:

about:serviceworkers

The effect of disconnecting a service worker will vary: why did the site create it in the first place?

''noel_envode [[#answer-1264224|said]]'' <blockquote> Is "Local Storage Data" included in the cache? </blockquote> Firefox stores that data separately from the file cache. Using Firefox's built-in features to clear only the browsing cache does not clear either cookies or other types of site storage. See: [[How to clear the Firefox cache]]. What an add-on means by "cache" or "images and files" is something you should look at in their documentation since they could have something broader in mind. ''noel_envode [[#question-1272193|said]]'' <blockquote>I'd also like some advice on "Service Workers" and what are the results of clearing this type of data. </blockquote> Service Workers enable Firefox to continue exchanging data with a site in the background, potentially even after you closed the site's tab. To view the currently connected Service Workers, open this internal page: about:serviceworkers The effect of disconnecting a service worker will vary: why did the site create it in the first place?
È stato utile questo messaggio?
Citazione
cor-el
  • Top 10 Contributor
  • Moderator
17567 soluzioni 158888 risposte

Note that clearing the cache always clears the full cache (i.e. you can't remove cached data selectively for a specific host). Firefox uses several caches with the disk cache being most prominent, but there is also the memory cache and the image cache.

Note that clearing the cache always clears the full cache (i.e. you can't remove cached data selectively for a specific host). Firefox uses several caches with the disk cache being most prominent, but there is also the memory cache and the image cache.
È stato utile questo messaggio?
Citazione

Utente che ha posto la domanda

I've attached the settings. You can see how everything is listed separately.

I pretty much want one of those addons to do a quick cache purge and refresh/reload the page.

So would "Cached Images and Files" meet that criteria?

Or, in a typical cache clearing event, would it seem that "Local Storage Data" would be included?

I've attached the settings. You can see how everything is listed separately. I pretty much want one of those addons to do a quick cache purge and refresh/reload the page. So would "Cached Images and Files" meet that criteria? Or, in a typical cache clearing event, would it seem that "Local Storage Data" would be included?
È stato utile questo messaggio?
Citazione
jscher2000
  • Top 10 Contributor
8785 soluzioni 71847 risposte

Risposta utile

Hi noel_envode, I am not going to be able to tell you what a particular add-on does. The add-on author will need to explain what the add-on does. I have already explained that in Firefox's "Clear Recent History" function, cache does not include local storage.

Hi noel_envode, I am not going to be able to tell you what a particular add-on does. The add-on author will need to explain what the add-on does. I have already explained that in Firefox's "Clear Recent History" function, cache does not include local storage.
È stato utile questo messaggio? 1
Citazione
cor-el
  • Top 10 Contributor
  • Moderator
17567 soluzioni 158888 risposte

Like I wrote above, clearing the cache is all or nothing, so you can first try to reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • hold down the Shift key and left-click the Reload button
  • press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • press "Command + Shift + R" (Mac)

The most invasive is using "Forget About This Site" that can be used as a last resort.

You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History").

Using "Forget About This Site" will remove all data stored in Firefox from this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data from that domain that you do not want to lose then make sure to backup this data or make a note.

You can't recover from this 'forget' unless you have a backup of involved files.

If you revisit a 'forgotten' website then data from that website will be saved once again.

Like I wrote above, clearing the cache is all or nothing, so you can first try to reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files. *hold down the Shift key and left-click the Reload button *press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux) *press "Command + Shift + R" (Mac) The most invasive is using "Forget About This Site" that can be used as a last resort. You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History"). Using "Forget About This Site" will remove all data stored in Firefox from this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data from that domain that you do not want to lose then make sure to backup this data or make a note. You can't recover from this 'forget' unless you have a backup of involved files. If you revisit a 'forgotten' website then data from that website will be saved once again. *https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox
È stato utile questo messaggio?
Citazione

Utente che ha posto la domanda

Thanks, the information here helped out a lot.

Thanks, the information here helped out a lot.
È stato utile questo messaggio?
Citazione
Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.