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 Dec 26 20:33:05 CST 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 Dec 26 20:33:05 CST 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
 
HTTP/1.1 200 OK Date: Thu, 26 Dec 2024 12:33:05 GMT Server: Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 200 OK

OK

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at disty.analog.com.tw Port 80