Images not working offline

Created on 14 January 2020, over 4 years ago
Updated 10 August 2023, 11 months ago

Does somebody know why not all the images are working offline?
I have made a website with a lot of images. Everything works fine online. But when I go offline in the PWA not all the images are shown.
When I visit a page online in the PWA, and then go offline and visit that page again, all the images are shown.
Thats a problem because I don’t want the visitors to check out all the pages first before the PWA is working offline correctly.

Also when the images are loaded on the page, the Colorbox isn’t working on all the images.
When I use the PWA offline some images are shown in Colorbox correctly, but after the first couple of images in the album I get the error: “This image failed to load”.
This problem isn’t shown at all of the images, some are working correctly.
I really don’t know what could cause this problem.

It seems like there are only between the 10 and 50 images getting cached when I look at the cache storage in the Chrome developer tools. This number changes when I clear the website cache.
I don’t know if the images in the cache storage are really important for the image to show offline, because a lot of images are shown while they aren’t in the cache storage.
I believe there are around 400 images on the website.

Does somebody had the some problem before? Or does somebody know a solution to this problem?

Thanks in advance!

Kind Regards,
Nick Peeters

The website: itseasy.online/sonnemans

đź’¬ Support request
Status

Postponed: needs info

Version

2.0

Component

Other

Created by

🇳🇱Netherlands NickPeeters

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    (Non-security) Bug fixes and new features go into 2.x - so could someone please check, if the issue still exists in 2.x or has been fixed already?
    Also please ensure there are clear steps to reproduce the issue. Perfect would be to have tests showing the issue exists and will be fixed forever then ;) Thank you!

  • 🇩🇪Germany Anybody Porta Westfalica
Production build 0.69.0 2024