Title: Clear OPcache
Author: jessehorne
Published: <strong>13. november 2019</strong>
Last modified: 7. desember 2019

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/clear-opcache.svg)

# Clear OPcache

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

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

 * [Detaljar](https://nn.wordpress.org/plugins/clear-opcache/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/clear-opcache/#reviews)
 * [Utvikling](https://nn.wordpress.org/plugins/clear-opcache/#developers)

 [Hjelp](https://wordpress.org/support/plugin/clear-opcache/)

## Skildring

Clear OPcache is a plugin that makes managing OPcache simple. When you install Clear
OPcache, it puts a button in the top admin bar named «Flush OPcache». When that 
button is clicked, it clears OPcache and WinCache if they are enabled. When the 
plugin is installed, it also clears the OPcache before WordPress is updated. This
plugin is useful for saving space and speeding up your site.

When installed, the plugin also creates an entry in the Settings menu named OPcache
where you can view useful stats.

## Omtalar

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

### 󠀁[works as intended](https://wordpress.org/support/topic/works-as-intended-199/)󠁿

 [Eduard Doloc](https://profiles.wordpress.org/rwky/) 11. november 2021

I sometimes (sadly) have small issues that can be fixed in production (that 1 out
of 1000 cases) and I got to admit I’m lazy on doing local sync for something very
small, but I want to see this available up and fast and due to OPCache in the PHP(
for who has it enabled, also I recommend enabling it if you want to speed up your
website) not all things get really «flushed» when the magic button called «clear
cache» is pressed. This is where this plugin helps, it talks directly to the OPCache
and clears it. The only suggestion I can give to the author is to change the alert
type (JS) to a wordpress notice, besides that, great work!

 [ Les alle 0 omtalar ](https://wordpress.org/support/plugin/clear-opcache/reviews/)

## Bidragsytarar og utviklarar

“Clear OPcache” is open source software. The following people have contributed to
this plugin.

Contributors

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

[Omset “Clear OPcache” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/clear-opcache)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/clear-opcache/), sjekk
[SVN-lageret](https://plugins.svn.wordpress.org/clear-opcache/) eller abonner på
[utviklingsloggen](https://plugins.trac.wordpress.org/log/clear-opcache/) med [RSS](https://plugins.trac.wordpress.org/log/clear-opcache/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 0.5

 * Added error notice that displays upon plugin activation if OPcache isn’t enabled
 * Fixed bug where error would display if opcache_get_status function didn’t exist

#### 0.4

 * Added notice that displays upon plugin activation

#### 0.3

 * Added OPcache page in Settings menu showing OPcache details
 * Added popup saying OPcache was cleared or if OPcache is disabled

## Om

 *  Version **0.5**
 *  Last updated **7 år sidan**
 *  Active installations **80+**
 *  WordPress version ** 5.1 eller nyare **
 *  Tested up to **5.2.26**
 *  PHP version ** 7.2 eller nyare **
 *  Language
 * [English (US)](https://wordpress.org/plugins/clear-opcache/)
 * Tags
 * [clear](https://nn.wordpress.org/plugins/tags/clear/)[flush](https://nn.wordpress.org/plugins/tags/flush/)
   [OPcache](https://nn.wordpress.org/plugins/tags/opcache/)[wincache](https://nn.wordpress.org/plugins/tags/wincache/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/clear-opcache/advanced/)

## Vurderingar

 5 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/clear-opcache/reviews/)

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/clear-opcache/)