Jump to content

Curious experiment 4.1.0 beta "X" :-)


Adlago

Recommended Posts

Posted

I created from my source code 4.1.0 beta2 an html.
In this html I changed the CSS and JS files from source links on this page here.
Only Custom css mine.
Loading Framework css before JS and JS before the /body tag.

This works:thumbsup:

Here result

google.thumb.png.36025beebb4bea7c85d8f0f

and GTmetrix

gtmetrix.thumb.png.aea04ad7cf911060ee1f1

Maybe use, thus effectively CSS and JS idea is to develop?

 

Posted
On 10.10.2015, Matt said:

Not sure I follow?

I think what he is trying to say is that he is grabbing the JS/CSS files from here directly instead of from his own server and it's faster this way.
@Adlago if that is the case then your host is just slower, if you want to have the same speed as on here you should consider the cloud hosting or using a CDN.

Posted
17 minutes ago, Ahmad El-Oukly said:

I think what he is trying to say is that he is grabbing the JS/CSS files from here directly instead of from his own server and it's faster this way.
@Adlago if that is the case then your host is just slower, if you want to have the same speed as on here you should consider the cloud hosting or using a CDN.

My sait speed is fast enough. I do not use CDN. See my live sait test

google_dev.thumb.png.4130ab26f546474129e

gtmetrix.thumb.png.5c353e0fec1428a2ece45

 

This is a topic idea of offering IPS shared resources. In the example I show that it is possible and it will work very well for anyone using.

Only idea...

 

Posted

One thing to be aware of.. it depends also what you are using as your "index" page.

I use Pages for my landing page

No "extra" optimization done (my XenForo sites score fine on it).

With pages as the landing page (in pagespeed insights)

5622b4e626d7c_ScreenShot2015-10-17at3.50

 

With the /forums as the "landing page"

5622b4e2b940c_ScreenShot2015-10-17at3.50

Posted
2 hours ago, Tracy Perry said:

One thing to be aware of.. it depends also what you are using as your "index" page.

I use Pages for my landing page

Delay your site not related Pages.

That is the main reason for losing speed:

img_the.png.1064ea12c285035c4acca5e7835e

 

Posted
11 minutes ago, Adlago said:

Delay your site not related Pages.

That is the main reason for losing speed:

img_the.png.1064ea12c285035c4acca5e7835e

 

Yes, and your point is?  Those are (I'm pretty sure) gallery images... so it's internal to IPS 4 with no ability to "optimize" them.

5622dda189a50_ScreenShot2015-10-17at6.45

Posted
13 minutes ago, Tracy Perry said:

Yes, and your point is?  Those are (I'm pretty sure) gallery images... so it's internal to IPS 4.

Here is an example of one your image

medium.P1050626.JPG.bfe0b034b313ea6db6ee

This image download 209 kB

Here is the same image that I optimized, but 109 kB

medium_test.JPG.bf87f9b3e33cf9070226e446

Here is a simple saving of 100 kB.

And now even more shocking. All Web test tool see a resolution of 1024 pixels.

This is the reason for resizing CSS with those losses. This shows your image at a resolution of 1024  size 193 x 145 and has lost 90%.

What is the solution?
Upload folder on server image size 193 x 145 optimized.
Use in Custom CSS '@media screen and (max-width: 1100px)' and loading for those that resolution of your images.

Here's the same image resized and optimized and only in 10 kB

medium_test__1445125553_60842-min.jpg.f9

 

 

 

Posted

Did you miss the point that those are UPLOADED and displayed via the GALLERY add-on (via a widget through Pages) that is provided by IPS?

There is not an ability to "optimize" them built into the system, and I won't be manually running an optimize on every image that every user uploads to the gallery.  That would/should be a function of the GALLERY add-on.

Posted
5 minutes ago, maidos said:

google pagespeed do have the ability to resize/compress your images

If you are referring to the module (nginx compiled in) or Apache, then yes, but with IPS 4 the tweaking of Pagespeed to work well with IPS is rather a bit of a bear.  Think I get it all correct and another little display buglet rears it's ugly head.  As you can see, it's already compiled into nginx 1.9.5 mainline.

nginx version: nginx/1.9.5
built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
built with LibreSSL 2.2.3
TLS SNI support enabled
configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-ipv6 --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_realip_module --with-http_geoip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-misc-nginx-module-0.28 --add-module=../echo-nginx-module-0.57 --add-module=../redis2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-nginx-module-0.9.16 --add-module=../lua-upstream-nginx-module-0.03 --add-module=../lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../nginx-module-vts --add-module=../headers-more-nginx-module-0.261 --with-openssl=../libressl-2.2.3 --with-libatomic --with-threads --with-stream --with-stream_ssl_module --with-pcre=../pcre-8.37 --with-pcre-jit --add-module=../ngx_pagespeed-release-1.9.32.6-beta

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...