Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229242 > unrolled thread

Optimizing a server running Wordpress

Started byJean-Philippe MENGUAL <jpmengual@debian.org>
First post2020-12-03 12:40 +0100
Last post2020-12-03 16:30 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Optimizing a server running Wordpress Jean-Philippe MENGUAL <jpmengual@debian.org> - 2020-12-03 12:40 +0100
    Re: Optimizing a server running Wordpress john doe <johndoe65534@mail.com> - 2020-12-03 13:30 +0100
      Re: Optimizing a server running Wordpress Jean-Philippe MENGUAL <jpmengual@debian.org> - 2020-12-03 16:20 +0100
        Re: Optimizing a server running Wordpress Dan Ritter <dsr@randomstring.org> - 2020-12-03 16:30 +0100

#229242 — Optimizing a server running Wordpress

FromJean-Philippe MENGUAL <jpmengual@debian.org>
Date2020-12-03 12:40 +0100
SubjectOptimizing a server running Wordpress
Message-ID<BhV7Q-7TI-17@gated-at.bofh.it>
Hey guys,

I’m working on a website for my company (it’s a small Free Software 
company in France, mainly catering to visually-impaired computer users), 
and I need some help setting up a Varnish server and tweaking it to get 
along with Wordpress. (On a Debian VPS with Apache.)

I have very little experience with reverse proxies and caching, so this 
is getting a little too involved for me; from what I gather apart from 
getting it to work at all (which I haven’t even managed so far), there 
are some further optimizations required (for example, you don’t want 
to cache backoffice pages, and if you’re using any analytics tools 
then you need additional fine-tuning to make them play well with Varnish).

That being said, I’m hoping that would bring a noticeable performance 
gain with regard to PageSpeed and other indicators (therefore, more SEO 
ranking bonanza), which at the moment remain disappointingly average in 
spite of our best efforts (server-side compression, CSS and JS inlining, 
SVG images, as little Wordpress plugins and overrides as possible)…

Would anyone be available for consulting with us (yours truly and my 
company’s other tech guys) for a little while? (I’m thinking half a 
day, a day or two tops.) We’d be happy to hire a fellow Debian power 
user provided you’re familiar enough with both Wordpress and Varnish 
(not to mention Apache, but the less said about it the better

Best Regards,

-- 
Jean-Philippe MENGUAL
Debian Developer non uploading
Community team member
Accessibility team member
debian-l10n-french team member
President of Debian France non-profit organization

[toc] | [next] | [standalone]


#229243

Fromjohn doe <johndoe65534@mail.com>
Date2020-12-03 13:30 +0100
Message-ID<BhVUd-8pg-1@gated-at.bofh.it>
In reply to#229242
On 12/3/2020 12:36 PM, Jean-Philippe MENGUAL wrote:
> Hey guys,
>
> I need some help setting up a Varnish server and tweaking it to get
> along with Wordpress. (On a Debian VPS with Apache.)
>

Why don't you take a VPS that do that for you?

> I have very little experience with reverse proxies and caching, so this
> is getting a little too involved for me; from what I gather apart from
> getting it to work at all (which I haven’t even managed so far), there
> are some further optimizations required (for example, you don’t want to
> cache backoffice pages, and if you’re using any analytics tools then you
> need additional fine-tuning to make them play well with Varnish).
>

What issue(s) are you having exactly?

It is hard to help if you don't show us where you are stuck at! :)

--
John Doe

[toc] | [prev] | [next] | [standalone]


#229253

FromJean-Philippe MENGUAL <jpmengual@debian.org>
Date2020-12-03 16:20 +0100
Message-ID<BhYyJ-1DP-5@gated-at.bofh.it>
In reply to#229243
Le 03/12/2020 à 13:28, john doe a écrit :
> On 12/3/2020 12:36 PM, Jean-Philippe MENGUAL wrote:
>> Hey guys,
>>
>> I need some help setting up a Varnish server and tweaking it to get
>> along with Wordpress. (On a Debian VPS with Apache.)
>>
> 
> Why don't you take a VPS that do that for you?

Mainly because this is a part of a much more important infra with 
conatiners and VMs, and we did everything from this base.

> 
>> I have very little experience with reverse proxies and caching, so this
>> is getting a little too involved for me; from what I gather apart from
>> getting it to work at all (which I haven’t even managed so far), there
>> are some further optimizations required (for example, you don’t want to
>> cache backoffice pages, and if you’re using any analytics tools then you
>> need additional fine-tuning to make them play well with Varnish).
>>
> 
> What issue(s) are you having exactly?

The thing is that if we load the hommepage via the Google tools testing 
performance, we get a high time of load (7s instead of 2 recommended). 
We try optimizing the page, but it seems another problem is the response 
tim of the server. So a program such as varnish could improve the 
response time, but it implies a good setting with Wordpress and Apache


regards

> 
> It is hard to help if you don't show us where you are stuck at! :)
> 
> -- 
> John Doe
> 

[toc] | [prev] | [next] | [standalone]


#229254

FromDan Ritter <dsr@randomstring.org>
Date2020-12-03 16:30 +0100
Message-ID<BhYIp-1H9-9@gated-at.bofh.it>
In reply to#229253
Jean-Philippe MENGUAL wrote: 
> 
> > What issue(s) are you having exactly?
> 
> The thing is that if we load the hommepage via the Google tools testing
> performance, we get a high time of load (7s instead of 2 recommended). We
> try optimizing the page, but it seems another problem is the response tim of
> the server. So a program such as varnish could improve the response time,
> but it implies a good setting with Wordpress and Apache

Step 1: Forget about Varnish. Uninstall it.

Step 2: Install https://wordpress.org/plugins/wp-super-cache/

Step 3: Configure it.

Step 4: Remove any JavaScript, ads, trackers, web-fonts, large
images, etc.

You should be good at that point.

-dsr-

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web