Throttle better-route endpoints via RateLimitMiddleware with two backend choices — WpObjectCacheRateLimiter (preferred, needs persistent ob…
“商务、法务、人力资源与项目管理”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Throttle better-route endpoints via RateLimitMiddleware with two backend choices — WpObjectCacheRateLimiter (preferred, needs persistent object cache like Redis or Memcached; throws RuntimeException at construction if wp_cache_* functions are unavailable) and TransientRateLimiter (fallback, uses WP transients; works without object cache but has higher write latency). Critical v0.3.0 default key is identity-aware — {provider}:user:{userId} → {provider}:sub:{subject} → 'guest', so authenticated users get a per-user limit and anonymous traffic keys on 'guest'. Pre-v0.3 default was IP-based; pass an explicit keyResolver to preserve old keys. In 0.6.0 RateLimitMiddleware can use either legacy Http\ClientIpResolver or new TrustedProxyClientIpResolver / ClientIpResolverInterface with IPv4/IPv6 CIDRs. REMOTE_ADDR must be in trusted proxy CIDRs before any X-Forwarded-For / CF-Connecting-IP header is consulted. Use when adding throttling. Triggers on RateLimitMiddleware, WpObjectCacheRateLimiter, TransientRateLimiter,
Skill 是加载到智能体(如 Claude Code 或 Codex)里的一组指令。就像在手机上安装应用:装一次,智能体就知道怎么做这件事。
它有什么用?
用于“商务、法务、人力资源与项目管理”相关工作。发布者的介绍:Throttle better-route endpoints via RateLimitMiddleware with two backend choices — WpObjectCacheRateLimiter (preferred, needs persistent object cache like Redi…
示例请求
“把这些会议记录整理成任务清单。”
智能体
已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
值得信任吗?
27 个 GitHub 星标 · MIT。安装前请先查看来源。
使用情况
最近 30 天,网站和智能体上。
0个书架收藏
0次浏览
0次命令复制
0次网站下载
0次通过应用安装
0次由智能体自行安装
0位活跃用户
实测评分需要 ANG 应用中至少 20 位用户和 50 个任务;目前有 0 位用户、0 个任务。在此之前,强度分根据条目数据估算。