tab space tab space
  tab space tab space
Is Web Cache Working?
space

This demo is designed to verify that your Web Cache installation is working properly. Features highlighted in this demo include:

  • Edge Side Includes (ESI) page assembly
  • Caching
  • Expiration

This template page, jesi_template.jsp, was created using Edge Side Includes for Java (JESI) and was generated at the following date and time: Thu Nov 28 10:38:19 AST 2024.

The included fragment, jesi_fragment.jsp, is shown in the khaki-colored box on the right.



About this Demo
space

When jesi_template.jsp executes, the application server uses the JESI custom tag library to convert JESI tags to ESI tags before returning the ESI-encoded HTML output to Web Cache. Web Cache then processes the ESI markup in the HTML page and fetches the fragment, jesi_fragment.jsp, from the application server. The fragment content can be seen in the khaki-colored box at the top right. After retrieving the fragment, Web Cache sends the fully assembled HTML page (stripped of ESI tags) to the browser.

The template page is cached and expires a minute later. The fragment content is not cached and is refreshed each time the page is requested. By clicking the Reload or Refresh button in your browser, you can witness the caching policies in action. While the timestamp for the fragment changes with each reload, the timestamp for the template changes only once every minute.


Example ESI template page containing ESI fragments and their expiration policies (TTL, or time-to-live)

The use of ESI and page fragment caching as demonstrated on this page allows you to build highly scalable Web applications while serving customized content to your users.

   
container space
container border
   LogOn Image ESI Fragment
container space

 

This is the included jesi_fragment.jsp content. This fragment was generated at the following date and time: Thu Nov 28 10:38:19 AST 2024.

Clicking your browser's Refresh or Reload button will cause this non-cached fragment to be regenerated by the application server.

The rest of the page will be served from the cache until the page template expires. (The template expires a minute after cache entry.)

 

container border
container space

 

 

 

 

 

container space
container border
   Demo Source Files
container space

 

 

container border
container space

 


  bottom ski image
space
space