• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to cache the page on the server side to improve the performance of application "back" button.

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Our application embeds SAS generated html String with Java generated header and footer for the application report.
In our report pages, there are "Back" buttons which use history.back() to
call the same process on the server.
Clients can tolerate waiting a long time after pressing the "generate report" button for the report,
but cannot tolerate the "Back" button taking the same time as "generate report" button.
So I wander if the application can cache the SAS returned String or cache the whole report page
Some where only for "Back" button being pressed.
I do not want cache the html String in Session because I do not know how big the page is returned
by SAS.
 
Ranch Hand
Posts: 88
Spring Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are using a product of oracle called WebCache for such purposes. It does comprehensive caching by making cache of parts of web page.
Besides, the very basic idea of end user hitting a browser back button doesn't appeals much. I think there should be a back link/button on web page which should be used by end user. Also, upon this link you can actually do some caching via some logic in code.
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This sounds more like what you really want is client-side caching, not server-side caching.
 
reply
    Bookmark Topic Watch Topic
  • New Topic