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

Swap everything from SVG to PNG #91

Closed
wants to merge 1 commit into from

Conversation

RandomInsano
Copy link
Collaborator

Performance gains outlined here.

Change made was applying this regular expression:

From: "(img.shields.io.*)svg"
To: "\1png"

Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I measured several times now and with cold caches the loading times are the exact same ~1.3s here, no matter whether it's svg or png. However the PNGs are quite a substantial increase in transferred size on this already very bandwidth unfriendly page so I'm very much opposed to worsening it more.

@RandomInsano
Copy link
Collaborator Author

The times are now inconsistent on my end (ranging from 1 to 20 seconds) regardless of content type or browser, so I'm in favour of closing this as well.

@RandomInsano RandomInsano deleted the pngs_instead branch September 30, 2018 15:49
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

Successfully merging this pull request may close these issues.

2 participants