I have the exact same question. I don’t remember it being set up this way before either. I think it’s new in 0.9.2.4. I’m concerned because this seems to be breaking a measure of compatibility with WordPress multisite. I have dozens of sites set up and I don’t want think I need all this multiple sets of code in my .htaccess file.
If you have lots of sites that does make for a lot of additional code, but the up side is that you no longer have to change the page cache settings for every single site (so they’re all identical) for it to work. I recently changed the settings for one of my sites and all I had to do was replace the page cache core code for that one site.
@robnalexpress
i’ve seen your orientation in other threads, but would like to confirm that this stands:
– all MS domains must have W3 running?
– and with the same configuration?
thanks!
@brasofilo-
It has been my experience that the sites with w3tc enabled do not perform well unless it is enabled on all sites in the network.
With the latest version, the configuration, at least for page cache, does not seem to need to be the same since the plugin creates separate page cache core in htaccess. However, the other settings may need to be identical on all sites for it to work properly. The only way to know for sure is to experiment with different settings.
ok, robanalexpress,
but then, what if i have a site in development?
shall i turn W3 on and leave it in preview mode?
and while we are at it, do you know why this block of commands sometimes appears, sometimes not… in the install screen, within the rewrite rules Browser Cache block…
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
[..many other AddTypes..]
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
[..many other Expires..]
</IfModule>
thanks again