What is the difference between Static Only and Static + Dynamic caching modes?


By Marc Gaffan
Follow

If you don’t know what caching is, it is recommended that you read this article first.

 

The thumb rule for caching is: the more cached resources on our servers the faster the website will be.

The number of cached resources also directly affects the reduction in bandwidth consumption and in server load. So our goal is always to cache as many static resources as possible.

 

Incapsula has two caching modes: Static Only (previously known as Standard mode) and Static + Dynamic (previously known as Advanced mode).

In the Static Only caching mode, Incapsula will cache only static resources that were explicitly declared as such by the web server. If there is a static resource that is not declared by the web server, it will not be cached even if it is an image or a style sheet.

When a resource is cached in Static Only mode, Incapsula will follow the web server instructions on when to refresh the cached resource.

Incapsula's Static + Dynamic caching mode uses proprietary algorithms to optimize and enhance the standard caching mode.

These algorithms intelligently profile your website’s page behavior and automatically optimize it for the best possible caching rates, while keeping your content fresh.

When enabling the Static + Dynamic caching mode, your website will utilize a state-of-the-art Caching Technology  that can detect and override misguiding HTTP header directives. Once in Static + Dynamic Acceleration mode,  Incapsula will implement a unique heuristics learning mechanism to study and cache dynamic content, while still preserving its freshness and relevancy (if personalized).

The implementation of this learning process will result in a noticeable increase in Caching results, increasing overall effectiveness by 30% and more, depending on just how much dynamic content there is to Cache.

Caching-Advance-Standard.jpg 

 You can always see how caching has improved your website by logging in to your Incapsula account and viewing the performance area of the site’s dashboard.

It is important to note that although Static + Dynamic caching mode might cache resources that change from time to time, a resource will always be refreshed in our cache every few minutes.

 

For further reading, you may visit our blog:

Proprietary Dynamic Content Caching solution

 

For additional information regarding Static +Dynamic, visit this article

Was this article helpful?
17 out of 17 found this helpful
Have more questions? Submit a request

Comments

  • Avatar
    Juan Manuel Garrido

    The advance caching method is working like a charm in our site. We love this feature.

  • Avatar
    Arkady

    Thank you very much for you feedback. 

  • Avatar
    Sunil Mehta

    In sharepoint, how do you define what is static on a site?  95% of our content in static so its of interst to me in setting that up, server side.

  • Avatar
    Panomax Panogist

    Could you explain how to declare resources as static?

    static resources that were explicitly declared as such by the web server

     

  • Avatar
    Samuel Gutierrez

    Please explain in detail how are resources declared as static. 

  • Avatar
    bupaje

    I am wondering how (or if) caching affects affiliate links and advertising that is dynamically served by ad networks?

  • Avatar
    David Kheladze

    I think what's happening with Server declaring content as static is for example if your lets say wordpress post is accessed by browser it requests info from data base and browser shows parsed info. this isn't static in my understanding. So I use local page caching plug-in for wordpress that creates HTML files out of the posts in your wordpress so when browser requests a post it shows the static html replica of your post instead of requesting a post from data base. in this case server declares content as static.

     

    If someone else has better understanding please share.

  • Avatar
    David Kheladze
  • Avatar
    Soumya Mondal

    Thax dude for explaining the static factor :)

  • Avatar
    adrianvender

    Will the Advanced method honor explicit 'no-cache' headers from the server so that a URL will NOT be cached by Incapsula? Example of PHP headers found here:  http://www.hardcode.nl/subcategory_4/article_279-no-cache-headers.htm

  • Avatar
    John Connor

    I still don't know how to declare resources as static.
    I have set the Expires and the Cache headers for my pages using the standard Apache modules, and I am trying Incapsula on a completely static website. Still, I can see only 10% of the requests are cached. Any specific tip apart from the super generic information in the help pages?

  • Avatar
    sun win

    I have set the Expires and the Cache headers for my pages ,Example of PHP headers found here: http://www.320bd.com/year/1/2013 , I can see only 16% of the requests are cached?!

  • Avatar
    Elad Chen

    Hi,

    You can read more about the difference between the two modes here: http://support.incapsula.com/entries/371180-What-is-the-difference-between-standard-and-advanced-caching-

    In case you still have question, please open a support ticket by emailing support@incapsula.com

Powered by Zendesk