As topic? Can I have mediawiki displays background-url normally without the base64 encoding? What is the advantage of having it encoded?
As topic? Can I have mediawiki displays background-url normally without the base64 encoding? What
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can if you don’t mind editing the code. Edit includes/libs/CSSMin.php and change:
Base64 encoding images is a bit of a tradeoff. It makes the web page size slightly larger since you are embedding the image directly in the page, but it also decreases the number of requests your browser has to make to the web server (since it is requesting one less image).
Here is some analysis of base64 encoding images and what the benefits and drawbacks are: http://davidbcalhoun.com/2011/when-to-base64-encode-images-and-when-not-to