• Resolved juanxcursed

    (@juanxcursed)


    Hi guys.
    I’m trying to setup along side with WP Stateless to make the images available on a GCP Bucket for better performance and caching. But I didn’t make to make work properly.
    Sometime the webp image is created, some times don’t, but never is uploaded to the bucket. Except on manual trigger.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @juanxcursed,

    Thanks for your message.

    How do you manuall trigger? Apart from uploading files, is everything working properly?

    Best,
    Mateusz

    Thread Starter juanxcursed

    (@juanxcursed)

    Hi @mateuszgbiorczyk thanks for the quick response.

    I access:
    First I use the “Regenerate Images” button after the images are processed (which is a lots of images and that take some time) I go to Media > Stateless Settings > Sync and then run the synchronization.
    My WP Stateless is set to “Ephemeral”
    “Store and serve media files with Google Cloud Storage only. Media files are not stored locally, but local storage is used temporarily for processing and is required for certain compatibilities, generating thumbnails for PDF documents.”
    By that and looking at the code, it seems like it waits for every hook to be executed, then uploads the file to the bucket.

    By that, when the files are generated on upload, the hook should upload then, but that is not working.

    PS: I’m using CF Free, so the images are served by the bucket, not CF.

    • This reply was modified 2 years, 3 months ago by juanxcursed.
    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    I understand you @juanxcursed. In this situation that plugin would have to do an integration with my plugin. I checked with them in the code and they have support with some other image optimization plugins. For my part, there is nothing else I can do. Please contact WP-Stateless technical support, let them contact me and we will try to do something about it together.

    For Cloudflare Free it works like this because these are Cloudflare restrictions on the free plan. These are limitations of Cloudflare, and you can read more about it here. The point is that the “Vary for images” option is not available for Cloudflare free. This is plug-independent.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to setup with WP Stateless’ is closed to new replies.