it does for autoptimized CSS/JS-files if you’re on Apache (by virtue of a .htaccess file AO writes in wp-content/cache/autoptimize/.htaccess) or when you disable “static file delivery” (so you have autoptimize_xyz.php instead of autoptimize_xyz.css or .js), in which case the PHP-code sets the relevant headers.
hope this explains,
frank
Hi thanks a lot for your reply. But I hosted my website in Microsoft azure. In that case , will this works fine. My website is SibeeshPassion.Com.
yes, if you disable static file delivery, switching to dynamic php-files π
Hi, can you please help me find out that option in the settings? I could not find any option like “static file delivery”.
And I have already installed Wp Super Cache in my site. So is there any conflict with this plugin? Please reply me. Thanks in advance.
sorry for the delay in my response, I don’t seem to get mails when this thread gets updated.
be sure to have advanced options visible and then scroll down to the last one.
wp super cache & AO are a match made in heaven (I use WPSC as well).
have fun,
frank
I have disabled the option “Save aggregated script/css as static files?” .But still Google page insights suggest me to do browser leverage caching. What else should I need to do? Should I enable “Inline all CSS?”. Will it improve my page speed? Please reply. Thanks in advance.
But still Google page insights suggest me to do browser leverage caching.
clearly the delivery as dynamic files only impacts the “browser caching” for autoptimized files, not for your images, fonts or non-aggregated CSS/JS.
“inline all CSS” can help (it makes CSS non-render-blocking), but I only advise it for sites with little CSS to avoid your HTML becoming to big. else “inline&defer” migth be a better option (but it’s more difficult to get right).
hope this helps,
frank
Hi
I also have this leverage browser caching warning from google. All warning are from jpg png files (expiration not specified) and http://www.google-analytics.com/analytics.js (2 hours). I tried unchecking static delivery didnt work. I downloaded wp super cache. What do u recommend? I ve a pagespeed 44 google says. Best Regards
autoptimize optimizes local CSS & JS, so for images & external css/js you’ll have to consider other solutions I’m afraid.
frank