Skip to content

u/rmccue

In this archive from Nov 2009 to Jun 2026

13
posts
302
comments
3
media
1.3k
score
1 saved before deletion

It's worth differentiating here between general "caching plugins" (which vary wildly in terms of quality for sure) and "object caching". Object caching is a system in WP which offloads database queries to a key-value store, typically memcache or Redis.

https://scalewp.io/object-caching/ has some info (albeit a bit out of date).

Running WP at high scale, you generally want to use it to reduce your database load where you can.

2 points

Excimer is a sampling profiler, so it basically takes a snapshot of what your callstack is every X milliseconds. This is different to a tracing profiler, which inserts itself into every function call to record enter/exit of that function. This makes it possible to run in production on every request rather than just sampled ones.

eg, Wikimedia runs it on Wikipedia et al to collect about 3 million traces a day; we run it for profiling every request on an enterprise hosting platform.

7 points

I think so; given they’re using the patches config already, presumably they know about the package. The diff invocation is a bit magic, and all the prep work can be a bit of a pain - particularly for developers who aren’t used to running diff directly (instead of via git)

2 points

That’s how to use them, but (as I also discovered when explaining this to colleagues) the docs on actually creating the patches are effectively non-existent. (ie precise format, relative locations for files, step-by-step process)

Ironically, I was going to suggest a patch for the docs to add this.

3 points

Thanks for the kind words. I put a lot of thought into every word I published about this, and intentionally avoided any sort of charged or aggressive language - but ultimately thought it was important that someone state this opinion, as it impacts us all.

We have to have a community in which we can politely, respectfully disagree with each other. That's how open source works.

2 points

Hi, I wrote this library! It predates PSR-7, which is why it’s not a key part of the library itself. PSR-7 also requires (iirc) namespaces, which were an issue with compatibility in WordPress’ supported versions at the time.

(I no longer maintain the library, but retrofitting it would likely break some back compat, and there’s already other packages that implement it, so that may be why it hasn’t been added.)

3 points

This is something that’s unlikely to be a one line change. In this case, it’s less about whether you know PHP and much more about how the internal systems in WordPress (and that plugin) work.

Generally, whenever you use a framework, application like WordPress, or any libraries, you have to work within that system and will need to understand how it works to be productive; that’s quite different to whether you know PHP or not, although PHP knowledge will be a prerequisite to learning it by reading the code.

——

When you say “filtered”, how do you see this working? Are you thinking of a list of all members (i.e. a member directory) that is then filtered?

Does ARMember come with a members directory? Is that already filterable, or would you have to create the filtering yourself?

3 points

One of the biggest advantages is that essentially every hosting environment has PHP available. There’s no complex build or deployment process, just upload the source files and you’re done.

If you want to develop something that everyone can run, PHP is probably the best language to use.

This advantage is becoming less important with the rise of containerisation and the like, but the vast majority of people are still hosting their sites on traditional shared hosting.

9 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.