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

[ENHANCEMENT] Datauris ignore file #14

Open
vvo opened this issue Aug 9, 2010 · 1 comment
Open

[ENHANCEMENT] Datauris ignore file #14

vvo opened this issue Aug 9, 2010 · 1 comment

Comments

@vvo
Copy link
Contributor

vvo commented Aug 9, 2010

Problem :
You have a 404 page with a very large background (but < 24ko), jpg style
You have 2 css files : core + template.
You use css js booster to merge, minify and data uri your code. Then the large background is data uried and you have a BIG css file.

Solution :
When calling css markup, if we could provide a ignore file with on each line some characters like :

404
big
big_image

Then when css js booster parses the CSS file, when he find an image he wants to data uri, it has to check if the image uri does not contain one of the keywords of the ignore file

This could be an ignore file but an array or a string can do the work too.

I know this sounds a weird idea and that could be solved by making a css file only for the 404 page, then you lost the merging benefits.

What do you think ?

@vvo
Copy link
Contributor Author

vvo commented Aug 9, 2010

I'm working on this, btw

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

No branches or pull requests

1 participant