• 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 » Cache Plugin and Leverage Browser Caching, Set Expires Header CDN Issue

By Abhishek Ghosh February 25, 2012 6:49 am Updated on February 25, 2012

Cache Plugin and Leverage Browser Caching, Set Expires Header CDN Issue

Advertisement

Our tutorials on setup of W3 Total Cache Plugin and WP Super Cache Plugin are quite well known Cache Plugin guides and Frederick Townes, the key developer of W3 Total Cache Plugin has mentioned us in official note on WordPress Repository. Many thanks to Frederick and we have some responsibilities too, for an issue with CDN and both W3 Total Cache plugin and WP Super Cache plugin with CDN Sync Tool.

The user audience of W3 Total Cache plugin and WP Super Cache Plugin are not the same. W3 Total Cache plugin with proper settings can work brilliantly even on a shared server and almost all traditional servers, where as WP Super Cache plugin on Rackspace Cloud Sites with manual tweaks performs better. We can not expect that all users are either using Rackspace Cloud Sites or even a small percentage are doing so, not all users can tweak manually. An advanced user can test both and this article is for both the Plugins.

 

What is the Cache Plugin issue with Cache Plugin and Leverage Browser Caching, Set Expires Header

 

The problem on webpagetest.org is this :

Advertisement

---

 

Cache Plugin and Leverage Browser Caching, Set Expires Header CDN Issue

 

And the reason you are seeing the F is here :

 

Cache Plugin

 

We are using Rackspace Cloud Files / Akamai CDN and it is a officially known fact that we can not set the expire header to more than 72 hours via control panel. This can be increased to 50 years with API. So quite obviously, it will seem to you that if W3 Total Cache plugin or WP Supercache Plugin + CDN Sync Tool changes the API, it will change the header.

 

No Cache Plugin can solve the problem

 

So apparently, W3 Total Cache plugin or CDN Snyc Tool (for WP super Cache plugin) can change their API call and you will get a nice A for leveraged Browser Caching and far set Expires Header. Come on. That is not so easy. I have worked for almost 3 months just to change it.  CDN Snyc Tool uses the API. So W3 Total Cache plugin does. There are two blogs who claims that they have successfully changed it. One of them are using Rackspace Cloud Files. You can test it, simply go to this question posted on WordPress W3 Total Cache Plugin support page and you will get the so called solution urls. At the time when we have tested, one blog uses no CDN and another uses Rackspace Cloud Files – but that page’s performance on webpagetest.org is exactly the same like us – F grade for Leverage Browser Caching, Set Expires Header. So either the person has not used his own method with that Cache Plugin he is using or it has failed.

 

We have tested over 100 websites who are using Rackspace Cloud Files or Akamai directly (like microsoft.com), Edge Cast (like gravatar.com), Google’s CDN, Page Speed specialist Sajal Kayan’s own blog (sajalkayan.com) – all have the same issue.

 

Inference

 

The highest time of expire header is 2.7 days for our website (Rackspace Cloud Files / Akamai CDN). From Control Panel it is set to 72 hours (that is the maximum). We can see the minimum expire is as small as 3 seconds. Now understand a big thing – if you change (somehow via API) it to 1 year, will this 3 seconds expire will change ? No. The highest will be of 1 year expire header but the minimum will be just few seconds, may be in 2 days. The range is now 1 second to 72 hours, that will be  1 second to 1 year. The range will change but the result will not much change simply because there will be some files with very low expire header.

 

What can be the solution

 

Look at this result from webpagetest.org. It is of us :

 

Rackspace cloud files

 

So, if we can change the “Failed” to our Maximum (2.4 – 2.7 days), it should show “WARNING” not “Failed”. This is happening because on the CDN the Edge servers automatically determine what should be the expire header – the longest set or the minimum. But we can not control via API. This automated calculation can not be changed. Instead, we have to think – what made those files to get the maximum possible TTL. We honestly found no logic after testing our 10+ domains with the same settings.

 

Signature Tagged With leverage browser caching plugins , leverage browser caching wp super cache , set leverage browser caching in wp super cache , wp super cache leverage browser caching

This Article Has Been Shared 978 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 Cache Plugin and Leverage Browser Caching, Set Expires Header CDN Issue

  • YouTube Tips : Embed Playlist, YouTube’s audio, YouTube HTML5 Player

    Here are YouTube Tips to Embed YouTube Playlist, YouTube’s audio, YouTube HTML5 Player in any webpage or WordPress page or posts. Let us see how we can do them.

  • Configuring WP Super Cache With Origin Pull or Origin Push CDN

    Configuring WP Super Cache with a CDN is a bit tricky but if properly done if works great. In this tutorial, we will show to configure WP Super Cache with both Origin Pull and Origin Push CDN.

  • Scalable MySQL Database for WordPress with Rackspace Cloud

    Scalable MySQL Database for WordPress is very easy to create as Rackspace allows Cloud Database,so does Amazon. Here is a guide for high performance WordPress.

  • Bootstrap Genesis Child Theme : Do it Yourself Guide

    Bootstrap Genesis Child Theme can easily be created by modifying the default CSS of existing Eleven40 Child Theme plus some custom templates. Here is how.

  • Object Meta Tags for Facebook Open Graph Protocol

    Object Meta Tags for Facebook Open Graph Protocol are represented by HTML markup on a particular webpage which uniquely defines each object. Here are standards. There are three parts – Creating Objects, Reading Objects and Updating Objects. We can implement Open Graph Object Meta Tags with widely known Pointers.   Object Meta Tags for Facebook […]

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 is an Automatic Ethanol Fireplace February 8, 2023
  • Disadvantages of Cloud-Native Computing February 7, 2023
  • Projector Screen Basics February 6, 2023
  • What is Configuration Management February 5, 2023
  • What is ChatGPT? February 3, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Cache Plugin and Leverage Browser Caching, Set Expires Header CDN Issue," in The Customize Windows, February 25, 2012, February 9, 2023, https://thecustomizewindows.com/2012/02/cache-plugin-and-leverage-browser-caching-set-expires-header-cdn-issue/.

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