Mailinglist Archive: opensuse (908 mails)

< Previous Next >
Re: [opensuse] apache 2.4 performance issue / processwire.
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 08 Jun 2016 15:35:15 +0200
  • Message-id: <nj96uj$oit$1@saturn.local.net>
Anton Aylward wrote:

On 06/08/2016 07:11 AM, Carlos E. R. wrote:
Some of the graphics there (png, jpeg) also seem to be large. One
takes 0.6S to download or to serve.

OUCH and DOUBLE OUCH.

You said earlier that it was a server problem.

The 0.6seconds to serve is not a problem - yet. It is easy reduced by a
factor 10 by just reducing the quality of the jpeg.

It looks like 15'000 calls of lstat() is more likely the issue. I have
not yet determined whether that is a reasonable number or not.

if a browser has to resize a image to fir the specified dimensions or
otherwise fit the image in a bounding box, that takes time and
computation on the part of the browser.

Yes, but that is not causing any problem. More importantly, it wouldn't
be my problem anyway :-)

You can quite reasonably say this is a server error. If the page
designer had resized the image to the required dimensions in the first
place, it would be smaller, quicker to download, and would not need
resizing by the browser.

How does the designer know beforehand which size will be required? The
background image on the first page is 1500x1000, probably a reasonable
compromise.


--
Per Jessen, Zürich (17.6°C)
http://www.hostsuisse.com/ - dedicated server rental in Switzerland.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >