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 preconnect and dns-prefetch to nau-richie #280

Open
igobranco opened this issue Dec 9, 2024 · 1 comment
Open

Add preconnect and dns-prefetch to nau-richie #280

igobranco opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@igobranco
Copy link
Member

igobranco commented Dec 9, 2024

The existing richie preconnect and dns-prefetch on richie base.html isn't working on NAU Richie site.

https://github.com/openfun/richie/blob/0e67e48b41c7b9ef940a296ef9a0251448d81683/src/richie/apps/core/templates/richie/base.html#L61-L67

After migrating to Kubernetes we have now the static assets and also the media on S3 Buckets. We should give the operator a way to improve performance like, give a list of hostname to prefetch the DNS and pre-connect.

This should be replaced by a list of href's to preconnect (with crossorigin) and another list of href's to dns-prefetch.

@igobranco igobranco assigned igobranco and Tiago-Salles and unassigned igobranco Dec 9, 2024
@igobranco
Copy link
Member Author

@Tiago-Salles we need to implement this upstream. It is just a performance improvement.

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