Forum Stats

  • 3,837,934 Users
  • 2,262,310 Discussions


Caching image files from the database - JDev 12.2.12

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.


- 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

This discussion has been closed.