Jump to content

Webp significantly slows down the website


Recommended Posts

ProcessWire 3.0.165. PHP 7.2, 7.3 and 7.4

Tried webp like this but it slows down the pages for about 10 seconds and more. Tried cache, same result.

<?= $page->images->eq(0)->size(500,300)->webp->url;

 

Link to comment
Share on other sites

Is there anything else that may be the cause for the slow down?

Only have 3.0.179 for tests on hand but just used exactly your code and only the initial load takes a bit longer as the webp needs to be created. Even older version (before 3.0.165) do very well with webp.

Are there any errors or warnings in the logs? Anything else that shouldn't be? Any image or file modules in place?

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...