Derrick Tennant
Forum Replies Created
-
Forum: Reviews
In reply to: [Markdown Editor (Formerly Dark Mode)] Why destroy this plugin?!Agree. I was a contributor and owner of this plugin (dark mode) for a while, but due to personal reasons I didn’t have time to manage it.
I’ve now got my name attached to a junk Markdown editor plugin that nobody asked for.
Forum: Reviews
In reply to: [Markdown Editor (Formerly Dark Mode)] EssentialThanks! There were some relatively big CSS changes in 5.3 (compared to other recent small updates), so I’m holding off with manually trying to rebuild all of the plug-in CSS, and looking into a way to hopefully make it easier to update when core CSS changes happen.
Forum: Plugins
In reply to: [FOCUS Cache] suggestion:split to 2 mode with admin settingHi!
A caching layer isn’t necessarily a good place to store large or long term data since normally caches don’t promise the data will always be available. In cases like that, storing data in a database may be better.
As an example, the plugin WP Large Options stores large amounts of data as a custom post type in the database where it can be accessed in a way similar to the WordPress Options API.
Forum: Plugins
In reply to: [FOCUS Cache] io VS redis ?Hi!
To be completely honest, FOCUS is very inefficient 🙂 It relies on the filesystem to cache data, with nothing stored in memory. Redis on the other hand is an in-memory cache (for the most part), and will be much faster. Unfortunately though, it usually requires more technical setup and a VPS or private server.
Using FOCUS can be better than no cache, depending on how speedy the database server is. It’s worth doing some testing (but not in any production environment) to see if it works well for your needs.
Let me know if you have any other questions!
Forum: Plugins
In reply to: [FOCUS Cache] First feedbackHi! Thanks for the great feedback. I appreciate you taking the time to look into the plugin 🙂
I see that you’re using WP_CACHE_KEY_SALT and you set it to empty string if it’s not defined otherwise in wp-config.php
What’s the reason of using salt for disk-based object caching? If this for WP Network? Or for those setups where several WP installs use the same database with different table prefixes?It’s left over from much earlier development. I don’t think it’s needed anymore and I’ll remove it. (GitHub Issue)
How is cache pruning performed when WP_FOCUS_MAXTTL is reached? Is there a WP cron job that prunes files?
There’s a GitHub issue to add a cron job to purge expired data for v1.1.
If that’s the case – will it still work w/o issues when the ‘native’ WP cron is disabled and an external one is being used?
If you mean using
define('DISABLE_WP_CRON', true);and triggering the WordPress core cron externally, then it should still work since the cron jobs should still run.Since any object caching takes care of transients, I believe you can add a note to plugin docs about deleting all transients from wp_options.
I added a GitHub issue to add documentation about that.
Ideally, there can be a button on plugin settings page to do this 😉
Another GitHub issue for a potential future enhancement to purge database transients.
Finally, I’d rather put a single .htaccess file in /wp-content/focus-object-cache/ folder to protect files from public access rather than zero-length index.php.
Good idea. I personally use nginx, but adding the
.htaccessfile shouldn’t cause any issues. I’ll also try to add other instructions for nginx on how to disable access to the directory. (GitHub Issue)Or even (not sure if it’s possible though) move /focus-object-cache/ one level up the public_html.
Added a GitHub issue to work on the ability to change the cache directory.
Hopefully that provides an answer to all of the feedback, but if not, just let me know.
Forum: Plugins
In reply to: [FOCUS Cache] Error – El plugin no tiene una cabecera válida.I just pushed out version 1.0.1 which should fix this issue. Please let me know if it continues, or if you have any other problems.
Thanks!
Forum: Plugins
In reply to: [FOCUS Cache] Can I use with another cache plugin?It should be compatible with full-page caching plugins, such as WP Super Cache, WP Fastest Cache, Comet Cache. It’s not compatible with plugins that offer their own persistent object caching, such as W3 Total Cache or Redis Object Cache.
If you notice any issues with a full-page caching plugin, please let me know.
Thanks!
Forum: Plugins
In reply to: [FOCUS Cache] Error – El plugin no tiene una cabecera válida.Hi,
I was able to duplicate this issue on one of my test sites. It seems that it can happen on the plugin installation page (wp-admin/plugin-install.php), but if it’s activated on the standard plugins page (/wp-admin/plugins.php) it activates fine for me.
I’ll look into why it’s not working properly from the install page.
Thanks!
Hi moxymore,
I’d like to know more about the problem. Is the plugin not compatible with BuddyPress, or is there something else you’re looking for?
Thanks!
Forum: Plugins
In reply to: [Bulk User Management] Failed after wordpress 4.4 updateHey Dillut,
There was a change with how WordPress core displays the bulk actions, but there’s a simple one-line change that will get it to work until the plugin is updated. I’ve opened a GitHub issue and you can see more about it there: https://github.com/Automattic/bulk-user-management/issues/15
Forum: Plugins
In reply to: [Attributron 2000] [Plugin: Attributron 2000] Use directly from Edit Post?Since, as far as I can tell, the actual image information isn’t saved into the database when you use the “From URL” option, we would have to enter it into the HTML on the page. So do you feel it would be best to add attribution to the image caption directly? If so, I think it can be done. Something like this:
[caption id="" align="alignnone" width="381" caption="Caption Text Here. Image CC-BY Google.com"]<a href="Http://link.to.author.flickr.page.com/"><img alt="" src="https://ssl.gstatic.com/gb/images/j_e6a6aca6.png" title="Google CSS Srite" width="381" height="45" /></a>[/caption]I’m working on an updated version now that should hopefully fix this problem. It should be up later today.