Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page warming #672

Merged
merged 3 commits into from
Nov 27, 2024
Merged

Page warming #672

merged 3 commits into from
Nov 27, 2024

Conversation

APB9785
Copy link
Contributor

@APB9785 APB9785 commented Nov 25, 2024

Resolves #666

Adds feature to warm pages on Beacon Boot. Configured via Beacon.Config :page_warming. Allowed options are:

  • {:shortest_paths, n} - warms the n pages with the shortest paths (using database LENGTH() function)
  • {:specific_paths, list_of_path_strings} - attempts to warm all pages with the provided paths. skips if the page is unpublished
  • :none - disables the page warming feature entirely

@APB9785 APB9785 requested a review from leandrocp November 25, 2024 19:56
@APB9785 APB9785 self-assigned this Nov 25, 2024
lib/beacon/boot.ex Outdated Show resolved Hide resolved
@APB9785 APB9785 merged commit f68f16c into main Nov 27, 2024
3 checks passed
@APB9785 APB9785 deleted the apb/page-warming branch November 27, 2024 00:23
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.

"Page Warming"
2 participants