Title: WP OPcache
Author: nierdz
Published: <strong>15. februar, 2017</strong>
Last modified: 27. februar, 2025

---

Søk i utvidelser

![](https://ps.w.org/flush-opcache/assets/banner-772x250.jpg?rev=1727000)

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://ps.w.org/flush-opcache/assets/icon-256x256.jpg?rev=1716642)

# WP OPcache

 Av [nierdz](https://profiles.wordpress.org/mnttech/)

[Last ned](https://downloads.wordpress.org/plugin/flush-opcache.4.2.3.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/flush-opcache/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/flush-opcache/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/flush-opcache/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/flush-opcache/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/flush-opcache/)

## Beskrivelse

**Flush OPcache**

 * creates a button in admin bar to flush OPcache
 * flush only files in WordPress absolute path
 * individual or bulk file invalidation
 * support both memory and file caching
 * support multisite

**OPcache Statistics**

 * memory, hits, strings and keys statistics
 * directives, functions and general informations
 * list all files
 * fully responsive

**WP CLI ready**

 * add flush-opcache command to flush cache with cli: `wp flush-opcache flush`
 * don’t forget to add `opcache.enable_cli=1` to your PHP configuration

**There are three tabs in admin page under Tools:**

 * General settings: plugin settings
 * Statistics: responsive dashboard about OPcache statistics
 * Cached files: list of cached files with the possibility of invalidating them

## Skjermbilder

[⌊Flush button in admin bar⌉⌊Flush button in admin bar⌉[

Flush button in admin bar

[⌊WordPress Notice after flushing OPcache⌉⌊WordPress Notice after flushing OPcache⌉[

WordPress Notice after flushing OPcache

[⌊General settings tab⌉⌊General settings tab⌉[

General settings tab

[⌊Statistics tab⌉⌊Statistics tab⌉[

Statistics tab

[⌊Cached files tab⌉⌊Cached files tab⌉[

Cached files tab

[⌊CLI command⌉⌊CLI command⌉[

CLI command

## Installasjon

As usual…

## Vurderinger

![](https://secure.gravatar.com/avatar/75f6ad5955d473b4453266faa64c76e092ab97f53314fdacf677f31ce298911d?
s=60&d=retro&r=g)

### 󠀁[WORKS 100% BUT NEED UPDATE](https://wordpress.org/support/topic/works-100-but-need-update/)󠁿

 [frayer69](https://profiles.wordpress.org/frayer69/) 18. april, 2025 1 svar

First, thank you! Second, please update it!!!

![](https://secure.gravatar.com/avatar/3c3964d2e71a4eee83dfa0c2b750853a2d603d0004d22494b6855051dafebca9?
s=60&d=retro&r=g)

### 󠀁[Bast OPCache Manager for WordPress](https://wordpress.org/support/topic/bast-opcache-manager-for-wordpress/)󠁿

 [onico0](https://profiles.wordpress.org/onico0/) 18. august, 2022

Thanks and keep going please! 🙂

![](https://secure.gravatar.com/avatar/9d8616c4f904cde25a9aa8d7e5a9ee5a9b603d6a84b2a55ef69f38c85159307c?
s=60&d=retro&r=g)

### 󠀁[Provides useful insights](https://wordpress.org/support/topic/provides-useful-insights/)󠁿

 [nmxde](https://profiles.wordpress.org/nmxde/) 7. juni, 2022

Good way to find out how well your opcache setup works

![](https://secure.gravatar.com/avatar/844986968393895183ef89c0939b798e41330d595b51502337de72ce011bcf55?
s=60&d=retro&r=g)

### 󠀁[Läuft perfekt!](https://wordpress.org/support/topic/lauft-perfekt/)󠁿

 [Oliver Kler](https://profiles.wordpress.org/oliverkler/) 21. mai, 2021

Läuft einwandfrei und tut genau das, was es soll!

![](https://secure.gravatar.com/avatar/b386c3be63ad40515532f06f0a3f8fc3c5a9c760da75708f03eff64f35cd66d4?
s=60&d=retro&r=g)

### 󠀁[works great](https://wordpress.org/support/topic/works-great-7547/)󠁿

 [shawfactor](https://profiles.wordpress.org/shawfactor/) 15. mars, 2021

Does what is says, fantastic plugin

![](https://secure.gravatar.com/avatar/5c6e37d9a645b29d45e7ceb3c970d1ce9108cedc26c2eb9d36ac7620bb5348fe?
s=60&d=retro&r=g)

### 󠀁[Thank you for the useful tool](https://wordpress.org/support/topic/thank-you-for-the-useful-tool/)󠁿

 [lederwerkstatt](https://profiles.wordpress.org/lederwerkstatt/) 8. februar, 2021
1 svar

Vielen Dank für das nützliche Tool. Ich benutze es regelmäßig seit vielen Jahren,
um den Opcache mit einem Klick zu löschen. Auch die Informationen zu der Belegung
des Speichers finde ich nützlich. Ich bin sehr zufrieden mit dem Plugin! Thank you
for the useful tool. I use it regularly for many years to clear opcache with one
click. I also find the information on memory usage useful. I am very satisfied with
the plugin!

 [ Les alle 21 vurderinger ](https://wordpress.org/support/plugin/flush-opcache/reviews/)

## Bidragsytere og utviklere

«WP OPcache» er programvare med åpen kildekode. Følgende personer har bidratt til
denne utvidelsen:

Bidragsytere

 *   [ nierdz ](https://profiles.wordpress.org/mnttech/)

«WP OPcache» har blitt oversatt til 11 språk. Takk til [oversetterne](https://translate.wordpress.org/projects/wp-plugins/flush-opcache/contributors)
for deres bidrag.

[Oversett «WP OPcache» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/flush-opcache)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/flush-opcache/), 
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/flush-opcache/), eller
abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/flush-opcache/)
med [RSS](https://plugins.trac.wordpress.org/log/flush-opcache/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 4.2.3

 * Ensure user is admin or superadmin to display flush button in admin bar
 * Ensure to not continue if OPcache is disabled or not installed to avoid printing
   PHP errors

#### 4.2.1

 * Maintenance release
 * Menu moved under Tools

#### 4.2.0

 * Add CLI support

#### 4.1.4

 * Fix a bug on clearing cache after upgrade
 * Flush files even when WP use its own directory
 * Use WordPress 6.0 as default
 * Use php8.0 as default

#### 4.1.3

 * Fix a bug on datetime in cached file list

#### 4.1.2

 * Fix a bug with ABSPATH when WordPress uses its own directory

#### 4.1.1

 * Tested up to WordPress 5.8

#### 4.1.0

 * Remove i18n (use translate.wordpress.org)
 * Use wp_opcache_invalidate instead of opcache_invalidate

#### 4.0.1

 * Enhance README.txt
 * Remove old screenshots

#### 4.0.0

 * Invalidate files only in WordPress absolute path
 * Use tabs instead of pages in admin area
 * New tab with cached files list
 * Tested up to WordPress 5.7.1

Full changelog [here](https://github.com/nierdz/flush-opcache/releases)

## Meta

 *  Versjon **4.2.3**
 *  Sist oppdatert **1 år siden**
 *  Aktive installasjoner **10 000+**
 *  WordPress-versjon ** 6.0 eller nyere **
 *  Testet opp til **6.7.5**
 *  PHP-versjon ** 8.1 eller nyere **
 *  Språk
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/flush-opcache/), [Danish](https://da.wordpress.org/plugins/flush-opcache/),
   [Dutch](https://nl.wordpress.org/plugins/flush-opcache/), [English (US)](https://wordpress.org/plugins/flush-opcache/),
   [French (France)](https://fr.wordpress.org/plugins/flush-opcache/), [German](https://de.wordpress.org/plugins/flush-opcache/),
   [Japanese](https://ja.wordpress.org/plugins/flush-opcache/), [Korean](https://ko.wordpress.org/plugins/flush-opcache/),
   [Russian](https://ru.wordpress.org/plugins/flush-opcache/), [Spanish (Chile)](https://cl.wordpress.org/plugins/flush-opcache/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/flush-opcache/) og [Swedish](https://sv.wordpress.org/plugins/flush-opcache/).
 *  [Oversett til ditt språk](https://translate.wordpress.org/projects/wp-plugins/flush-opcache)
 * Stikkord
 * [cache](https://nb.wordpress.org/plugins/tags/cache/)[flush](https://nb.wordpress.org/plugins/tags/flush/)
   [multisite](https://nb.wordpress.org/plugins/tags/multisite/)[OPcache](https://nb.wordpress.org/plugins/tags/opcache/)
   [php](https://nb.wordpress.org/plugins/tags/php/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/flush-opcache/advanced/)

## Vurderinger

 4.8 av 5 stjerner.

 *  [  19 5-star reviews     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/flush-opcache/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/flush-opcache/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/flush-opcache/reviews/)

## Bidragsytere

 *   [ nierdz ](https://profiles.wordpress.org/mnttech/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/flush-opcache/)