vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Optimise subforum statusicons (https://vborg.vbsupport.ru/showthread.php?t=310970)

Set3sh 05-01-2014 10:00 PM

Optimise subforum statusicons
 
1 Attachment(s)
For forum admnistrators who are trying to reduce the number of http requests in order to speed up their forum and ultimately increase their pagespeed grade, I have a quick solution.

Subforum statusicons are not that important to display.
But if you remove them entirely how can your users know if a subforum has new posts?

SIMPLE:
[1] Login to admincp: Style Manager > Edit templates > Forum Home Templates > forumhome_subforums
[2] Replace all the content with the content I provided.

WxP 05-02-2014 01:56 PM

Any screenshot ?

Alan_SP 05-02-2014 02:15 PM

It's not a mod, but template edit.

On the other hand, just tested it on my site and it looks quite nice, after I deleted commented part.

gsmlover4u 05-02-2014 05:46 PM

Any screenshot ?

ramesh_umk3 05-02-2014 06:40 PM

There will be no difference in style of your subforum icons just apply it

Quote:

Tested
Before : 185 Request
After Applying: 169 Request
But unfortunately page load was almost same for both no difference

Set3sh 05-02-2014 07:06 PM

Maybe for you there is no difference, because your internet connection is good.
But for others, less http requests means less time spent to download your resources when accessing your forum.
With other words faster loading of your forum, less bandwidth.

ramesh_umk3 05-03-2014 05:54 AM

I test page load speed of website using my own tools were i have 1gps or 512kBps internet connections it doesn't matter :)

Page Load can be effectively optimized only with Compression of JS , IMAGE , HTML
http request doesn't helps much as you think anyway thanks for sharing ...

Regards,

fxdigi-cash 05-03-2014 06:24 AM

Ok, to add more to ramesh_umk3 comments, note that major load page speed depends primarily on the web server, and what modules are running on it to optimize pages contents. so if your server has Zend OpCache to cache php files and Memcached or memcache to cache Database data then you are 700% times faster than any shared hosting server. Note that extra modules such as Mod Pagespeed or varnish will also make bigger change on page load speed...

Yes, it is true that http request will reduce the time required to load a page, but does that make any difference for those who have slow internet??

The answer is NO.

Thanks for sharing :)

Set3sh 05-03-2014 10:01 AM

Until I will fully learn what template variables I need and how they work, I thought I would release this to get some feedback.
The purpose is to know if my effort would be enough aprecieted to continue the effort of making a plugin that will optimise vbulletin.

I'm planning to include in a mod:
> autogenerate a sprite with all the images
> serve all css with a single http request (not combine all css in a single file) and cache the result in a gzipped file
> serve all javascript with a single http request and cache the result in a gzipped file
> remove unnecessary images

A total of 3-5 max http requests when loading your forum is my goal.

Nirjonadda 05-03-2014 10:06 AM

I am still waiting for your release !


All times are GMT. The time now is 04:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete