Skip to content

Allow skip callback conditionally #59

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Sep 11, 2023

Hi, I would like it to be able to somehow allow skipping callback conditionally at the end of the should_show_prerendered_page based on the return result of the optional should_skip_prerender lambda function. I have a use case for this for disabling based on checking if the ip is from certain country.

I would like something similar to this PR to be implemented on the gem itself so that I don't have to maintain a fork for this.

Thanks.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant