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

Investigate cloudflare pages for the demo site. #169

Closed
Jieiku opened this issue May 4, 2024 · 4 comments
Closed

Investigate cloudflare pages for the demo site. #169

Jieiku opened this issue May 4, 2024 · 4 comments

Comments

@Jieiku
Copy link
Owner

Jieiku commented May 4, 2024

I would like to investigate cloudflare pages for the demo site. Several demos hosted on netlify are now 404.

You can see them at the bottom of these tables: https://github.com/Jieiku/zola-themes-benchmarks/blob/main/README.md

I would like to avoid issues like that, the abridge demo is still online but I do not want to be surprised by problems later.

@Jieiku
Copy link
Owner Author

Jieiku commented May 4, 2024

It seems the only way to add CSP and other headers to cloudflare pages is via a worker.

https://developers.cloudflare.com/workers/platform/limits

I will have to give it a try and see how it goes.

Currently there seems to be 3 theme demos hosted on cloudflare pages: serene, anemone, pickles

https://github.com/securityheaders/security-headers-cloudflare-worker/issues/10

@Jieiku Jieiku closed this as completed May 4, 2024
@Jieiku Jieiku reopened this May 5, 2024
@Jieiku
Copy link
Owner Author

Jieiku commented May 5, 2024

@Jieiku
Copy link
Owner Author

Jieiku commented May 5, 2024

This is now completed https://abridge.pages.dev/

@Jieiku Jieiku closed this as completed May 5, 2024
@Jieiku
Copy link
Owner Author

Jieiku commented May 5, 2024

BAH cloudflare pages compress brotli level 4, so netlify definitely wins in this case: https://community.cloudflare.com/t/pre-compressed-assets-in-pages/300028

both the netlify and pages demos are online. The one hosted by pages generally have a better response time but not by a lot. The one hosted by netlify have better brotli compressed files.

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

No branches or pull requests

1 participant