{"id":12466814,"date":"2020-02-22T00:30:35","date_gmt":"2020-02-22T00:30:35","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/automatic-invalidation\/"},"modified":"2020-02-22T00:38:00","modified_gmt":"2020-02-22T00:38:00","slug":"automatic-invalidation","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/automatic-invalidation\/","title":{"rendered":"Automatic invalidation"},"content":{"rendered":"<p>Hi Pierre!<br \/>\nI have bumped up  manually Opcache settings quite a lot.<br \/>\nFor example the memory is 192M, the buffer-64<br \/>\nmax accelerated files -70,000. Using both memory and the hard drive. It&#8217;s full with binary files ( the directory for Opcache)<br \/>\nAnd so on. That&#8217;s why with Opcache Manager I&#8217;ve set up Opcache to be cleaned ( site invalidation) every hour. My cronjobs are on the server and work very well.<\/p>\n<p>But as I see from statistics and from the frontend ,it doesn&#8217;t clean it every hour which breaks some elements and functionalities on the site.<\/p>\n<p>I have an alternative  which is to create a php file which consists  of only one function like that :<\/p>\n<p>?php<br \/>\nopcache_reset();<br \/>\n?&gt;<\/p>\n<p>And run it via cron every hour  but I&#8217;m wondering why Opcache Manager is not doing it.<\/p>\n<p>Also via your awesome plugin Decalog I get all PHP  events in my email and it comes as a PHP WARNING that Opcache is full.<\/p>\n<p>Any ideas?<\/p>\n<p>Thanks in advance! It&#8217;s not urgent.<\/p>\n","protected":false},"template":"","class_list":["post-12466814","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12466814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12466814\/revisions"}],"predecessor-version":[{"id":12466826,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12466814\/revisions\/12466826"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12466814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}