raw ush-hdd_ush死了,万岁live

raw ush-hdd

raw ush-hdd_ush死了,万岁live

Looks like Yahoo! stopped maintaining the image optimization service called smush.it. So people have been asking questions on the mailing list. I don't have any inside information from Yahoo about the service, or whether it will be back up again. But let me try to answer some of the questions.

看起来像Yahoo! 停止维护名为smush.it的图像优化服务。 因此人们一直在邮件列表上提问。 我没有来自Yahoo的有关该服务的内幕消息,也没有该消息是否会再次备份。 但是,让我尝试回答一些问题。

历史:快速复习 (History: quick refresher)

Nicole and I launched this simple tool called smush.it at the Ajax Experience conference, Boston 2008. (Past blogs). It was a quick hack based on a few simple tools documented here and there. The knowledge was out there, I wrote blog posts and spoke at conferences. Instead of yet-another-talk I thought - why not a quick tool with a browser extension, just to prove the concept and show how much people can potentially save. Nicole jumped in and people seemed to dig the tool. A lot.

Nicole和我在2008年波士顿的Ajax体验会议上启动了名为smush.it的简单工具。( 以前的 博客 )。 这是一个快速的**方法,它基于在这里这里记录的一些简单工具。 这些知识就在那里,我写了博客文章并在会议上发表了讲话。 我想到的不是对话,而是为什么不带浏览器扩展的快速工具,只是为了证明概念并显示人们可以节省多少。 妮可(Nicole)跳了进来,人们似乎在挖掘工具。 很多。

在Dreamhost上 (On Dreamhost)

The initial development version was hosted on imgopt.com (which is still live and you can see how it used to look like initially) and smushit.com and smush.it. Hosted using Dreamhost's shared hosting which handled the initial load surprisingly well, but later on DH saw too much traffic and disabled some of the command line tools required. So imgopt.com no longer works properly.

最初的开发版本托管在imgopt.com (仍在运行中,您可以看到它最初的外观)以及smushit.com和smush.it。 使用Dreamhost的共享托管进行托管,该托管可以很好地处理初始负载,但后来在DH上看到了太多的流量,并禁用了所需的某些命令行工具。 因此imgopt.com不再正常工作。

雅虎! (Yahoo!)

Good folks at Yahoo took over and generously hosted the free service from 2008 till last week or so.

从2008年到上个星期左右,雅虎的好伙伴接手并慷慨地提供了免费服务。

开发人员现在要做什么? (What's a dev to do now?)

Since the smush.it conception a lot of other tools came up. There are probably good free hosted options out there. But most people have moved to using grunt/gulp tasks and do everything in-house. Which is the way it should be.

自从smush.it概念诞生以来,出现了许多其他工具。 那里可能有不错的免费托管选项。 但是大多数人已经开始使用咕unt声/吞咽声任务,并在内部完成所有工作。 应该是这样。

Quick NPM search reveals this popular package that should get the job done.

NPM快速搜索显示了该受欢迎的软件包 ,可以完成任务。

UPDATE: thus spake Kornel

更新:因此说出Kornel

@stoyanstefanov For "What's a dev to do now?" you could link to @addyosmani's excellent list http://t.co/N98Vw2xwoy

@stoyanstefanov对于“现在要做什么工作?” 您可以链接到@addyosmani的出色列表http://t.co/N98Vw2xwoy

— Kornel (@pornelski) April 6, 2015

— Kornel(@pornelski) 2015年4月6日

图像优化 (ImageOptim)

ImageOptim is probably the best tool out there, but it's not a hosted service. It's a mac app, created by the amazing Kornel. It's drag and drop and highly recommended for designers and all folks that have day-to-day job of dealing with images on the web and don't have the luxury of a build process that does all the image optimization for them

ImageOptim可能是目前最好的工具,但它不是托管服务。 这是一个Mac应用程序,由令人惊叹的Kornel创建。 它是拖放式的,强烈建议设计师和所有日常处理网络图像并且没有奢侈的构建过程为他们完成所有图像优化的人员使用

自己动手做 (DIY)

For folks that want to go DIY route, here's a copy of something I wrote on the mailing list earlier today:

对于想自己动手做的人,这是我今天早些时候在邮件列表上写的东西的副本:

If you want to set something up I'd look at ImageOptim's code on github and lift the command-line tools from there. Just the dir listing gives you an idea of the tools you need: https://github.com/pornel/ImageOptim

如果您想进行一些设置,我将在github上查看ImageOptim的代码,然后从那里提起命令行工具。 只是目录清单为您提供了所需工具的概念: https : //github.com/pornel/ImageOptim

You don't have to use them all, just pick couple PNG (e.g. pngcrush, optipng), one JPEG (e.g. jpegtran) and the only GIF (gifsicle) optimizers and you're 95+% there ????

您不必全部使用它们,只需选择几个PNG(例如pngcrush,optipng),一个JPEG(例如jpegtran)和唯一的GIF(gifsicle)优化器,您就可以达到95%以上的水平????

More reading and simple command-line examples: http://www.bookofspeed.com/chapter5.html

更多阅读内容和简单的命令行示例: http : //www.bookofspeed.com/chapter5.html

For even more reading and best-of command-line options and flags, dig deeper into ImageOptim's code https://github.com/pornel/ImageOptim/tree/master/imageoptim/Workers

有关更多阅读和最佳命令行选项和标志的信息,请更深入地了解ImageOptim的代码https://github.com/pornel/ImageOptim/tree/master/imageoptim/Workers

开个玩笑 (Close with a joke)

Ajax Experience, Boston, 2008. Quick 5 minute sessions in the morning. All "quick" presenters sitting by the side of the stage. Nicole and I announce smush.it with something like "today we're releasing a tool called smushit". John "jQuery" Resig goes "Erm... what's a Smu?"

Ajax体验,波士顿,2008年。早上5分钟的快速会议。 所有“快速”的演讲者都坐在舞台旁。 Nicole和我宣布smush.it时使用了诸如“今天我们发布了一个名为smushit的工具”之类的东西。 John“ jQuery” Resig说道:“ Erm ...什么是Smu?”

raw ush-hdd_ush死了,万岁live

Tell your friends about this post on Facebook and Twitter

FacebookTwitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/smush-it-is-dead-long-live-smushing/

raw ush-hdd

相关文章:

  • 2021-12-14
  • 2021-04-26
  • 2021-06-20
  • 2021-11-04
  • 2021-07-25
  • 2021-09-13
  • 2021-07-16
猜你喜欢
  • 2021-11-14
  • 2021-11-28
  • 2021-05-27
  • 2022-01-25
  • 2022-12-23
  • 2021-07-06
  • 2021-05-05
相关资源
相似解决方案