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

[Feature Request] Auto Format by Request Header #30

Open
soranoo opened this issue Jul 28, 2023 · 1 comment
Open

[Feature Request] Auto Format by Request Header #30

soranoo opened this issue Jul 28, 2023 · 1 comment

Comments

@soranoo
Copy link

soranoo commented Jul 28, 2023

Look at the request accept header to determine which format to serve.

@AndreasFaust
Copy link

This would be amazing and turn Strapi into a CDN!
For Strapi to get all needed information, the frontend of the app needs to activate Client Hints:

<meta http-equiv="Accept-CH" content="DPR, Viewport-Width, Width" />

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

2 participants