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: Tue Sep 10 06:22:59 GMT 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

 

The request to this fragment failed.

 

container border
container space

 

 

 

 

 

container space
container border
   Demo Source Files
container space

 

 

container border
container space

 


  bottom ski image
space
space