Remember me

Please help with page speed

6 months 1 week ago #1

  • Eduard's Avatar
  • Eduard
  • Posts: 28
Dear Balbooa-Team,

I've read several support posts regarding page speed issues and followed the steps that were suggested but still have very poor page speed.

PageSpeed Insights result for my site (www.sca-pm.de):
pagespeed.web.dev/analysis/https-www-sca...8?form_factor=mobile

These are the steps that I've done so far:

1. activated gzip compression and caching in the Joomla -> System -> Global Configuration
2. Removed usage of google fonts and and font awesome icons (only using material icons)
3. Activated the gridbox performance options: minify, image compression, caching

Unfortunately this has not helped much. Could you please help me to figure out what's the thing that I'm missing?

Thank you in advance.

BR
Eduard

6 months 4 days ago #2

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hello Eduard,

Sorry for the delay with a reply.

Try to enable deferred loading





Also, you can send us Joomla admin access and I could try to find solution :)
support.balbooa.com/contact-us

Regards,
Artem, Balbooa.com

6 months 3 days ago #3

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hello Eduard,

Results 90/100
www.sca-pm.de/start-performance-balbooa








I have created a copy of the home page and theme and worked there

What I did:
1. Disabled all animations in the first section.
2. Disabled Javascript minimization
3. Manually optimized pics - logo and images in the first section, you will find them in the folder performance
4. Replaced Fontawesome icons to material
5. All fonts replaced by websafe fonts "Helvetica"
6. Added to htacccess these lines

<filesMatch ".(woff|ttf|webp|ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Cache-Control "max-age=31536000, public"
</filesMatch>


## GZIP COMPRESSION ##
<IfModule mod_deflate.c>
  # Compress HTML, CSS, JavaScript, Text, XML and fonts
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml

  # Remove browser bugs (only needed for really old browsers)
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  Header append Vary User-Agent
</IfModule>
## GZIP COMPRESSION ##

Regards,
Artem, Balbooa.com

6 months 2 days ago #4

  • Lukas's Avatar
  • Lukas
  • Posts: 213
Hi Artem!
I wanted to ask if those extra lines in htaccess are universal? Can I use them on other sites? You surely remember my last Website with those huge performance problems....so those Demons are still there :)

6 months 1 day ago #5

  • Marc's Avatar
  • Marc
  • Posts: 241
Hi Artem,

The Gridbox performance plugin only sets the header cache for 7 days, and doesn't include fonts, which is picked up by performance tests (which some customers raise).

I believe It's been asked before on the forum, can the performance plugin have a small change, allowing the number of days to be editable for caching. This will allow developers to enter a much larger value, which will improve rankings on Google Lighthouse etc. And for the caching to include fonts.

Many thanks
Marc

6 months 1 day ago #6

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hi there,

@Lukas. Yes, you can try, also you can send me a link one more time and we'll check one more time :)

@Marc. Yes, we using the same as a default Joomla caching plugin, add this to .htaccess B)
<filesMatch ".(woff|ttf|webp|ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    Header set Cache-Control "max-age=31536000, public"
</filesMatch>


Regards,
Artem, Balbooa.com

6 months 1 day ago #7

  • Marc's Avatar
  • Marc
  • Posts: 241
Hi Artem,

On all my sites, I have the performance plugin installed. But when analysed by Google PageSpeed (and others), the page cache is always none (e.g. woff files) or at best 7 days. Please see attached:


I never see any indication of a cache larger than 7 days.

Many thanks,
Marc

6 months 1 day ago #8

  • Marc's Avatar
  • Marc
  • Posts: 241
Apologies, misread your reply. Would it be possible to allow us to specify the cache duration within the performance plugin, and include font files ? Then we wouldn't need to jump into the htaccess file.

At the moment the default page cache settings for the performance plugin are nowhere near aggressive enough for Google and other speed tests.

I..e there's no point for the Gridbox page cache plugin, if for every site, we have to override it.

Many thanks,
Marc

6 months 1 day ago #9

  • Marc's Avatar
  • Marc
  • Posts: 241
Hi Artem,

May I also ask about file compression (gzip). I don't currently bother turning on "Gzip Page Compression" within the Joomla server admin, or adding compression within htaccess, because sites report compression is already being used. I assumed Gridbox was enabling the gzip compression I'm seeing?

Does Gridbox enable gzip compression?

Want to get the best performance for my websites, so would like ensure compression is always enabled.

Many thanks for your help,
Marc

6 months 1 day ago #10

  • Marc's Avatar
  • Marc
  • Posts: 241
Hi Artem,

One last question, in your solution you "Disabled Javascript minimization". Why was this done? In the performance plugin, I always have HTML, CSS and Java minimisation turned on.

Is it because if gzip compression is enabled, then minimisation is an unnecessary overhead?

Thanks again,
Marc

6 months 21 hours ago #11

  • Artem's Avatar
  • Artem
  • Posts: 11342
Marc,

1. Site caching - Yes, agree with, I think a little bit latter we can do it :)


2. Gzip compression - Gzip compression can be enabled in the Joomla Global configurations. Gridbox doesn't includes Gzip, since it's already is available in Joomla.

But, on this site I have added Gzip compression manually using .htaccess, since Google page speed, showing that Gzip is disabled, besides that all 3rd party testing tools showed that gzip is enabled.


3. JS Minification - Each site is absolutely unique story. I have detected, that with disabled JS compression, at this project I have better results on mobile.

Each site is always absolutely unique story, and there is no standard way for optimization, it's always some experiments with options. I remember the project, when results on Google Speed was better with image format in png and jpg. Some sites show better results with disabled Deferred loading.

You need to play with options and find the best combination. Clear cache and check results on Google page speed (Browser incognito mode) after enabling each option B)


Regards,
Artem, Balbooa.com

6 months 18 hours ago #12

  • Eduard's Avatar
  • Eduard
  • Posts: 28
Hi Artem,

Thanks for your help. I had also some issues with my custom fonts.
But after subsetting the full font file (trimming your fonts down to only the characters you need) and converting those to woff2, I was able to solve the issues.

BR
Eduard
Powered by Kunena Forum