I am loving the fast website and you should too, nowadays we have a fast internet in our mobile or desktop and everyone wants a quick browsing on their devices.
If any website unable to load in 4 to 5 seconds in mobile than users avoid to open it or close it. Web site owners try many techniques to boost their website speed.
One major technique is add CDN in websites.
In WordPress blog, you should add CDN but if you have a tight budget, then you may use Google App Engine as free WordPress CDN.
Some people say that nothing in this world is free, I say you just need to know where to look!
Why We Choose Google App Engine as CDN
Google App Engine application use CDN replication automatically.
Users will be served with the geographically closest file. Speeding up the transfer, routing time and latency.
Google App Engine gives you some free quota for one application which is enough to us check below specification,
- 28 free instance hours
- 1Gb database
- 50 000 database read/write/small
- 1GB Outgoing Bandwidth
- 1GB Incoming Bandwidth
- 100 email
- 5 Million page views / month
For WordPress it’s not enough to have only one application, we are creating 3 to 4 applications for our WordPress CDN.
CDN best practice is to distribute your application between 3 to 4 domains. Our application satisfy this need.
How to Create a WordPress CDN
1.1. Go to appengine.google.com and sign-in using your Google Account.
1.2. Click the “Create an Application” button. Since this is your first time, Google will send a verification code via SMS to your mobile phone number. Type the code and you’re all set to create apps with Google App Engine.
1.3. Pick an Application Identifier and it becomes the sub-domain* of your WordPress CDN. Give your app a title (say techelexforumcdn1), set the Authentication Option as “Open to all users”, agree to the terms and create the application.
1.4. OK, now that we have reserved the APP ID, it’s time to create and upload the WordPress CDN application to Google App Engine. Go to python.org, download the 2.7 Installer and install Python. If you are on Mac, Python 2.7 is already installed on your computer.
1.5. Go to code.google.com, download the Google App Engine SDK for Python and follow the wizard to install the SDK on your computer. When the installation wizard has finished, click the “Run Launcher” button to open the App Engine Program.
Preferences inside the Google App Engine Launcher program from the desktop and set the correct values see screenshot below for the Python Path, App Engine SDK and the Text Editor (set this is as WordPad or write.exe and not notepad++.exe)
1.7. Download this SymPullCDN Zip File and extract it to your desktop. The zip file contains a couple of folders, YAML, and files that you can view inside WordPad.You will have to change two files: main.py and app.yaml.
1.8. Open main.py in your favorite text editor and find this line:
Origin = âhttp://replace*me/â and change it to the domain name you would like to use as your like Origin = http://www.techelex.org/
1.9. open app.yaml and find the following line:
Application: *replace*me* replace it with identifier which is choose in step 1.3
File – >
Add Existing Application under the Google App Launcher program and browse to the folder that contain the index.yaml and other files that you extracted in Step 1.7. Once the project is added to App Engine, select the project and click Edit to replace
techelexforumcdn1 with your App ID. Save and close the file.
2.1. Click Deploy, enter your Google account credentials and, within a minute or two, your WordPress CDN will be deployed and become ready for use. The URL (or web address) of your new WordPress CDN will be
yourappid with your App Engine Identifier).
The sub-domain or the App ID will uniquely identify your App Engine application. For this example, we’ll use
techelexforumcdn1 as the Application Identifier though you are free to choose any other unique name.
How to Add CDN in WordPress
I used WP Super Cache Plugin for adding CDN in WordPress. Go to CDN tab in WP Super Cache Setting and tick
Enable CDN Support and in
Off-site URL add
http://youridentifier.appspot.com. Check below screen shot.
For W3 Total Cache user use Generic Mirror in CDN setting.
Note: Using above tutorial create 2 or 3 other application and used as more CNAME for better distribution of your content and increase parallelism.
Are you use this Google App Engine for speed up your WordPress blog? Please share your experience below.