Any ways to reduce Server Delay

[ad_1]

Hi,

I would appreciate some feedback on this.

The store is behind [quick.cloud](https://quick.cloud) CDN, and is run on Ubuntu 22.04 and LiteSpeed enterprise. Server is hosted at Hetzner in Germany. It is a dedicated VPS with 8vCPU’s and 32GB RAM.

I am checking development tools and there is about 2 seconds delay after each click. Regarldes if is a product or a static page.

I optimized databases, removed wordpress/woo bloatware, still the same.

I always see something like this in development tools

|| || |Queued at 0| |Started at 0.96 ms| |Resource Scheduling||DURATION| |Queueing|​|0.96 ms| |Connection Start||DURATION| |Stalled|​|0.39 ms| |DNS Lookup|​|49.93 ms| |Initial connection|​|31.96 ms| |SSL|​|31.96 ms| |Request/Response||DURATION| |Request sent|​|0.11 ms| |Waiting for server response|​|3.89 s| |Content Download|​|62.16 ms| |Explanation||4.03 s|

Server config is as follows

\`

# wp-core

version: 6.4.3

site\_language: en\_GB

user\_language: en\_GB

timezone: Europe/Belgrade

permalink: /%postname%/

https\_status: true

multisite: false

user\_registration: 1

blog\_public: 1

default\_comment\_status: open

environment\_type: production

user\_count: 75

dotorg\_communication: true

# wp-paths-sizes

wordpress\_path: /home/pawz.rs/public\_html

wordpress\_size: 3.99 GB (4281434370 bytes)

uploads\_path: /home/pawz.rs/public\_html/wp-content/uploads

uploads\_size: 1.88 GB (2017507958 bytes)

themes\_path: /home/pawz.rs/public\_html/wp-content/themes

themes\_size: 9.12 MB (9560335 bytes)

plugins\_path: /home/pawz.rs/public\_html/wp-content/plugins

plugins\_size: 393.48 MB (412591222 bytes)

database\_size: 393.94 MB (413073408 bytes)

total\_size: 6.64 GB (7134167293 bytes)

# wp-dropins (1)

object-cache.php: true

# wp-active-theme

name: Shoptimizer Child Theme (shoptimizer-child-theme)

version: 1.2.1

author: CommerceGurus

author\_website: (undefined)

parent\_theme: Shoptimizer (shoptimizer)

theme\_features: core-block-patterns, widgets-block-editor, block-templates, post-thumbnails, automatic-feed-links, custom-logo, menus, html5, site-logo, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, title-tag, customize-selective-refresh-widgets, align-wide, widgets

theme\_path: /home/pawz.rs/public\_html/wp-content/themes/shoptimizer-child-theme

# wp-parent-theme

name: Shoptimizer (shoptimizer)

version: 2.7.5

author: CommerceGurus

author\_website: [https://www.commercegurus.com/](https://www.commercegurus.com/)

theme\_path: /home/pawz.rs/public\_html/wp-content/themes/shoptimizer

# wp-themes-inactive (2)

Hello Elementor: version: 3.0.1, author: Elementor Team

Twenty Twenty-Four: version: 1.0, author: the WordPress team

# wp-mu-plugins (1)

Elementor Safe Mode: version: 1.0.0, author: [Elementor.com](https://Elementor.com)

# wp-plugins-active (59)

Action Scheduler: version: 3.7.3, author: Automattic

Add-on Contact Form 7 – Mailpoet 3: version: 1.3.20, author: Tikweb

Advanced Product Fields for WooCommerce: version: 1.6.6, author: StudioWombat

Checkout Field Editor for WooCommerce: version: 2.0.1, author: ThemeHigh

CommerceGurus CommerceKit: version: 2.2.9, author: CommerceGurus

Contact Form 7: version: 5.9.3, author: Takayuki Miyoshi

Copy & Delete Posts: version: 1.4.6, author: Inisev

Custom Order Status Manager for WooCommerce: version: [1.1.3.2](https://1.1.3.2), author: Bright Plugins

Database Cleaner: Clean, Optimize & Repair: version: 1.0.3, author: Jordy Meow

Decorator – WooCommerce Email Customizer: version: 1.2.9, author: WebToffee

Disable Bloat for WordPress & WooCommerce: version: 3.4.5, author: Disable Bloat

Discount Rules and Dynamic Pricing for WooCommerce: version: 8.6.2, author: Discount Team

EAN for WooCommerce: version: 4.9.1, author: WPFactory

Easy Updates Manager: version: 9.0.17, author: Easy Updates Manager Team

eCommerceConnect: version: 0.13, author: UPC

Elementor: version: 3.20.3, author: [Elementor.com](https://Elementor.com)

Elementor Pro: version: 3.20.2, author: [Elementor.com](https://Elementor.com)

Extra product options For WooCommerce | Custom Product Addons and Fields: version: 3.2.5, author: ThemeHigh

Favicon by RealFaviconGenerator: version: 1.3.30, author: Philippe Bernard

FileBird Lite: version: 5.6.3, author: Ninja Team

Flexible Shipping: version: 4.24.18, author: Octolize

GTM4WP – A Google Tag Manager (GTM) plugin for WordPress: version: 1.20.1, author: Thomas Geiger

Imagify: version: 2.2.1, author: Imagify – Optimize Images & Convert WebP & Avif

Kirki Customizer Framework: version: 5.1.0, author: Themeum

LiteSpeed Cache: version: 6.1, author: LiteSpeed Technologies

Loco Translate: version: 2.6.7, author: Tim Whitlock

MailPoet: version: 4.48.0, author: MailPoet

MailPoet Premium: version: 4.48.0, author: MailPoet

MyRewards: version: 5.3.2, author: Long Watch Studio

OMGF: version: 5.8.3, author: Daan from [Daan.dev](https://Daan.dev)

Perfect Brands WooCommerce: version: 3.3.6, author: QuadLayers

Permalink Manager Lite: version: [2.4.3.2](https://2.4.3.2), author: Maciej Bis

Post SMTP: version: 2.8.13, author: Post SMTP

Product Feed ELITE for WooCommerce: version: 4.8.4, author: [AdTribes.io](https://AdTribes.io)

Product Filter by WBW: version: 2.5.6, author: WBW

PublishPress Capabilities: version: 2.13.0, author: PublishPress

Rank Math SEO: version: [1.0.215.1](https://1.0.215.1), author: Rank Math

Rank Math SEO PRO: version: 3.0.56, author: Rank Math

Serbian Addons for WooCommerce: version: 3.5.6, author: Oblak Studio

Shortcoder: version: 6.3.2, author: Aakash Chakravarthy

Simple CSS: version: 1.1.1, author: Tom Usborne

Site Kit by Google: version: 1.123.0, author: Google

Smart Coupons For WooCommerce Coupons: version: 1.6.1, author: WebToffee

Temporary Login Without Password: version: 1.8.3, author: StoreApps

Transients Manager: version: 2.0.5, author: WPBeginner

TranslatePress – Multilingual: version: 2.7.2, author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban (latest version: 2.7.4)

Transliterator: version: 1.12.13, author: Ivijan-Stefan Stipić (latest version: 1.12.16)

UpdraftPlus – Backup/Restore: version: 1.24.2, author: [UpdraftPlus.Com](https://UpdraftPlus.Com), DavidAnderson

WBW Product Filter PRO: version: 2.5.6, author: WBW

Widgets for Google Reviews: version: 11.7.1, author: [Trustindex.io](https://Trustindex.io) <[[email protected]](mailto:[email protected])>

WooCommerce: version: 8.7.0, author: Automattic

WooCommerce Cart Abandonment Recovery: version: 1.2.27, author: CartFlows Inc

WooCommerce Wholesale Prices: version: 2.1.12, author: Rymera Web Co

WooCommerce Wholesale Prices Premium: version: [1.30.5.1](https://1.30.5.1), author: Rymera Web Co

Wordfence Security: version: 7.11.4, author: Wordfence

WordPress Backup & Security Plugin – BlogVault: version: 5.53, author: Backup by BlogVault

WP-Cron Status Checker: version: 1.2.5, author: Webhead LLC

WP Content Copy Protection & No Right Click: version: 3.5.8, author: wp-buy

# wp-media

image\_editor: WP\_Image\_Editor\_Imagick

imagick\_module\_version: 1691

imagemagick\_version: ImageMagick 6.9.11-60 Q16 x86\_64 2021-01-25 [https://imagemagick.org](https://imagemagick.org)

imagick\_version: 3.7.0

file\_uploads: 1

post\_max\_size: 1024M

upload\_max\_filesize: 1024M

max\_effective\_size: 1 GB

max\_file\_uploads: 20

imagick\_limits:

imagick::RESOURCETYPE\_AREA: 122 MB

imagick::RESOURCETYPE\_DISK: 1073741824

imagick::RESOURCETYPE\_FILE: 393216

imagick::RESOURCETYPE\_MAP: 512 MB

imagick::RESOURCETYPE\_MEMORY: 256 MB

imagick::RESOURCETYPE\_THREAD: 1

imagick::RESOURCETYPE\_TIME: 9.2233720368548E+18

imagemagick\_file\_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV

gd\_version: bundled (2.1.0 compatible)

gd\_formats: GIF, JPEG, PNG, WebP, BMP, XPM

ghostscript\_version: 9.55.0

# wp-server

server\_architecture: Linux 5.15.0-101-generic x86\_64

httpd\_software: LiteSpeed

php\_version: 8.1.27 64bit

php\_sapi: litespeed

max\_input\_variables: 1000

time\_limit: 3000

memory\_limit: 8192M

max\_input\_time: 5000

upload\_max\_filesize: 1024M

php\_post\_max\_size: 1024M

curl\_version: 7.81.0 OpenSSL/3.0.2

suhosin: false

imagick\_availability: true

pretty\_permalinks: true

htaccess\_extra\_rules: true

current: 2024-03-28T19:21:52+00:00

utc-time: Thursday, 28-Mar-24 19:21:52 UTC

server-time: 2024-03-28T20:21:46+01:00

# wp-database

extension: mysqli

server\_version: 10.6.16-MariaDB-0ubuntu0.22.04.1-log

client\_version: mysqlnd 8.1.27

max\_allowed\_packet: 16777216

max\_connections: 200

# wp-constants

WP\_HOME: undefined

WP\_SITEURL: undefined

WP\_CONTENT\_DIR: /home/pawz.rs/public\_html/wp-content

WP\_PLUGIN\_DIR: /home/pawz.rs/public\_html/wp-content/plugins

WP\_MEMORY\_LIMIT: 4096M

WP\_MAX\_MEMORY\_LIMIT: 8192M

WP\_DEBUG: false

WP\_DEBUG\_DISPLAY: true

WP\_DEBUG\_LOG: false

SCRIPT\_DEBUG: false

WP\_CACHE: true

CONCATENATE\_SCRIPTS: undefined

COMPRESS\_SCRIPTS: undefined

COMPRESS\_CSS: undefined

WP\_ENVIRONMENT\_TYPE: Undefined

WP\_DEVELOPMENT\_MODE: undefined

DB\_CHARSET: utf8

DB\_COLLATE: undefined

# wp-filesystem

wordpress: writable

wp-content: writable

uploads: writable

plugins: writable

themes: writable

mu-plugins: writable

# google-site-kit

version: 1.123.0

php\_version: 8.1.27

wp\_version: 6.4.3

reference\_url: [https://pawz.rs](https://pawz.rs)

amp\_mode: no

site\_status: connected-site

user\_status: authenticated

verification\_status: verified-file

connected\_user\_count: 1

active\_modules: site-verification, search-console, analytics-4, pagespeed-insights, tagmanager

recoverable\_modules: none

required\_scopes:

openid: ✅

[https://www.googleapis.com/auth/userinfo.profile:](https://www.googleapis.com/auth/userinfo.profile:) ✅

[https://www.googleapis.com/auth/userinfo.email:](https://www.googleapis.com/auth/userinfo.email:) ✅

[https://www.googleapis.com/auth/siteverification:](https://www.googleapis.com/auth/siteverification:) ✅

[https://www.googleapis.com/auth/webmasters:](https://www.googleapis.com/auth/webmasters:) ✅

[https://www.googleapis.com/auth/analytics.readonly:](https://www.googleapis.com/auth/analytics.readonly:) ✅

[https://www.googleapis.com/auth/tagmanager.readonly:](https://www.googleapis.com/auth/tagmanager.readonly:) ✅

capabilities:

googlesitekit\_authenticate: ✅

googlesitekit\_setup: ✅

googlesitekit\_view\_posts\_insights: ✅

googlesitekit\_view\_dashboard: ✅

googlesitekit\_manage\_options: ✅

googlesitekit\_update\_plugins: ✅

googlesitekit\_view\_splash: ✅

googlesitekit\_view\_authenticated\_dashboard: ✅

googlesitekit\_view\_wp\_dashboard\_widget: ✅

googlesitekit\_view\_admin\_bar\_menu: ✅

googlesitekit\_view\_shared\_dashboard: ⭕

googlesitekit\_read\_shared\_module\_data::\[“search-console”\]: ⭕

googlesitekit\_read\_shared\_module\_data::\[“analytics-4″\]: ⭕

googlesitekit\_read\_shared\_module\_data::\[“pagespeed-insights”\]: ⭕

googlesitekit\_manage\_module\_sharing\_options::\[“search-console”\]: ✅

googlesitekit\_manage\_module\_sharing\_options::\[“analytics-4″\]: ✅

googlesitekit\_manage\_module\_sharing\_options::\[“pagespeed-insights”\]: ✅

googlesitekit\_delegate\_module\_sharing\_management::\[“search-console”\]: ✅

googlesitekit\_delegate\_module\_sharing\_management::\[“analytics-4″\]: ✅

googlesitekit\_delegate\_module\_sharing\_management::\[“pagespeed-insights”\]: ⭕

enabled\_features:

adsModule: ⭕

audienceSegmentation: ⭕

conversionInfra: ⭕

ga4AdSenseIntegration: ⭕

gm3Components: ⭕

search-console\_shared\_roles: none

search-console\_management: owner

analytics-4\_shared\_roles: none

analytics-4\_management: owner

pagespeed-insights\_shared\_roles: none

pagespeed-insights\_management: all\_admins

search\_console\_property: [https://pawz.rs/](https://pawz.rs/)

analytics\_4\_account\_id: 2403•••••

analytics\_4\_ads\_conversion\_id: none

analytics\_4\_property\_id: 3307887••

analytics\_4\_web\_data\_stream\_id: 4042••••••

analytics\_4\_measurement\_id: G-JZ••••••••

analytics\_4\_use\_snippet: yes

analytics\_4\_available\_custom\_dimensions: none

tagmanager\_account\_id: 6056••••••

tagmanager\_container\_id: GTM-KXM••••

tagmanager\_amp\_container\_id: none

tagmanager\_use\_snippet: no

\`

It is driving me nuts as I see other stores with fast response, but this one is slow…

[ad_2]
6 Comments
  1. Your WordPress memory limit is way too high. It should not be larger than 512mb. Try 256mb.

  2. What kind of caching do you utilize?

    Depending on traffic, recently I’ve found a way to reduce the load on the server making the websites snappier.
    Instead of one beefy server, I’ve split my infrastructure into three servers.

    – One for webserver
    – One for database
    – And one for the Redis server

    All together, the specs are similar to yours.

    Each server is configured to communicate with each other via a private network, avoiding internet overhead. Also, I’ve blocked connections to services by username and IP.

    Utilizing nginx helper and Redis object cache helps a lot.

    As for the Lighthouse results, it seems that the site is content-heavy, even though it doesn’t seem like it.

    Do you need all 50+ plugins? That is simply a huge thing. And generated HTML is too big, combined with a lot of JS, there you have a mess.

    Do you manage the server on your own, or you’re using some panel on top of it?

    TTFB is also high, you should dig into reducing that.

    Visiting from Serbia, it takes me 10+ seconds to start loadin the page.

    Do you have the site behind Cloudflare?

    Ako si zainteresovan, pingni me u DM da vidimo sta moze da se popravi.

  3. Try disabling the cron job that runs on every request. If that doesn’t help, disable the plugins one by one and see which one is causing the problem. Alternatively, install a profiling plugin to see where the delay is occurring.

  4. Hey, I visited the site. I had Javascript turned off. Home page loaded in around a second, maybe less. Another thing, I read through your post but I didn’t see anything about trying to connect from anywhere other than your dev environment. How’s it look from a coffee shop WiFi or a friend’s home LAN?

  5. Two backup plugins, two multilingual plugins, fonts are messy, (no need for Latin-2 etc, use utf8 and preferably only system fonts – https://blog.hubspot.com/website/web-safe-html-css-fonts#types-web-fonts), No-Right-Click plugin is hilarious attempt to protect unprotectable, contacform7 is known for jQuery pollution all over the site ,etc, etc

    Site is jumping through 3 CDNs (quic, google for tag manager and amazon for fonts)

    https://www.webpagetest.org will give you more insight

    Success.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer