vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Board Optimization - Combine It - Javascript and CSS optimization (https://vborg.vbsupport.ru/showthread.php?t=229530)

Menewsha 12-03-2009 10:00 PM

Combine It - Javascript and CSS optimization
 
1 Attachment(s)
What does it do?

This mod is designed to automatically merge and minify all CSS and Javascript on the board and cache the result. This helps reduce requests to the server and reduces bandwidth usage.

Installation
  1. Upload contents of upload folder to forum
  2. Create a folder named 'cache' in the forum
  3. Make sure the web server has the appropriate permissions to write to the cache folder
  4. Import product-combineit.xml into vBulletin
  5. Edit options under vBulletin options to reflect how you want the mod to act and to activate it

Notes

This may not work with highly customized CSS or Javascript. If the script can't write to the cache folder this mod will not function. If you find problems with the order a particular script is executing in, add it's filename as a stop word and it'll load as usual.

saadessa 12-04-2009 11:14 PM

thank you alot i need this hack iwas look for like this ..... installed

Menewsha 12-04-2009 11:21 PM

Updated to fix potential vbSEO issue, and to allow the option of not optimizing inline CSS.

If anyone has any suggestions please feel free to post them.

Scalemotorcars 12-04-2009 11:37 PM

Will be looking into this. Could be very handy for heavily modified boards. Thanks.. :up:

AzzidReign 12-05-2009 02:00 AM

Nice! Glad this is not for 4.0 (yet) as I'm going to be on 3.8 for a lil while still!

digicom 12-05-2009 02:02 AM

Installed! thanks for this :up:

euantor 12-05-2009 07:17 AM

Thanks tons :D Going to try it out now.

abdobasha2004 12-05-2009 11:42 AM

woooow
great
nominated + installed

abdobasha2004 12-05-2009 12:03 PM

Quote:

Make sure the web server has the appropriate permissions to write to the cache folder
what permissions?
777?
or 775?

abdobasha2004 12-05-2009 12:20 PM

how to know it is working?


All times are GMT. The time now is 07:35 PM.

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.01143 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)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