• Resolved lovelyayo

    (@lovelyayo)


    For some time now, I have been having issues with Google cache as is not rendering images served through amp. Is there any way I could turn off cache for images pending the time they release “Off Cache AMP”?

    It has taken so much of my time, yet I am still unable to resolve it.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi @lovelyayo,

    I understand your frustration although this isn’t something we can solve on the AMP plugin side. The images you’re using have responsive images defined (srcset images) and not all the variations of your images exist on your site. We’ve looked into this and open a Github issue which the AMP team investigated.

    I’ve also just responded to your previously created support topic.

    It may be worth trying to create a new post with new images. Check to ensure that all image variations once created remain. Check also to ensure there are no modifications made at Cloudflare level.

    I’ll close this support topic although feel free to respond on your existing open thread.

    Thread Starter lovelyayo

    (@lovelyayo)

    I have done all that was suggested. I even deleted images on one of the posts and uploaded another. Same thing. I also tested the regenerate thumbnail, still the same.

    Meanwhile, I have disabled Cloudflare for now.

    This is the data from the newly uploaded post, https://ibb.co/3RLkHqP

    Thanks for sharing. Can you create a new post now and we can check once it’s indexed (with Cloudflare remaining deactivated until indexed?)

    Thread Starter lovelyayo

    (@lovelyayo)

    I have posted 2 new articles.

    Thread Starter lovelyayo

    (@lovelyayo)

    Update: articles have been indexed. Still the same issue.

    site:gistfocus.com microfinance banks
    site:gistfocus.com dstv offices in nigeria

    Thanks for sharing an update. You are correct that the same problem exists, the image variations do not existing in your image gallery, see summary below:

    When you check your non AMP sites source code for one of those new URLs, for the related image there are additional attributes which look to be coming from a plugin. This same plugin, CDN or configuration could be impacting your AMP URLs image srcsets.

    I can’t be sure what is causing these image variations to be removed, but they don’t exist in your wp-content/uploads folder, this is the issue. The AMP plugin isn’t removing these images.

    If you’re unable to determine what’s occurring you can always disable image srcsets, although this isn’t something I would recommend unless you optimize images before uploading. There are plugins that disable image srcsets.

    Thread Starter lovelyayo

    (@lovelyayo)

    How do I disable image srcsets? @jamesosborne

    If you perform a search in the plugin repository you’ll find plugins such as “Disable Responsive Images Complete” or “Disable Responsive Images“.

    After enabling one of them check do your images feature srcsets by reviewing your sites source code. You can then check your next post when served from AMP Cache.

    Thread Starter lovelyayo

    (@lovelyayo)

    Okay thanks @jamesosborne

    I will give it a try

    Thread Starter lovelyayo

    (@lovelyayo)

    Update: Nothing is working.

    I hope the next update will allow users to be able to turn off google cache. I have checked similar issues and I was amazed to see that several people are facing this issue and no fix has been provided.

    @lovelyayo We do have an open GitHub in relation to opting out of AMP cache. We can’t make any changes to the plugin until this is a possibility on the AMP Projects side, but you can however keep up to date with progress by subscribing to the below:
    https://github.com/ampproject/amp-wp/issues/5378

    Note that I didn’t find other support topics or GitHub issues relating to the same issue as you’re encountering. The AMP team did investigate, as did I. In your case not all srcset images exist on your host server, as described in the support topic. As you suggested however any option to opt out of AMP would resolve this issue. In the meantime I would check your hosting and plugin configurations, or attempt removing srcset images while testing.

    Thread Starter lovelyayo

    (@lovelyayo)

    Alright.

    I have subscribed to the post. Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Images not showing on google cache’ is closed to new replies.