---
title: "Hreinsa vafra (Cache and Cookies)"
canonical: "https://hjalp.unak.is/space/LEIB/3027533865/Hreinsa%20vafra%20(Cache%20and%20Cookies)"
format: markdown
---
Að hreinsa skyndiminni (*cache*) og vafrakökur (*cookies*) getur leyst ýmis vandamál með hleðslu og virkni vefsíðna.  
  
<span style="color: #97a0af">*Clearing your browser’s cache and cookies can fix issues with loading or displaying websites incorrectly.*</span>


### 🪟 Windows

<details>
<summary>Microsoft Edge (Windows)</summary>

> ℹ️ Flýtileið til að opna gluggann er að ýta á **Ctrl + Shift + Delete** á lyklaborðinu.

1. Smelltu á **þrjár punktalínur** efst til hægri og veldu **Settings**.
2. Farðu í **Privacy, search, and services**.
3. Undir **Clear browsing data**, veldu **Choose what to clear**.
4. Stilltu **Time range** á **All time**.
5. Merktu við:
  1. **Cookies and other site data**
  2. **Cached images and files**
6. Smelltu á **Clear now**.
7. **Lokaðu **Edge alveg og opnaðu aftur.


<span style="color: #97a0af">***English:***</span>

> ℹ️ <span style="color: #97a0af">*A shortcut to open the window is to press *</span><span style="color: #97a0af">***Ctrl + Shift + Delete***</span><span style="color: #97a0af">* on your keyboard.*</span>

1. <span style="color: #97a0af">*Click *</span><span style="color: #97a0af">***three dots → Settings***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Go to *</span><span style="color: #97a0af">***Privacy, search, and services***</span><span style="color: #97a0af">*.*</span>
3. <span style="color: #97a0af">*Under *</span><span style="color: #97a0af">***Clear browsing data***</span><span style="color: #97a0af">*, click *</span><span style="color: #97a0af">***Choose what to clear***</span><span style="color: #97a0af">*.*</span>
4. <span style="color: #97a0af">*Set *</span><span style="color: #97a0af">***Time range***</span><span style="color: #97a0af">* to *</span><span style="color: #97a0af">***All time***</span><span style="color: #97a0af">*.*</span>
5. <span style="color: #97a0af">*Select:*</span>
  - <span style="color: #97a0af">***Cookies and other site data***</span>
  - <span style="color: #97a0af">***Cached images and files***</span>
6. <span style="color: #97a0af">*Click *</span><span style="color: #97a0af">***Clear now***</span><span style="color: #97a0af">* and *</span><span style="color: #97a0af">***restart ***</span><span style="color: #97a0af">*Edge.*</span>
</details>

<details>
<summary>Google Chrome (Windows)</summary>

> ℹ️ Flýtileið til að opna gluggann er að ýta á **Ctrl + Shift + Delete** á lyklaborðinu.

1. Smelltu á **þrjár lóðréttar punktalínur** efst til hægri.
2. Veldu **History** og síðan **Clear browsing data**.
3. Stilltu **Time range** á *All time*.
4. Merktu við:
  - **Cookies and other site data**
  - **Cached images and files**
5. Smelltu á **Delete data**.
6. Lokaðu Chrome og opnaðu aftur.


<span style="color: #97a0af">***English:***</span>

> ℹ️ <span style="color: #97a0af">*A shortcut to open the window is to press *</span><span style="color: #97a0af">***Ctrl + Shift + Delete***</span><span style="color: #97a0af">* on your keyboard.*</span>

1. <span style="color: #97a0af">*Click the *</span><span style="color: #97a0af">***three dots***</span><span style="color: #97a0af">* in the top-right corner.*</span>
2. <span style="color: #97a0af">*Select *</span><span style="color: #97a0af">***History → Clear browsing data***</span><span style="color: #97a0af">*.*</span>
3. <span style="color: #97a0af">*Set *</span><span style="color: #97a0af">***Time range***</span><span style="color: #97a0af">* to All time.*</span>
4. <span style="color: #97a0af">*Check:*</span>
  1. <span style="color: #97a0af">***Cookies and other site data***</span>
  2. <span style="color: #97a0af">***Cached images and files***</span>
5. <span style="color: #97a0af">*Click *</span><span style="color: #97a0af">***Delete data***</span><span style="color: #97a0af">*.*</span>
6. <span style="color: #97a0af">*Close and reopen Chrome.*</span>
</details>

<details>
<summary>Mozilla Firefox (Windows)</summary>

> ℹ️ Flýtileið til að opna gluggann er að ýta á **Ctrl + Shift + Delete** á lyklaborðinu.

1. Smelltu á **þrjár línur** efst til hægri og veldu **Settings** (*Options/Preferences*).
2. Veldu **Privacy & Security** í valmyndinni.
3. Undir **Cookies and Site Data**, smelltu á **Clear Data…**.
4. Merktu við:
  1. **Cookies and Site Data**
  2. **Temporary cached files and pages **
5. Smelltu á **Clear**.
6. **Lokaðu **Firefox og opnaðu aftur.


<span style="color: #97a0af">***English:***</span>

> ℹ️ <span style="color: #97a0af">*A shortcut to open the window is to press *</span><span style="color: #97a0af">***Ctrl + Shift + Delete***</span><span style="color: #97a0af">* on your keyboard.*</span>

1. <span style="color: #97a0af">*Click the *</span><span style="color: #97a0af">***three lines***</span><span style="color: #97a0af">* (menu) and select *</span><span style="color: #97a0af">***Settings***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Go to *</span><span style="color: #97a0af">***Privacy & Security***</span><span style="color: #97a0af">*.*</span>
3. <span style="color: #97a0af">*Under *</span><span style="color: #97a0af">***Cookies and Site Data***</span><span style="color: #97a0af">*, click *</span><span style="color: #97a0af">***Clear Data…***</span><span style="color: #97a0af">*.*</span>
4. <span style="color: #97a0af">*Select:*</span>
  - <span style="color: #97a0af">***Cookies and Site Data***</span>
  - <span style="color: #97a0af">***Temporary cached files and pages ***</span>
5. <span style="color: #97a0af">*Click *</span><span style="color: #97a0af">***Clear***</span><span style="color: #97a0af">*, then *</span><span style="color: #97a0af">***restart ***</span><span style="color: #97a0af">*Firefox.*</span>
</details>


### 📱 Apple

<details>
<summary>Safari for (macOS)</summary>

1. Opnaðu **Safari** og veldu **Preferences**.
2. Farðu í flipann **Privacy**.
3. Smelltu á **Manage Website Data...** og síðan **Remove All**.
4. Staðfestu með **Remove Now**.
5. Lokaðu Safari með því að velja **Safari → Quit Safari**.


<span style="color: #97a0af">***English:***</span>

1. <span style="color: #97a0af">*Open *</span><span style="color: #97a0af">***Safari → Preferences***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Go to *</span><span style="color: #97a0af">***Privacy***</span><span style="color: #97a0af">* tab.*</span>
3. <span style="color: #97a0af">*Click *</span><span style="color: #97a0af">***Manage Website Data... → Remove All → Remove Now***</span><span style="color: #97a0af">*.*</span>
4. <span style="color: #97a0af">*Quit Safari to apply changes.*</span>
</details>

<details>
<summary>Safari (iPhone/iPad)</summary>

1. Opnaðu **Settings** á tækinu.
2. Skrunaðu niður og veldu **Apps → Safari**.
3. Veldu **Clear History and Website Data**.
4. Staðfestu með því að velja **Clear History and Data**.
5. Hnappurinn verður grár þegar hreinsun er lokið.


<span style="color: #97a0af">***English:***</span>

1. <span style="color: #97a0af">*Open *</span><span style="color: #97a0af">***Settings → Apps → Safari***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***Clear History and Website Data***</span><span style="color: #97a0af">*.*</span>
3. <span style="color: #97a0af">*Confirm by tapping *</span><span style="color: #97a0af">***Clear History and Data***</span><span style="color: #97a0af">*.*</span>
4. <span style="color: #97a0af">*Button turns gray when done.*</span>
</details>

<details>
<summary>Google Chrome (iPhone/iPad)</summary>

1. Opnaðu **Chrome**.
2. Smelltu á **þrjár punktalínur** neðst til hægri.
3. Veldu **Delete Browsing Data**.
4. Stilltu **Time Range** á *All Time*
5. Veldu **Browsing data **og merktu við:
  1. **Cookies, Site Data**
  2. **Cached Images and Files**
6. Staðfestu með því að ýta á **Confirm**.
7. Smelltu á **Clear Browsing Data** til að staðfesta.


<span style="color: #97a0af">***English:***</span>

1. <span style="color: #97a0af">*Open *</span><span style="color: #97a0af">***Chrome***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***three dots → Settings → Privacy***</span><span style="color: #97a0af">*.*</span>
3. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***Clear Browsing Data***</span><span style="color: #97a0af">*.*</span>
4. <span style="color: #97a0af">*Set *</span><span style="color: #97a0af">***Time Range***</span><span style="color: #97a0af">* to All Time.*</span>
5. <span style="color: #97a0af">*Select:*</span>
  - <span style="color: #97a0af">*Cookies, Site Data*</span>
  - <span style="color: #97a0af">*Cached Images and Files*</span>
6. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***Clear Browsing Data***</span><span style="color: #97a0af">* twice to confirm.*</span>
</details>


### 🤖 Android

<details>
<summary>Google Chrome (Android)</summary>

1. Opnaðu **Chrome** á Android tækinu þínu.
2. Smelltu á **þrjár punktalínur** efst til hægri.
3. Veldu **History** (*Ferill*).
4. Smelltu á **Clear browsing data...** neðst á skjánum.
5. Stilltu **Time range** á *All time*.
6. Merktu við:
  - **Cookies and site data**
  - **Cached images and files**
7. Smelltu á **Clear data** og staðfestu.
8. Lokaðu Chrome alveg og opnaðu aftur.


<span style="color: #97a0af">**English:**</span>

1. <span style="color: #97a0af">Open </span><span style="color: #97a0af">**Chrome**</span><span style="color: #97a0af">.</span>
2. <span style="color: #97a0af">Tap </span><span style="color: #97a0af">**three dots → History → Clear browsing data**</span><span style="color: #97a0af">.</span>
3. <span style="color: #97a0af">Set </span><span style="color: #97a0af">**Time range**</span><span style="color: #97a0af"> to </span><span style="color: #97a0af">*All time*</span><span style="color: #97a0af">.</span>
4. <span style="color: #97a0af">Select:</span>
  - <span style="color: #97a0af">**Cookies and site data**</span>
  - <span style="color: #97a0af">**Cached images and files**</span>
5. <span style="color: #97a0af">Tap </span><span style="color: #97a0af">**Clear data**</span><span style="color: #97a0af">, then confirm.</span>
6. <span style="color: #97a0af">Close and reopen Chrome.</span>
</details>

<details>
<summary>Samsung Internet (Android)</summary>

1. Opnaðu **Samsung Internet**.
2. Smelltu á **þrjár láréttar línur** (hamborgaratáknið) neðst til hægri.
3. Veldu **Settings** (*Stillingar*).
4. Farðu í **Personal browsing data** eða **Privacy** (fer eftir útgáfu).
5. Veldu **Delete browsing data**.
6. Merktu við:
  - **Cookies and site data**
  - **Cached images and files**
7. Smelltu á **Delete data** og staðfestu.
8. Lokaðu forritinu og opnaðu aftur.


<span style="color: #97a0af">***English:***</span>

1. <span style="color: #97a0af">*Open *</span><span style="color: #97a0af">***Samsung Internet***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***menu → Settings → Privacy → Delete browsing data***</span><span style="color: #97a0af">*.*</span>
3. <span style="color: #97a0af">*Select:*</span>
  - <span style="color: #97a0af">***Cookies and site data***</span>
  - <span style="color: #97a0af">***Cached images and files***</span>
4. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***Delete data***</span><span style="color: #97a0af">* and confirm.*</span>
</details>

<details>
<summary>Firefox (Android)</summary>

1. Opnaðu **Firefox** á Android.
2. Smelltu á **þrjár punktalínur** efst til hægri.
3. Veldu **Settings** (*Stillingar*).
4. Skrunaðu niður að **Delete browsing data**.
5. Merktu við:
  - **Cookies**
  - **Cached images and files**
6. Smelltu á **Delete browsing data** til að staðfesta.
7. Lokaðu Firefox og opnaðu aftur.


**English:**

1. <span style="color: #97a0af">*Open *</span><span style="color: #97a0af">***Firefox → Settings → Delete browsing data***</span><span style="color: #97a0af">*.*</span>
2. <span style="color: #97a0af">*Check:*</span>
  - <span style="color: #97a0af">***Cookies***</span>
  - <span style="color: #97a0af">***Cached images and files***</span>
3. <span style="color: #97a0af">*Tap *</span><span style="color: #97a0af">***Delete browsing data***</span><span style="color: #97a0af">*.*</span>
4. <span style="color: #97a0af">*Close and reopen Firefox.*</span>
</details>


## Af hverju að hreinsa skyndiminni og vafrakökur?

Að hreinsa skyndiminni og vafrakökur (Cache and Cookies) úr vafra er mikilvægt fyrsta skref fyrir nánast hvaða bilanaleit sem er þegar vafrinn er til vandræða. „skyndiminni“ er tól sem netvafrarinn þinn notar til að flýta fyrir hleðslu síðunnar. Hins vegar getur það stundum valdið vandræðum þegar vefsíður eru uppfærðar og þróaðar þar sem skrár sem vistaðar eru í skyndiminni geta stangast á við það sem raunverulega er kóðað inn á vefsíðuna. Að hreinsa skyndiminni og vafrakökur er leið til að vera viss um að öll vandamál sem þú gætir rekist á séu í raun eitthvað að vefsíðunni, frekar en ósamræmi af völdum mismunandi vafra.

## <span style="color: #97a0af">*Why Clear Cache and Cookies?*</span>

<span style="color: #97a0af">*Clearing the Cache and Cookies from a web browser an important first-step for almost any troubleshooting for internet browsing. The 'cache' is a tool used by your internet browser to speed up the page loading process. However, sometimes it can cause a problem when websites are updated and developed as files saved in the cache may conflict with what's actually coded into the website. Clearing Cache and Cookies is a way we can be sure that any issues you may come across are actually something wrong with the website, rather than inconsistencies caused by using different browsers.*</span>