Adlago Posted October 9, 2015 Posted October 9, 2015 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 Here result and GTmetrix Maybe use, thus effectively CSS and JS idea is to develop?
Ahmad E. Posted October 17, 2015 Posted October 17, 2015 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.
Daniel F Posted October 17, 2015 Posted October 17, 2015 I think he included the css and js files into a static file and compared the speed...
Adlago Posted October 17, 2015 Author Posted October 17, 2015 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 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...
Tracy Perry Posted October 17, 2015 Posted October 17, 2015 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) With the /forums as the "landing page"
Adlago Posted October 17, 2015 Author Posted October 17, 2015 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:
Tracy Perry Posted October 17, 2015 Posted October 17, 2015 11 minutes ago, Adlago said: Delay your site not related Pages. That is the main reason for losing speed: 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.
Adlago Posted October 18, 2015 Author Posted October 18, 2015 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 This image download 209 kB Here is the same image that I optimized, but 109 kB 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
Tracy Perry Posted October 18, 2015 Posted October 18, 2015 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.
sasiko Posted October 18, 2015 Posted October 18, 2015 google pagespeed do have the ability to resize/compress your images
Tracy Perry Posted October 18, 2015 Posted October 18, 2015 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.