-
Notifications
You must be signed in to change notification settings - Fork 165
Optimizations and Security #385
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
base: main
Are you sure you want to change the base?
Optimizations and Security #385
Conversation
The ideas page seems to not be loading for me, https://output.circle-artifacts.com/output/job/6dd88010-b230-4639-a0aa-107fa0977d28/artifacts/0/html/gsoc/gsoc2025/index.html |
Thanks for your contributions, some suggestions below.
It's a good practice to create an issue before contributing with a PR, so that we can discuss the need or the approach of these issues. In this case an issue was already created, writing there before with your approach is appreciated. |
Thanks for the feedback! I appreciate the detailed review and will make the necessary changes.
In the future, I'll first open an issue to discuss the approach before submitting a PR. Thanks for pointing this out! |
This PR improves site performance and security by optimizing assets and implementing best practices:
Fixes #251
Optimized Asset Loading:
bootstrap.css
,bootstrap-responsive.css
, andswc.css
, reducing their total size.Deferred JavaScript parsing:
Implemented Content Security Policy (CSP):
_config.yml
to restrict resource loading and mitigate security risks (e.g., XSS attacks).Enabled Caching for Faster Page Loads:
jekyll-include-cache
, which caches expensive Liquid includes (like navigation and footers).Improved Accessibility:
lang
attribute to the HTML root (<html lang="en">
), which helps screen readers and improves SEO.