Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Mar 2017, 19:14
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Combine It - Javascript and CSS optimization - for VB4

http://www.vbulletin.org/forum/showthread.php?t=229530

This would be great to have for vbulletin 4, so I'm putting in a mod request (unpaid). Unfortunately, this mod author hasn't logged in since 2013.

One glaring problem is that it seems to create multiple css files (perhaps one per unique visitor?) in the cache folder. This should be changed to have only one css per template/style to rule them all instead of winding up with thousands of css files. Plus it also seemed to mess up with some css, disfiguring the appearance.

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
Upload contents of upload folder to forum
Create a folder named 'cache' in the forum
Make sure the web server has the appropriate permissions to write to the cache folder
Import product-combineit.xml into vBulletin
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.

Last edited by final kaoss; 12 Mar 2017 at 20:00.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Board Optimization Combine It - Javascript and CSS optimization Menewsha vBulletin 3.8 Add-ons 69 19 Apr 2018 21:23
Board Optimization vB4 SuperCharged - Optimises CSS, Javascript and HTML Darkimmortal vBulletin 4.x Add-ons 683 29 Jan 2017 06:11



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:55.

Layout Options | Width: Wide Color: