eriky82
Forum Replies Created
-
Forum: Plugins
In reply to: [SQLite Object Cache] Moving to /tmpTrue! Perhaps you may still consider it because you have no idea how your hoster treats /tmp
E.g., perhaps they clean the dir every hour or something like that.
Forum: Plugins
In reply to: [SQLite Object Cache] SQLite vs RedisI’ve been using the latest version for a few days now. Seems to work fine.
I set the cache to a max of 20MB. The file size grows to 28MB. The “All Groups” item size grows to 19.385 MB (30,002 items). So it seems you’re looking at the items size and not the file size, correct?
Forum: Plugins
In reply to: [SQLite Object Cache] Moving to /tmpI believe using /tmp is not mandatory. Any other dir outside of your publicly hosted website is fine as well. Have you thought about making a folder in your home directory, such as ~/cache, and storing the SQLite file there instead?
Forum: Plugins
In reply to: [SQLite Object Cache] SQLite vs RedisMy site doesn’t have an insane amount of posts. The cache is 26MB right now (that’s the largest I’ve seen it grow so far). I think sites with many pages and posts would eventually hit memory limits if you don’t limit the cache size.
So yes, perhaps such a feature would be desirable. Ideally you’d have a choice between LRU eviction and random eviction ??
On the other hand: if your site is that large, maybe you’re better off using Redis. So you could opt to keep this plugin plain and simple and put up a warning somewhere about the cache size being unbounded.
Forum: Plugins
In reply to: [SQLite Object Cache] SQLite vs RedisGood point. I do use fast SSD memory. In addition, the VPS has 16G of memory, a large part of which is used as disk cache thanks to Linux’s excellent disk caching mechanism. So I’m guessing a frequently accessed SQLite file will be in memory most of the time. If you have enough spare memory, I bet this can be as fast as using Redis.
I think the hidden dot files are safe enough, but it’s good to know we can use something like /tmp or even a memory disk.
Forum: Plugins
In reply to: [SQLite Object Cache] SQLite vs RedisI created a screenshot of the performance stats. I have nothing to compare it to, but it’s humming along fine so far. It’s not very scientific, but the site doesn’t seem to be slower or faster than with the Redis object cache.
The cache and wall files are around 22MB each (after running for half a day).
Another plus for this plugin is that it also works on the staging copy of my site. The Redis object cache always complains about a foreign drop-in or something; plus, you don’t want to pollute your cache with staging data anyway. This plugin is nicely contained in the current directory tree. In addition, I reckon it’s easier to migrate a site to another server; it will even migrate the cache ?? It just makes things less complicated.
Forum: Plugins
In reply to: [Redis Object Cache] Ability to choose db numberOK, I figured it must be something like that; thanks for clarifying. Perhaps You can add these instructions and this explanation to the settings page?
Forum: Plugins
In reply to: [Redis Object Cache] Ability to choose db numberHi Till, but what I meant to ask is why can’t I set this number in the settings interface instead of needing to edit the config file?
Hi, sorry I uninstalled it for now. I’m curious if you can reproduce the issue or if it was something weird on my end (e.g., a bad combination of plugins or something).
Forum: Plugins
In reply to: [KaTeX] Only load Katex on pages with equationsIsn’t this part of the plugin’s settings page where you can enable it? (Settings -> Katex -> Load KaTeX assets conditionally)
Forum: Plugins
In reply to: [Antispam Bee] All comments marked as spam because of comment hidingOf course. I’m using Lazy Load for Comments. It allows you to automatically show the comments once someone scrolls down or lets the user press a button to explicitly open the comments. The comments and the comment form get loaded through an AJAX call, hence ASB can’t check them beforehand.
Forum: Fixing WordPress
In reply to: Custom post type in latest posts blockThanks, both of you. The query loop block did the trick for me!
Forum: Everything else WordPress
In reply to: Writing documentationThank you Joy, that is super helpful. I’ll check them all. The Handbook plugin seems very promising but is also the most difficult to install I’m afraid ??