trypost/tests/Feature/Models
Paulo Castellano 1df59f09b4 perf: cache account post count for 5 minutes in HasUsage
Posts have no plan-quota gating, so a brief staleness on the count is
acceptable. Avoids the heavy aggregate query on every authenticated
request. Empty-account case skips cache writes entirely.
2026-05-07 10:41:37 -03:00
..
AccountModelTest.php feat: transition AI usage from feature-based limits to a centralized monthly credit system with token tracking. 2026-05-03 19:36:26 -03:00
HasUsageTraitTest.php perf: cache account post count for 5 minutes in HasUsage 2026-05-07 10:41:37 -03:00