Jump to content
thirty bees forum

Recommended Posts

Posted

Hello guys,

PS has useful CCC option to minify html. How can it be restored to TB?

On the PS test store I have nice results on Google PageSpeed: 96 / 95.

0_1499526342627_google_pagespeedPS1.jpg0_1499526359471_google_pagespeedPS2.jpg

Same theme installed in TB gets lower results: 69 / 84.

0_1499526455562_google_pagespeedTB1.jpg0_1499526461502_google_pagespeedTB2.jpg

Posted

This same VPS server and theme:

PS: Performance grade A 91 Load time 769 ms Faster than 93 % of tested sites Page size 498.3 kB

TB: Performance grade B 81 Load time 2.73 s Faster than 57 % of tested sites Page size 666.7 kB

Unfortunately I noticed that the shop on TB got weaker results, I also checked on gtmetrix.

Is it possible to enable minify html?

Posted

Thanks for sharing this. Here is two reports from Lighthouse plugin, still same VPS server and theme:

PS 1.6.0.14 0_1499541888341_lighthouse_PS.jpg

TB 1.0.1 0_1499541914317_lighthouse_TB.jpg

Posted

BTW. Do you recommend using the pagespeed mod with nginx? I noticed one issue after enable this mod - no images from Catalog->Edit Products->Images. :( Report this as a bug?

0_1499542442849_pagespeed_mod.jpg

PS SEO Booster Ultimate from @nemo displays images correctly

0_1499542577754_pagespeed_mod_seo_booster.jpg

Posted

Google is actually migrating from the Pagespeed framework to the Lighthouse framework to measure performance. If you notice they have been heavily funding Lighthouse and now with Chrome 60 it is going to be included by default.

I have already started trying to optimize for Lighthouse, the last theme update added a lot of accessibility options and some speed improvements. In the future we are going to add even more, since we are trying to design thirty bees for the future, not the past.

That is also a reason for removing the minify html. It speeds up the download time of the html, there is no doubt in that. But it slows down the processing time of the server. So you might save .2 seconds on download time and trade that for .5 seconds of processing time. It would make your site .3 seconds slower using it.

Posted

My site gtmetrix page speed good green A 100 yslow green A90 but Google page speed inslite orenge 67 I can improve Google page speed My server apache nigex (fastcomet rocket booster plans with cdn cloud flare) My cache driver memcached server supported proxy varnish cache. This server not provid Mode page speed

Posted

I hope I step on no toes with this.

If something is too slow, adding even more software, well, tends to slow things down even more. Simply because more software means more CPU cycles burnt. That's a simple logic, just not very popular.

To get things faster, one has to remove something.

For example, CSS and JS files aren't dynamic, so they can be minified at installation time. Doing this for every page request from scratch is a bit ... uhm. To get this minification, one can simply run such a minifier over every file existing in the installation.

Another one is to join files. Serving two 5kB files is slower than serving one 10 kB file. PS 1.7 did something in this direction in its default theme. The number of files was simply reduced at theme build time.

Third one coming to mind is to compress files in advance. Letting Apache do this compression means each file gets compressed for each page request, so the very same task get repeated thousand of times every day. Nice plan for wasting processing resources. Apache can be instructed to serve files as compressed content without actually compressing them. That means, files on disk have to be already compressed, which is achievable easily. Result: compressed once, served often, less CPU load, improved performance.

I'm pretty sure your patches are welcome. For myself, I'm currently covered with more crucial tasks.

Posted

@Traumflug said in minify html option:

Apache can be instructed to serve files as compressed content without actually compressing them. That means, files on disk have to be already compressed, which is achievable easily. Result: compressed once, served often, less CPU load, improved performance.

Which compression are we discussing? images or a whole webpage or what, please?

I hope I step on no toes with this.

When did that ever stop you? LOL!

Posted

@Traumflug Actually with http/2 becoming prevalent the methodologies are changing. Here is a good article on resource handling, https://medium.com/@asyncmax/the-right-way-to-bundle-your-assets-for-faster-sites-over-http-2-437c37efe3ff

@alwayspaws Only text based files can use server side compression, so css, js, html.

Posted

So I'd better leave well enough alone, but several hosting people have worked on and restored and restored over again, my site and test site, so how can I be sure, please?

Posted

Run your site through something like GT Metrix and see if it picks up on any compression errors for resources that are on your site. Likely it will flag things like Google analytics and Facebook, but it should not flag any of the files you host.

Posted

Whatever is happening in the background makes this thing fly now even with all the molasses no cache etc on! ;)

Can't imagine when I turn it all off!

Posted

@lesley @mdekker My results are horrifying!

https://gtmetrix.com/reports/www.alwayspaws.com/kpgInejV and

https://tools.pingdom.com/#!/b5qaMe/https://www.alwayspaws.com/

Posted

@alwayspaws Everything, front and back. Go do a test install of prestashop and you will be reminded of the changes! :) Of course I don't have 10,000 items either!

Posted

I only have 255 products. My site has a rating of a "D". I'm getting offline before I get even more upset! It isn't a thirty bees problem, that's for sure!

Posted

@lesley said in minify html option:

Run your site through something like GT Metrix and see if it picks up on any compression errors for resources that are on your site. Likely it will flag things like Google analytics and Facebook, but it should not flag any of the files you host.

I just ran my site through that and pingdom and the results freaked me out. I can't even look up whatever it is you suggested.

Posted

@lesley said in minify html option:

It looks like the big thing you need to make sure of is that mod_expires is installed on your server.

I'll look for that, not that I know how. I'll just go to admin and search for it.

And also that all the caching options are turned on in your shop.

I had just asked what settings to use for Cache and Full Page cache. What are they, please?

Posted

Mod_expires is not something in thirty bees, it is in your server setup.

I honestly do not know with your server setup what are best, it depends on the server software.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...