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

Add option for static render #14

Open
noahlh opened this issue Dec 30, 2020 · 0 comments
Open

Add option for static render #14

noahlh opened this issue Dec 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@noahlh
Copy link
Owner

noahlh commented Dec 30, 2020

Several have suggested this and it's a good idea: We should add an option to celestite_render() to allow for a static render in production, which is to say, avoid a r/t to the Node server.

This will be for certain pages whose content we can reliably expect to be static / pre-rendered. If there's no crystal variables being sent (eg no DB calls, etc.) and no server-side node requirements, then we can simply serve up the pre-rendered HTML.

@noahlh noahlh added the enhancement New feature or request label Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant