Repository navigation
Remove 336 media files that no live page uses - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Requested by Mehran · project thread
Before: the site's files took up 344 MB. 336 of the media files (297 MB) weren't used by any live page.
After: the site's files take up 60 MB. Every live page loads exactly what it did before.
What changed
%20, HTML-escaped).archive/legacy pages). Those pages will now show missing images. The three journal posts inarchive/that are still live are not affected..gitignore: the five folders that are now empty are added, so local copies you keep there won't be committed again:Images/3D/,Images/AI/stroies about humans/,Images/UnusedImages/3D/,Images/UnusedImages/AI/,Images/blog/golden-gate-glass/.docs/SITE-OVERVIEW.mdis marked done, and there's a new changelog line.site/unused-media.mdandsite/unused-media.csvin the project files.How it was tested
css/site.css. It coverssrc,href,poster,srcset,data-fulland CSSurl(), with exact capitalisation.PStoComfy2026.html, which Stop the OpenLayer article scrolling sideways on phones #4 fixes.Risks and follow-ups
mainafter merging, git deletes these files from your local folder too. Copy anything you want to keep (for exampleImages/AI/) outside the repo before pulling.git checkout 3ea5480 -- "<path>".Suggestions