What do you want the code to do?
Have you profiled the code to see where the time is going?

A quick look at the code shows
��- Paintings does one web get
��- each Painting does two more web gets
���� ! and the first of those seems to be pretty pointless,
�������� as it refetches an object that Paintings already fetched
�������� and just looked at.



On Sun, 3 Jan 2021 at 01:16, Roelof Wobben via Pharo-users <pharo-users@lists.pharo.org> wrote:
Hello,

I have now this code : https://github.com/RoelofWobben/Rijksmuseam

but it seems to be slow.

Can anyone help me with a way I can use a sort of cache so the page
looks first at the cache if a image is there .
If so, take the image from there , if not , ask the api for the url of
the image.

Roelof