Oracle WCS (Fatwire)

Fatwire | Caching | How Fatwire manage cache?


Caching is always a broad topic in any design. Every CMS/Framework provides its own ways to implement cache. I am using Fatwire 7 CMS. Fatwire provide 2 level of caching:

  1. Content Server Cache (CSCache)
  2. Satellite Server Cache (SSCache)

Note: I will use CS and SS for Content Server and Satellite Server.

Let’s have a look how fatwire serve a request:

  • Every time a user (End user) hit a page (A), the request goes to SS
    SS check if the requested page/pagelete is available in its cache. If the requested page/pagelate is available in SS cache, then it servers the requested page back to end user (E,F) otherwise SS request CS to provide it the requested page/pagelete (C)
    CS check if the requested page/pagelete is available in its cache. If the requested page/pagelate is available in CS cache, then it servers the requested page back to SS (D) otherwise CS follow the following steps:

    • CS process the code (Templates/CSElements) to generate the requested page/pagelete.
    • Cache* the page/pagelete on CS
    • Return the output to SS (D)
  • Now, SS cache* the processed page/pagelete and return the complete page back to requested user (E,F)

* Its not necessary that we cache every page/pagelete. If a page is cached but it’s internally calling number of uncached Elements (CSElements/Templates) then the cached page save the call for that element instead of html output. So every time a user request for a page, these uncached elements will got evaluated on CS.

Advertisements

One thought on “Fatwire | Caching | How Fatwire manage cache?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s