aspose file tools*
The moose likes Performance and the fly likes How to cache the page on the server side to improve the performance of application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "How to cache the page on the server side to improve the performance of application "back" button." Watch "How to cache the page on the server side to improve the performance of application "back" button." New topic
Author

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

jack fe
Greenhorn

Joined: Nov 10, 2009
Posts: 16
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.
Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

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.


SCJP 91%, SCWCD 97%
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

This sounds more like what you really want is client-side caching, not server-side caching.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to cache the page on the server side to improve the performance of application "back" button.