Caching Strategies in V8

While deciding a Caching technique for WebSphere Commerce, there are a few key issues to determine.

  • Which pages ought to be cached
  • Where caching ought to occur
  • Cache full pages or page parts
  • The most effective method to discredit the cached information

Which pages ought to be cached:

Hypothetically, caching ought to occur in the level nearest to the client. As a general rule, different components, for example, security and client particular information may impact the decision of the best place to reserve the substance. To boost the advantage of element storing, components of a page ought to be divided as finely as would be prudent with the goal that they can be reserved freely in various store sections.

Caching outside of WebSphere Application Server might be utilized with bigger databases and sites to enhance execution. Edge Server and the ESI cache module is given WebSphere Application Server to give additional reserving ability. Session data (lang_id, preferred currency_ID, Organization, contract ID, and member group) must be put away in session treats with the end goal reserving should be done on a server outside to WebSphere Application Server.

Cache full pages or page parts:

All Web pages comprise of littler and regularly more straightforward pieces. A case of a page section could be a header, sidebar, footer or an e-Marketing Spot. Breaking a Web page into sections or parts makes all the more storing workable for any page, notwithstanding for customized pages. Parts ought to be intended to boost their reusability.

Caching the whole web page it means that the entire web page is cached as big cache entry which includes the contents from all fragments that have no includes or forwards.This can save the significant amount of application server processing.if we want to cache a page which has the cache sections which are user-dependent, then the output of that cached page will be called as fragment caching. which means the JSP is cached with the sections individually with the dependencies.

Note: Web pages can be cached in different ways like

  • Full page caching technique
  • fragments caching
  • or else even in both the ways will work.

 

One Response

  1. John October 10, 2016

Leave a Reply