{"id":54325,"date":"2017-02-15T09:02:49","date_gmt":"2017-02-15T09:02:49","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/flush-opcache\/"},"modified":"2025-02-27T13:10:21","modified_gmt":"2025-02-27T13:10:21","slug":"flush-opcache","status":"publish","type":"plugin","link":"https:\/\/ceb.wordpress.org\/plugins\/flush-opcache\/","author":3517712,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4.2.3","stable_tag":"4.2.3","tested":"6.7.5","requires":"6.0","requires_php":"8.1","requires_plugins":null,"header_name":"WP OPcache","header_author":"nierdz","header_description":"","assets_banners_color":"52b0dd","last_updated":"2025-02-27 13:10:21","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/flush-opcache\/","header_author_uri":"https:\/\/igln.fr\/","rating":4.8,"author_block_rating":0,"active_installs":10000,"downloads":222696,"num_ratings":21,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.2":{"tag":"1.2","author":"mnttech","date":"2017-08-20 14:26:17"},"2.4.3":{"tag":"2.4.3","author":"mnttech","date":"2018-11-01 20:41:41"},"3.1.1":{"tag":"3.1.1","author":"mnttech","date":"2021-03-14 16:26:05"},"4.0.0":{"tag":"4.0.0","author":"mnttech","date":"2021-05-09 13:48:32"},"4.0.1":{"tag":"4.0.1","author":"mnttech","date":"2021-05-09 18:25:36"},"4.1.0":{"tag":"4.1.0","author":"mnttech","date":"2021-05-13 08:55:22"},"4.1.1":{"tag":"4.1.1","author":"mnttech","date":"2021-07-23 05:02:21"},"4.1.2":{"tag":"4.1.2","author":"mnttech","date":"2021-08-01 12:19:58"},"4.1.3":{"tag":"4.1.3","author":"mnttech","date":"2022-02-15 08:03:29"},"4.1.4":{"tag":"4.1.4","author":"mnttech","date":"2022-07-08 05:59:14"},"4.2.0":{"tag":"4.2.0","author":"mnttech","date":"2023-01-23 22:29:49"},"4.2.1":{"tag":"4.2.1","author":"mnttech","date":"2025-02-26 09:49:34"},"4.2.2":{"tag":"4.2.2","author":"mnttech","date":"2025-02-26 10:07:31"},"4.2.3":{"tag":"4.2.3","author":"mnttech","date":"2025-02-27 13:10:21"}},"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":0,"4":0,"5":20},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1716642,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":1716642,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1727000,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1727000,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","2.4.3","3.1.1","4.0.0","4.0.1","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.2.0","4.2.1","4.2.2","4.2.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2528653,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2528653,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2528653,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2528653,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2528653,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2853148,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Flush button in admin bar","2":"WordPress Notice after flushing OPcache","3":"General settings tab","4":"Statistics tab","5":"Cached files tab","6":"CLI command"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,3851,441,47179,662],"plugin_category":[52],"plugin_contributors":[96367],"plugin_business_model":[],"class_list":["post-54325","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-flush","plugin_tags-multisite","plugin_tags-opcache","plugin_tags-php","plugin_category-performance","plugin_contributors-mnttech","plugin_committers-mnttech"],"banners":{"banner":"https:\/\/ps.w.org\/flush-opcache\/assets\/banner-772x250.jpg?rev=1727000","banner_2x":"https:\/\/ps.w.org\/flush-opcache\/assets\/banner-1544x500.jpg?rev=1727000","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/flush-opcache\/assets\/icon-128x128.jpg?rev=1716642","icon_2x":"https:\/\/ps.w.org\/flush-opcache\/assets\/icon-256x256.jpg?rev=1716642","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/flush-opcache\/assets\/screenshot-1.png?rev=2528653","caption":"Flush button in admin bar"},{"src":"https:\/\/ps.w.org\/flush-opcache\/assets\/screenshot-2.png?rev=2528653","caption":"WordPress Notice after flushing OPcache"},{"src":"https:\/\/ps.w.org\/flush-opcache\/assets\/screenshot-3.png?rev=2528653","caption":"General settings tab"},{"src":"https:\/\/ps.w.org\/flush-opcache\/assets\/screenshot-4.png?rev=2528653","caption":"Statistics tab"},{"src":"https:\/\/ps.w.org\/flush-opcache\/assets\/screenshot-5.png?rev=2528653","caption":"Cached files tab"},{"src":"https:\/\/ps.w.org\/flush-opcache\/assets\/screenshot-6.png?rev=2853148","caption":"CLI command"}],"raw_content":"<!--section=description-->\n<p><strong>Flush OPcache<\/strong><\/p>\n\n<ul>\n<li>creates a button in admin bar to flush OPcache<\/li>\n<li>flush only files in WordPress absolute path<\/li>\n<li>individual or bulk file invalidation<\/li>\n<li>support both memory and file caching<\/li>\n<li>support multisite<\/li>\n<\/ul>\n\n<p><strong>OPcache Statistics<\/strong><\/p>\n\n<ul>\n<li>memory, hits, strings and keys statistics<\/li>\n<li>directives, functions and general informations<\/li>\n<li>list all files<\/li>\n<li>fully responsive<\/li>\n<\/ul>\n\n<p><strong>WP CLI ready<\/strong><\/p>\n\n<ul>\n<li>add flush-opcache command to flush cache with cli: <code>wp flush-opcache flush<\/code><\/li>\n<li>don't forget to add <code>opcache.enable_cli=1<\/code> to your PHP configuration<\/li>\n<\/ul>\n\n<p><strong>There are three tabs in admin page under Tools:<\/strong><\/p>\n\n<ul>\n<li>General settings: plugin settings<\/li>\n<li>Statistics: responsive dashboard about OPcache statistics<\/li>\n<li>Cached files: list of cached files with the possibility of invalidating them<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>As usual...<\/p>\n\n<!--section=changelog-->\n<h4>4.2.3<\/h4>\n\n<ul>\n<li>Ensure user is admin or superadmin to display flush button in admin bar<\/li>\n<li>Ensure to not continue if OPcache is disabled or not installed to avoid printing PHP errors<\/li>\n<\/ul>\n\n<h4>4.2.1<\/h4>\n\n<ul>\n<li>Maintenance release<\/li>\n<li>Menu moved under Tools<\/li>\n<\/ul>\n\n<h4>4.2.0<\/h4>\n\n<ul>\n<li>Add CLI support<\/li>\n<\/ul>\n\n<h4>4.1.4<\/h4>\n\n<ul>\n<li>Fix a bug on clearing cache after upgrade<\/li>\n<li>Flush files even when WP use its own directory<\/li>\n<li>Use WordPress 6.0 as default<\/li>\n<li>Use php8.0 as default<\/li>\n<\/ul>\n\n<h4>4.1.3<\/h4>\n\n<ul>\n<li>Fix a bug on datetime in cached file list<\/li>\n<\/ul>\n\n<h4>4.1.2<\/h4>\n\n<ul>\n<li>Fix a bug with ABSPATH when WordPress uses its own directory<\/li>\n<\/ul>\n\n<h4>4.1.1<\/h4>\n\n<ul>\n<li>Tested up to WordPress 5.8<\/li>\n<\/ul>\n\n<h4>4.1.0<\/h4>\n\n<ul>\n<li>Remove i18n (use translate.wordpress.org)<\/li>\n<li>Use wp_opcache_invalidate instead of opcache_invalidate<\/li>\n<\/ul>\n\n<h4>4.0.1<\/h4>\n\n<ul>\n<li>Enhance README.txt<\/li>\n<li>Remove old screenshots<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>Invalidate files only in WordPress absolute path<\/li>\n<li>Use tabs instead of pages in admin area<\/li>\n<li>New tab with cached files list<\/li>\n<li>Tested up to WordPress 5.7.1<\/li>\n<\/ul>\n\n<p>Full changelog <a href=\"https:\/\/github.com\/nierdz\/flush-opcache\/releases\">here<\/a><\/p>","raw_excerpt":"Manage OPcache inside your WordPress admin dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54325"}],"author":[{"embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mnttech"}],"wp:attachment":[{"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54325"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54325"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54325"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54325"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54325"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ceb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}