OsCache Newbie question
Ashok Madhavan <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <[email protected]> |
hi all, I have 2 or 3 dynamically generated images in my jsp page and i want them to be cached. I have statrted using oscache. I tried using the <cache:cache key="myChartID" scope="application"> <embed ..... > </cache:cache> It does cache the image but the problem is the request to the server via the '<embed ...>' is also executed. In this case though the image is cached, the database query is executed. This is precisely the reason why i want to cache the image as the image generation is costly. Should i use the <cache:cache> tag or the CacheFilter for this. I would appreciate any help in this matter. Regards Ashok Madhavan ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn