Skip to content

Stop inlining images in CSS #1115

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

Merged
merged 1 commit into from
Nov 27, 2018

Conversation

adamchainz
Copy link
Contributor

These are done on top of including the raw assets, doubles the work. There's no need for this optimization since DDT is for debug mode only, and with a restrictive Content Security Policy, the data: URL's trigger an unnecessary error before the real asset gets loaded.

These were last touched in #1097 / b356100.

These are done on top of including the raw assets, doubles the work. There's no need for this optimization since DDT is for debug mode only, and with a restrictive Content Security Policy, the `data:` URL's trigger an unnecessary error before the real asset gets loaded.

These were last touched in django-commons#1097 / b356100.
@matthiask matthiask merged commit bb601f5 into django-commons:master Nov 27, 2018
@matthiask
Copy link
Member

Thanks!

@adamchainz adamchainz deleted the stop_inlining_images branch November 27, 2018 07:12
@adamchainz
Copy link
Contributor Author

Can we get a release? I'd like to use this and #1108.

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.

3 participants