Skip to content

Optimize jobs page: simplePaginate + cached filter options#1

Open
robnagy wants to merge 4 commits into
mainfrom
optimize-jobs-page
Open

Optimize jobs page: simplePaginate + cached filter options#1
robnagy wants to merge 4 commits into
mainfrom
optimize-jobs-page

Conversation

@robnagy

@robnagy robnagy commented Jul 6, 2026

Copy link
Copy Markdown

Summary

  • Switch jobs list to simplePaginate to avoid a COUNT(*) over the filtered set on every load
  • Cache queue/job-class/tag filter dropdown options (VANTAGE_FILTER_OPTIONS_CACHE_TTL, default 300s, 0 disables)
  • Support PHP 8.5 in composer constraints

Test plan

  • vendor/bin/pest — 68 passed

robnagy and others added 3 commits July 6, 2026 14:41
- avoid COUNT(*) over filtered jobs on every load via simplePaginate
- cache queue/job-class/tag filter dropdown options (VANTAGE_FILTER_OPTIONS_CACHE_TTL, default 300s)
- support PHP 8.5 in composer constraints

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@robnagy robnagy requested a review from morrislaptop July 6, 2026 12:58
New filter_options_cache_ttl config key adds one more env() call.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant