Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Caching image files from the database - JDev 12.2.12

LCabacoMar 21 2017

Hello guys,

I'm trying to figure out how to cache image files from the database, this is the scenario:

- I have a webservice that returns a list of articles (Name, price, stock,...image).

As you can imagine, this was really slow since the images are within the request everytime i call the service.

I tried to fix this by creating a second service that returns the image by passing the article ID, and then

use that service request on the image source.

Problem:

- How can i "dynamically" set the service URL ? It can be different from the client page.

- Images don't seem to be caching at all, although they are only requested on the image render.

Any ideas on go through this problem?

Best regards,

Luís Cabaço

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 18 2017
Added on Mar 21 2017
0 comments
164 views