ھي پلگ ان WordPress جي جديد 3 وڏين رليزز سان آزمايو نه ويو آھي. اهو ٿي سگهي ٿو وڌيڪ برقرار يا سپورٽ نه ٿي سگهي ۽ ٿي سگهي ٿو مطابقت جا مسئلا جڏهن ورڈپریس جي وڌيڪ تازي ورزن سان استعمال ڪيو وڃي.

Minify

وضاحت

Similar to what we use on eMusic – this software is still experimental, but take a look!

Automagically concatenates JS and CSS files that are output in wp_head() and wp_footer() – stores / serves them from Memcached (if installed) or Database. In a load-balanced environment, the generation of flat files can be expensive and hard to distribute. Minify takes advantage of Memcached and Site Options / Transients to do the work once and share it among all servers in your cluster. File names are dynamically-generated to allow cache-busting of a CDN like Akamai that doesn’t always cache-bust by query string.

New .htaccess rule!
RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$4&incr=$3&site=$1 [L]

انسٽاليشن

You MUST add this rewrite rule to your .htaccess file or httpd.conf file and then restart your server:
RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$4&incr=$3&site=$1 [L]

You need to install Memcached on your servers and use Ryan’s WP Object Cache backend in WordPress:
https://wordpress.org/extend/plugins/memcached/

If you don’t want to use Memcached:
1) you’re weird
2) all of the action will happen in the database

جائزا

14 جنوري 2017
I am pleased with the functionality of the plugin. Thanks for everything.
جمع: سڀ 3 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“Minify” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

ترجمو ڪريو “Minify” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

0.1

  • Initial release

0.1.1

  • Added a missing semicolon, props Robert

0.2

  • change your .htaccess rule to: RewriteRule ^([_0-9a-zA-Z-]+)?/?wp-content/cache/minify-(.+)-(.*).(css|js)$ /wp-content/plugins/minify/make.php?hash=$2&type=$4&incr=$3&site=$1 [L]