W3 Total Cache benefits without using plugin? [closed]

Did you already try adding all the mobile user agents to the “Rejected user agents” list in w3tc? I use this list for this purpose (not created by me and certainly not complete but enough for my purpose): iphone ipod ipad aspen incognito webmate android dream cupcake froyo blackberry9500 blackberry9520 blackberry9530 blackberry9550 blackberry9800 webos s8000 … Read more

W3 Total Cache + S3 + Cloudfront. [closed]

what WordPress/site files normally go into the S3 bucket in order to get optimal use as a CDN? Normally the defaults should suffice i.e., You’d want to check these options under the “General” section: Host attachments Host wp-includes/ files Host theme files Host minified CSS and JS files Host custom files And under “Advanced” section: … Read more

How do I create a link in the WP admin bar that purges all caches (W3 Total Cache)?

You should use wp_nonce_url() to generate the URL with a valid nonce rather than hard-coding one, e.g. here’s the code from w3_total_cache itself that does this: ‘href’ => wp_nonce_url( network_admin_url( ‘admin.php?page=w3tc_dashboard&w3tc_flush_all’ ), ‘w3tc’ ) You could also use a permissions check instead of checking if the user is ID 1, although I appreciate there are … Read more