Website Loading Slowly

2 replies · opened Feb 3, 2024

Nnidal2020Feb 3, 2024

Hello,

The new site is slow, checked page speed, around 40%.

First Contentful Paint 7.5 s

  1. I added the following config to nginx:

Gzip Compression

gzip on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_types text/plain text/css application/json application/javascript application/xml;
gzip_vary on;

# Browser Caching
location ~* \.(jpg|jpeg|gif|png)$ {
    expires 365d;
}

location ~* \.(css|js)$ {
    expires 30d;
}
  1. running my own VPS, burst to 1GB

  2. glup and serving of dist

Thanks for your help!

SSemicolon WebSTAFFFeb 9, 2024

Hello,

This is due to the Size of the Media Files and the size of the JS/CSS Files. Please consider using the Dynamic (Vanilla) JS we include with Canvas: https://docs.semicolonweb.com/docs/getting-started/javascript/#docs-steps-vanilla-js along with the Website Optimization Tips to fix the speed of your Website: https://docs.semicolonweb.com/docs/getting-started/website-optimization-tips/ .

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard