menu

Tipe

Tipe Community: Generate an API-first CMS from a GraphQL schema with offline prototyping and an inline editor

Channels
Team

all images not loading

August 30, 2018 at 5:35pm

all images not loading

August 30, 2018 at 5:35pm

on my machine everything looks fine with the images. My client is using safari and seeing this below. Any idea of what is causing this?


August 30, 2018 at 5:39pm

Image type has been labeled as webp for the images not showing up

  • reply
  • like

Yeah sorry about that. It was a problem with Cloudflare caching our dynamic images. You can open inspector and clear the browser cache or add ?auto=format to the urls

like-fill
1
  • reply
  • like

do you happen to know when this started?

  • reply
  • like

August 31, 2018 at 4:20pm

yeah, it started August 29th 9pm-August 30th 11:30am PST which effected anyone that wasn't using Chrome

  • reply
  • like

September 11, 2018 at 5:31pm

Hey Patrick, we had some issues with chrome also missing a few images during this time. Was chrome affected by this issue as well? Trying to understand why certain images went missing from my site.

  • reply
  • like

September 12, 2018 at 6:04pm

yeah the conflict was on our cdn. we dynamically return a webp version of the image if the client "Accept"s webpackp format. The problem was that Cloudflare ended up caching the images before we run the check. If Safari users view an image it will be cached for that url. if a Chrome user requests the url then it will cache the webp version. This is where the problem happened has the Cloudflare cache wasn't checking some of the other params (headers). With that being said this shouldn't affect Chrome users since they can view both webp and normal images. This could also be caused by the compression type when Cloudflare was caching the images or a mismatch of headers during that time

  • reply
  • like