-
-
Notifications
You must be signed in to change notification settings - Fork 66
Alter HTML / No conversion mode only, problems and slow with s3 #615
Copy link
Copy link
Open
Description
Hi
I just moved my storage to S3 and handles my webp conversion in a lambda function through cloudfront.
I still use the WebP Express for the Alter HTML part. The problem is that the function uses the "realpath" and a lot of "file_exists".
The file exists makes the site super slow and in my case I am not storing the webp files accessible through wordpress.
realpath dont work with streamwrappers so it will fail and return empty string in PathHelper::getRelDir.
The plugin works as expected for my use case when removing the realpath calls and the file exists. I could create a pull request with a setting for this use case if its interesting.
Is there a plan to use the Alter HTML without touching the files itself?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels