Compress Zlib with a screw path to files in Wordpress Multisite

I am running a tiered network on Wordpress 3.6 with the W3 Super Cache plugin to improve performance. I'm on a virtual dedicated server, but the Wordpress toolbar started loading so painfully slowly, it was painful.

So, I did a quick search and found this "handy" WPMU tip . The author suggested that using zlib compression would speed up the x3 boot time. So I took the advice and put this snippet in the title of my topic:

 <?php ini_set('zlib.output_compression', 'On'); ini_set('zlib.output_compression_level', '1′); ?> 

Instead of “instantly seeing a huge performance improvement”, it brought something to blogs.dir , and now all downloads and media are broken links. I deleted the above PHP snippet, but the links are still dead. I looked at .htaccess and wp-config and saw nothing from zlib.

Can someone help me find a solution to this problem?

+6
source share
1 answer

Try to clear the W3 Super Cache files, you can see the outdated cached copy. I am not familiar with this plugin, I use W3TC, but there must be some kind of "transparent cache". Otherwise, turn it off and see what happens.

You can also try going to the permalink settings and save them - this will overwrite your .htaccess file for you - if your caching plugin does not interfere.

0
source

Source: https://habr.com/ru/post/956747/


All Articles