Tags » W3 Total Cache

WordPress Plugins for 2015 . . . Successful Social Media Tip of the Day

Now that most everyone cares about social media and improving their performance on it, WordPress has become the goto platform for building your own Blog or Website. 616 more words

Social Media Tips

How I got W3 Total Cache and WPTouch to co-exist

Years ago, I was ahead of the new media curve. Now, I’m not. I confess that I did not have a mobile-friendly theme for SportsMyriad.com until Google sent me the notice that I needed to do that or my site would be buried under 10,000,000 porn sites or something like that. 230 more words

Web

Introducing Cache Buddy: a companion for your WordPress page caching solution

WordPress is, by default, completely dynamic. On every page load, a bunch of “work” happens. Cookies are read. A database is queried. Content is transformed. All of this makes WordPress very powerful and flexible. 917 more words

WordPress

Last updated on June 10th, 2014 by Editorial Staff ( wpbigenner.com)
We often get compliments from users on how fast our site loads. Everyone wants to know the secret behind a fast loading WordPress site. 2,228 more words

W3 Total Cache

5 Must Have Free WordPress Plugins for WordPress Website

WordPress is undoubtedly one of the best publishing platforms available on the web today. The best part about WordPress -its ability to customize websites through plugins. 563 more words

Niyaz - Tech

10 WordPress Plugins that Are Worth all the Fuss

If you intend to be just an average blogger, you can go with any of the numerous blogging platforms available on the Internet. However, if you wish to be a webmaster, there aren’t a whole lot of reasons to look beyond WordPress. 1,196 more words

Web Development

WordPress-Nginx configuration with W3 Total Cache


server {
       server_name example.com www.example.com; 
    
       access_log /var/log/nginx/example.com.access.log; 
       error_log /var/log/nginx/example.com.error.log debug; 
    
       root /var/www/example.com/htdocs;
       index index.php; 

        set $cache_uri $request_uri;

        # POST requests and urls with a query string should always go to PHP
	if ($request_method = POST) {
		set $cache_uri 'null cache';
	}   
	if ($query_string != "") {
		set $cache_uri 'null cache';
	}   

        # Don't cache uris containing the following segments
	if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|+-sitemap(+)?.xml)") {
		set $cache_uri 'null cache';
	}   

	# Don't use the cache for logged in users or recent commenters
	if ($http_cookie ~* "comment_author|wordpress_+|wp-postpass|wordpress_logged_in") {
		set $cache_uri 'null cache';
	}

# Use cached or actual file if they exists, otherwise pass request to WordPress
# W3 Total cache option: Page Cache – Disk Enhanced
	location / {
		try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args ;
	}

        location ~ ^/wp-content/cache/minify/[^/]+/(.*)$ {
                try_files $uri /wp-content/plugins/w3-total-cache/pub/minify.php?file=$1;
        }    

	location = /favicon.ico { log_not_found off; access_log off; }
	location = /robots.txt  { log_not_found off; access_log off; }

	location ~ .php$ {
		try_files $uri /index.php; 
		include fastcgi_params;
                fastcgi_pass unix:/var/run/php5-fpm.sock;
	}

	# Cache static files for as long as possible
	location ~* .(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|rss|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
               expires max; log_not_found off; access_log off;
	}
… 15 more words
Programming