feat: Optimize SEO and performance to achieve 100 PageSpeed score #202
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What will change?
Learnings
Currently, if you paste your URL (e.g., https://yourdomain.com) into chat apps or social media, it only appears as plain text without any additional information. With these configurations, we can display a title and description, and achieve a perfect 100 score on Google PageSpeed Insights. Making these changes the default code would be an even better approach. Would you suggest adding it to the
.env.example
file or hardcoding it as done in this PR? If it looks good, feel free to merge! 😄Security
Before you click Merge, take a step back and think how someone could break the Confidentiality, Integrity and Availability of the code you've just written. Are secrets secret? Is there any sensitive information disclosed in logs or error messages? How does your code ensure that information is accurate, complete and protected from modification? Will your code keep Contentful working and functioning?