I have W3TC active, for page and browser cache, no database and object since I am on a shared server. No problem at all with the latest Yoast 1.4.15 …
I have this ever since under Page Cache’s “Non-Trailing Slash Pages” “
sitemap(_index)?\.xml(\.gz)?
[a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?
I also have this code related to sitemap in .htaccess ever since, I don’t know which plugin put it there, probably W3TC :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(robots\.txt|sitemap(_index)?\.xml(\.gz)?|[a-z0-9_\-]+-sitemap([0-9]+)?\.xml(\.gz)?)
RewriteCond %{REQUEST_FILENAME} \.(css|htc|js|js2|js3|js4|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
RewriteRule .* - [L]
</IfModule>
I minify only css and html in W3TC, I use BWP-Minify to minify js, avoids a lot of headaches with js of various plugins.