Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 11, 201014 yr Hi, im enable gzip module on my web site, and it work fine for files like that (http://site.com/public/style_css/css_1/ipb_print.css) But script use the biggest JS & CSS files http://site.com/public/min/index.php?g=js http://site.com/public/min/index.php?charset=UTF-8&f=public/js/ipb.js,public/js/ips.quickpm.js,public/js/ips.hooks.js,public/js/ips.board.js,cache/lang_cache/2/ipb.lang.js http://site.com/public/min/index.php?f=public/style_css/css_1/links.css,public/style_css/css_1/calendar_select.css,public/style_css/css_1/ipb_editor.css,public/style_css/css_1/ipb_styles.css,public/style_css/css_1/ipblog.css and compression does not work for this stuff, its posible to fix this? thanks
April 20, 201014 yr Author Now web site loading speed is important for google rank, im my google webmaster tools when im check site loading speed (Site performance) i have this results "On average, pages in your site take 18.0 seconds to load (updated on Apr 3, 2010). This is slower than 100% of sites. These estimates are of low accuracy (fewer than 100 data points). The chart below shows how your site's average page load time has changed over the last few months. For your reference, it also shows the 20th percentile value across all sites, separating slow and fast load times." next step Page Speed suggestions Details: Save up to 271 KB, 2 requests, 1 DNS lookups Enable gzip compression Compressing the following resources with gzip could reduce their transfer size by 271 KB: http://surftime.ru/public/min/index.php?charset=UTF-8&f=public/js/ipb.js,public/js/ips.quickpm.js,public/js/ips.blog.js,public/js/ips.rating.js,public/js/ips.editor.js,cache/
April 20, 201014 yr Management Open up public/min/config.php Look for $min_serveOptions['encodeOutput'] =0; make that $min_serveOptions['encodeOutput'] =1; Edit groupsConfig.php also.
April 23, 201014 yr may i know what will this do exactly? and why no option for it in admin panel if it is that important!?
April 23, 201014 yr may i know what will this do exactly? and why no option for it in admin panel if it is that important!? It causes the javascript and CSS files to be gzipped (if you use minify). Minify is a standalone third party script - we can't control it from the ACP. Although, I believe we could ship with gzip enabled possibly (or maybe we did initially, and some had trouble with it, I can't recall now).
April 29, 201014 yr Open up public/min/config.php Look for $min_serveOptions['encodeOutput'] =0; make that $min_serveOptions['encodeOutput'] =1; Its twice in there, why? Should i change both? /* Turn off URL rewriting and prepend the correct folders */ $min_serveOptions['rewriteCssUris'] = false; $min_serveOptions['minifierOptions']['text/css']['prependRelativePath'] = str_replace( '//', '/', '/' . trim( $folders,'/' ) . '/' . $acpDir . '/skin_cp/' ); $min_serveOptions['encodeOutput'] = 0; } } $min_serveOptions['encodeOutput'] = 0;
April 29, 201014 yr Its twice in there, why? Should i change both? /* Turn off URL rewriting and prepend the correct folders */ $min_serveOptions['rewriteCssUris'] = false; $min_serveOptions['minifierOptions']['text/css']['prependRelativePath'] = str_replace( '//', '/', '/' . trim( $folders,'/' ) . '/' . $acpDir . '/skin_cp/' ); $min_serveOptions['encodeOutput'] = 0; } } $min_serveOptions['encodeOutput'] = 0; Yes, change both (or at least, change the last one).
April 29, 201014 yr For what it's worth, IP.Board is unlikely to be the problem here - this is what GWT has to say about my forum site: On average, pages in your site take 1.7 seconds to load (updated on Feb 23, 2010). This is faster than 75% of sites. These estimates are of low accuracy (fewer than 100 data points). The chart below shows how your site's average page load time has changed over the last few months. For your reference, it also shows the 20th percentile value across all sites, separating slow and fast load times.
April 29, 201014 yr For what it's worth, IP.Board is unlikely to be the problem here - this is what GWT has to say about my forum site: How large is your forum?
April 29, 201014 yr How large is your forum? Pretty small... but IP.Board performs just as well at scale... The IPS site:On average, pages in your site take 2.3 seconds to load (updated on Apr 27, 2010). This is faster than 62% of sites. Right now, the forum homepage here is returned in 0.72 seconds.
May 1, 201014 yr Author For what it's worth, IP.Board is unlikely to be the problem here - this is what GWT has to say about my forum site: hi, what version of IPB do u use? and what hooks is enabled? Web server generate output very fast in my web site (0.0932) but when im use "Page Speed Copyright
May 2, 201014 yr Google says :Performance overview On average, pages in your site take 3.9 seconds to load (updated on Apr 28, 2010). This is slower than 58% of sites. These estimates are of high accuracy (more than 1000 data points). The chart below shows how your site's average page load time has changed over the last few months. For your reference, it also shows the 20th percentile value across all sites, separating slow and fast load times. My front page is made with IP.Content and seems its slow as hell:Go to URL/foorumi/index 3.1 Go to URL/foorumi/index.php 2.5 Go to URL/ 7.3 IPB says that forum index loads 0.1479 sec, but google says it loads 2,5 seconds :D http://hoitajat.net/foorumi/
May 3, 201014 yr With IP.Content there are a LOT of variables. Block and page caching being the key - you should let blocks that don't change frequently cache for longer periods of time (same with pages that don't change too frequently). Blocks that DO change frequently can still cache for shorter periods of time (i.e. 30 seconds), giving you a lot of performance boost (imagine a slow loading block, such as "latest posts", only having to rebuild itself once every 30 seconds instead of potentially 10 times per second, depending on your traffic).
May 3, 201014 yr Hey, thanks for tip Brandon! There was stuff i can cache even with "*". It loads much faster now. Some of those says "Be careful caching plugins - they usually have content intended to be dynamic and specific to the viewer, and usually should not be cached.", like member count plugin wich shows how many users are in. I added 0,5 min cache to that.
May 3, 201014 yr Yes. The welcome block plugin, for example, you wouldn't want to cache (or when I logged in, I'd say the welcome block for whoever happened to trigger it, and guests would see member welcome blocks, etc.). However for something like the online list, even caching it for 30 seconds helps. It means IP.Content won't need to reprocess the data for 30 seconds - you'd be surprised how much benefit that can give your server sometimes.
May 3, 201014 yr Yes, now my main page loads like 0.0484 sec, one socond faster than any of my forum pages :) I dont use welcome block, but i have created online list, like"We have now xxx members online and we have xxx members registered. Those blocs i put one second cache.
May 5, 201014 yr Open up public/min/config.php Look for $min_serveOptions['encodeOutput'] =0; make that $min_serveOptions['encodeOutput'] =1; Edit groupsConfig.php also. Hmmm, it still says: Enable gzip compression Compressing the following resources with gzip could reduce their transfer size by 213 KB:
May 5, 201014 yr Interesting topic. Some tweaks maybe I'll use... MineOn average, pages in your site take 4.2 seconds to load (updated on Apr 3, 2010). This is slower than 62% of sites.
May 5, 201014 yr Same here: On average, pages in your site take 4.2 seconds to load (updated on May 2, 2010). This is slower than 62% of sites. But my page generation time is few times faster than this board: 0.0499 sec
May 5, 201014 yr Hi, Won't mod_deflate do the same without any complications? I use this combination with expire headers and works like a charm. http://www.askapache.com/htaccess/apache-speed-compression.html http://www.askapache.com/htaccess/speed-up-sites-with-htaccess-caching.html Yahoo have some tips that can help reduce load time: http://developer.yahoo.com/yslow/help/ http://developer.yahoo.com/performance/rules.html
May 5, 201014 yr Hmmm, it still says: It's possible you don't have the PHP extensions that minify uses to gzip the content installed. Hi, Won't mod_deflate do the same without any complications? I use this combination with expire headers and works like a charm. [url="http://www.askapache.com/htaccess/apache-speed-compression.html"]http://www.askapache...ompression.html[/url] [url="http://www.askapache.com/htaccess/speed-up-sites-with-htaccess-caching.html"]http://www.askapache...ss-caching.html[/url] Yahoo have some tips that can help reduce load time: [url="http://developer.yahoo.com/yslow/help/"]http://developer.yahoo.com/yslow/help/[/url] [url="http://developer.yahoo.com/performance/rules.html"]http://developer.yah...ance/rules.html[/url] Yes, there's more than one way to skin a cat.
May 5, 201014 yr It's possible you don't have the PHP extensions that minify uses to gzip the content installed. I have own dedicated server. Just tel me what i need? :D
May 5, 201014 yr I'd recommend posting in the peer to peer forums. ;) This is a feedback/feature suggestion forum here. :)
Archived
This topic is now archived and is closed to further replies.