July 2017

压缩jpg与png图片文件 imageapi_optimize jpegtran optipng

http://www.ijg.org/files/

下载 jpegsrN.tar.gz

tar xfz jpegsrN.tar.gz

cd jpegsr-N

make

make install

which jpegtran
得到bin完整路径: /usr/local/bin/jpegtran


https://sourceforge.net/projects/optipng/
下载 optipng.0.7.6.tar.gz

tar optipng-0.7.6.tar.gz

cd optipng-0.7.6
make
make install

which optipng

uuid 取代 guid 作为产品的feeds导入唯一标志

drush en uuid -y
drush en commerce_uuid -y

cd sites/all/modules/uuid/

wget https://www.drupal.org/files/issues/include_uuid_mapper_for-1800730-23.p...

patch -p1 < include_uuid_mapper_for-1800730-23.patch


note: patch 让feeds 支持添加 uuid 的map