Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Tourista on
Hi,
When I flush my cache, lots of my images have 404 links. It's really boring, the only way I found is to restore a back up.
for example: in this page https://www.maviesansgluten.bio/nous-trouver
Before I flused all caches, all 4 images where displayed. Now only one is.
How can I fix this ?
Comments
=-=
All four images are there now. Paths looks like. Images are reachable. I don't see an immediate reason why clearing cache would 404 the images.
It does, especially if I
It does, especially if I flush caches 2 times at short intervals.
https://www.maviesansgluten.bio/achat-produits-sans-gluten
Before flush, all images were displayed. After flush, some images are not anymore.
Broken image :
Working image :
This code comes from ckeditor, I wrote it but I've never added ".pagespeed.ic.xxxxx.webp" by myself.
I often get this 404 error when an image is displayed from a View + image style.
It seems that after a flush,
It seems that after a flush, the url of the image are changed and get a "x" before the file name. It randomly brakes links.
This url
becomes after flush :