Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Image dimensions in X_Threads
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #11
RE: Image dimensions in X_Threads
Well, as long as its secure and does not affect performance - yup, I can try that Smile


[Image: leelink.gif]
MYBB1.6 & XThreads
03-02-2011 04:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #12
RE: Image dimensions in X_Threads
Assuming you've reverted back to original the core edit in your post above, try something like this:

In the Manage Post Icons in Admin CP, edit each of your post icons, and put something like this in the Image Path field (example for the Big Grin post icons):

Code:
images/icons/biggrin.gif" width="16" height="16


Do that for the Smilies too.


03-02-2011 06:08 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #13
RE: Image dimensions in X_Threads
Personally, IMO, putting in dimensions is going to have a relatively small impact on loading time.  At least for browsers like Firefox which can render pages before images are loaded.

My Blog
03-02-2011 09:45 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #14
RE: Image dimensions in X_Threads
Well, I think that too, and that google are just being an ass re using arbitrary page speed results for a part of their page ranking calculations (its strongly hinted that is what they will do).

My biggest issue remains the javascript and getting it GZipped and concatenated. I can't seem to get that right. So far, I have only succeeded in breaking the collapse function Frown


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 03-02-2011 04:05 PM by leefish.)
03-02-2011 04:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #15
RE: Image dimensions in X_Threads
(03-02-2011 04:03 PM)leefish Wrote:  Well, I think that too, and that google are just being an ass re using arbitrary page speed results for a part of their page ranking calculations (its strongly hinted that is what they will do).
They mainly consider excessively slow pages, and the effect is extremely low.
I seriously wouldn't be worrying about it.

(03-02-2011 04:03 PM)leefish Wrote:  My biggest issue remains the javascript and getting it GZipped and concatenated. I can't seem to get that right. So far, I have only succeeded in breaking the collapse function Frown
You can just use mod_deflate to have it compressed. (as your host to enable if it isn't already)

My Blog
03-02-2011 04:20 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #16
RE: Image dimensions in X_Threads
Well, I THINK it is enabled, (it says this in my php.ini )

Code:
HTTP_ACCEPT_ENCODING 	deflate, gzip, x-gzip, identity, *;q=0


Code:
zlibZLib Support 	enabled 
Stream Wrapper support 	compress.zlib:// 
Stream Filter support 	zlib.inflate, zlib.deflate 
Compiled Version 	1.2.3 
Linked Version 	1.2.3


and I have this code in my .htaccess

[/code]
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE image/jpg
</IfModule>
[/code]

My board is in a sub-directory  http://www.leefish.nl/mybb/ and I have my .htaccess file in the mybb directory.

But the stupid page speed keeps saying they are not compressed

pagespeed output Wrote:[Score: 47/100]



Enable compression

Compressing the following resources with gzip could reduce their transfer size by 125.8KiB (74% reduction).

    * Compressing http://www.leefish.nl/mybb/jscripts/prot...http://www.leefish.nl/mybb/jscripts/prototype.j could save 76.8KiB (74% reduction).
    * Compressing http://www.leefish.nl/mybb/css.php?stylesheet=65 could save 12.4KiB (77% reduction).
.......(and all the rest of my jscripts)


[Image: leelink.gif]
MYBB1.6 & XThreads
03-02-2011 04:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #17
RE: Image dimensions in X_Threads
Off Topic:

There is one thing we can do to increase (I think) the performance in forumdisplay_threadlist (MyBB 1.6*):
Cache the forumdisplay_inlinemoderation_selectall "manually".
I think MyBB "forgot" to cache this template Biggrin
Only happens if there is at least one thread in forumdisplay_threadlist.

(This post was last modified: 03-03-2011 08:05 AM by RateU.)
03-03-2011 07:26 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #18
RE: Image dimensions in X_Threads
Bug your host about it.
BTW, don't GZip JPEGs - it's useless to do so.

My Blog
03-03-2011 10:01 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: