TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Clear OPcache – Our First WordPress Plugin

2 点作者 jessehorne超过 5 年前
We (Binary Cocoa) have released our first WordPress plugin and would love to get feedback from the HN community.<p>It&#x27;s a simple plugin named Clear OPcache. When installed, it puts a Flush OPcache button in the top admin bar which allows you to flush the OPcache by clicking it. It will let you know if you don&#x27;t have OPcache enabled and will link you to documentation. It also clears the OPcache&#x2F;WinCache during a WordPress update.<p>It&#x27;s completely free and we&#x27;d appreciate any and all feedback. I appreciate your time!<p>https:&#x2F;&#x2F;wordpress.org&#x2F;plugins&#x2F;clear-opcache&#x2F;<p>https:&#x2F;&#x2F;binarycocoa.com&#x2F;

1 comment

zelon88超过 5 年前
Nice! It sounds like you put some thought into fit and finish.<p>I&#x27;m just unclear under what conditions would one want to flush the OPcache? I&#x27;ve written countless lines of janky PHP experiments and never run into a problem with caching. The only time I can think of flushing it would be on an off-site server where you don&#x27;t have the ability to reboot or restart PHP. Does PHP wipe the OPcache and start over once it gets full?
评论 #21755513 未加载