• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » W3 Total Cache With SSL for Nginx Server

By Abhishek Ghosh September 1, 2014 8:09 am Updated on September 1, 2014

W3 Total Cache With SSL for Nginx Server

Advertisement

W3 Total Cache With SSL for Nginx Server, thats on Rackspace Cloud with PHP5-FPM – here are some tips to work with this complex setup keeping everything fine. It is not that easy unlike Apache2, it is not that difficult too. After SSL Grade Optimization, this part possibly is the last work for your WordPress setup. Google unlikely to penalize a good graded website with HTTPS (HTTP is fully different matter, the protocol is different), yet we must make our websites faster enough allow smooth crawling.

 

W3 Total Cache With SSL for Nginx Server : Work Manually Via SSH

 

If you have followed this kind of guide to Install WordPress with Nginx on Rackspace Cloud Server or something closer you read somewhere, that is kept everything including the file permission, ownership to fully default values, W3 Total Cache’s grandfather can not write on the files needed some changes. You should manually add via nano or vi text editor over ssh. Two files you will require to change on latest Debian and Ubuntu 14.04 are :

Vim
1
2
/usr/share/nginx/html
/etc/nginx/sites-available/default

But you need to change the path from Performance > General Settings page :

Advertisement

---

W3 Total Cache With SSL for Nginx Server

W3 Total Cache will deliver you the needed changes via kind of Ajax based messages like we get the errors. All are related to this file :

Vim
1
/etc/nginx/sites-available/default

Your Nginx main config file. So every time during initial setup, not only you’ll need to add and save but also need to do config test :

Vim
1
nginx -t

and reload :

Vim
1
service nginx reload

 

W3 Total Cache With SSL for Nginx Server : Whats to Keep ON and Off for Debugging

 

W3 Total Cache can make the setup slowest possible with SSL. Mild caching should be done. The reason to use is to use the CDN, get a better First Byte Time etc. So, initially only keep these on :

Page cache (Disk Enhanced)
Database Cache (Disk) [[ Only if a separate server is not used. There is almost no need with Innodb… ]]
Object Cache (Disk)
Browser Cache

First test with these. Settings should go under main server { block or location block (does not matter for one domain setup). Test with both Webpagetest and Tools.Pingdom. Browser cache might require debugging. We are using PHP in a different way versus Apache2, we need some manual work like :

Vim
1
2
3
4
5
6
set $cache_uri $request_uri;
 
# POST requests directly delivers PHP pages
if ($request_method = POST) {
set $cache_uri 'null cache';
}  

Save time by making the server to check if really cache exists :

Vim
1
2
3
4
5
6
7
8
9
location / {
try_files /wp-content/cache/page_enhanced/${host}${cache_uri}_index.html $uri $uri/ /index.php?$args ;
}
<pre>
 
Set expires to max (25 years) :
 
<pre>
               expires max; log_not_found off; access_log off;

Matching with this, CDN should have a TTL of 50 years ( Rackspace Cloud Files or Akamai ) and DNS have a TTL of 50 years ( Rackspace Cloud DNS )

As we are using Nginx with PHP5-FPM on Rackspace’s high end server, serving as Page cache or without has only impact on TTFB. As there is enough chance to get 500 error pages, clear browser cache and manually test for SSL https logo on address bar.

You will configure Minify and CDN later. Both are quite painful as some files usually need to be excluded.

Tagged With w3 total cache nginx optimal settings , W3 Total Cache Ssl CDN

This Article Has Been Shared 590 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to W3 Total Cache With SSL for Nginx Server

  • OpenStack Swift : Getting Started From Zero

    OpenStack Swift guide provides you basic set up idea of virtual machine for own Swift development. We have written this guide for the starters who has no idea.

  • Installing Zentyal on Rackspace Cloud Server : Getting Started

    Installing Zentyal on Rackspace Cloud Server will need a Ubuntu Server and the basic knowledge which will discuss.Zentyal is Linux server for running on Ubuntu.

  • SaaS : Everything You Wanted To Know

    SaaS or Software as a Service is designed by the architecture to be used by the consumer. SaaS is the model oCloud which the general users mostly know to exist.

  • Cloud Computing Grown as There Was Real Demand From The Customers

    Cloud Computing grown as there was a clear cut demand from the consumer. Most users who cares for quality, actually went mad with the traditional web hosts. The crap graphics of cPanel, increasing bill for Virtual Private Server and Dedicated server, “your problem you will solve” type of mentality, usage of worst possible hardwares, all […]

  • WordPress, Joomla, Magento : Which Performs Better on Cloud?

    We have lot of Content Management Systems like WordPress, Joomla, Magento. Have you thought, which performs better on Cloud Platform?

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "W3 Total Cache With SSL for Nginx Server," in The Customize Windows, September 1, 2014, March 31, 2023, https://thecustomizewindows.com/2014/09/w3-total-cache-with-ssl-for-nginx-server/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT