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)
-   -   Board Optimization - vB4 SuperCharged - Optimises CSS, Javascript and HTML (https://vborg.vbsupport.ru/showthread.php?t=229608)

Darkimmortal 03-01-2010 02:29 PM

It just places .gz files which can be loaded by that Nginx module, or any other webserver which supports a similar feature.

Coincidentally I am using that Nginx module on Windows :)

RedFoxy 03-04-2010 02:47 AM

vsa-chatbox is really slowly to load now... And I'm always connected to the chat not "default not logged in"

RedFoxy 03-04-2010 12:31 PM

another trouble with VSA mods: Advanced Forum Rules

The timer doen't goes

NFLfbJunkie 03-04-2010 07:15 PM

1 Attachment(s)
Don't know if this has been reported but when the MOD is enabled the "New Groups" column on the groups page shows for a second and then disappears. And the column on the blog page (with the three tabs - recent entries, most popular, best blogs) gets pushed to the right. By the way, this is happening in Safari 4 and not IE8.

NFLfbJunkie 03-04-2010 07:27 PM

Setting the "Enable Javascript Optimiser" to NO fixes the problem, but lost some page refresh speed.

Front Range 4x4 03-05-2010 02:58 PM

Installed, made a huge difference along with accompanying suggestions. YSlow shows this as well as the feel from my end. My only question is about this "Grade F on Add Expires headers" I would appreciate suggestions on how to change that.

TIA!

phkk 03-06-2010 08:45 PM

Is this mod like VB optimize for 3.84 ?

Darkimmortal 03-06-2010 10:19 PM

Quote:

Originally Posted by phkk (Post 1998720)
Is this mod like VB optimize for 3.84 ?

No, that does something completely different and separate (I run both). Also it works on 4.0:

https://vborg.vbsupport.ru/showthread.php?t=237325

Quote:

Installed, made a huge difference along with accompanying suggestions. YSlow shows this as well as the feel from my end. My only question is about this "Grade F on Add Expires headers" I would appreciate suggestions on how to change that.
It depends on your web server - google around a bit

reefland 03-07-2010 11:41 PM

What is the best way to understand the page load times with and without this mod? I have firefox and firebug if those provide any benefit.

dihuta 03-13-2010 12:18 AM

Conflit with VSA Advanced Forum Statistics.
Only show "loading..." (Need to turn off Javascript Optimizer).

chriske 03-13-2010 12:49 AM

Quote:

Originally Posted by reefland (Post 1999499)
What is the best way to understand the page load times with and without this mod? I have firefox and firebug if those provide any benefit.

I Just installed a add-on for Firefox (Page Speed)
Check it out.. http://code.google.com/intl/nl/speed/page-speed/

wierdo124 03-13-2010 04:24 PM

Does this make vBulletin pass HTML validation?

Zachery 03-14-2010 01:34 PM

Probably not, and its not that important unless you;re getting serious issues.

doopz 03-17-2010 02:53 PM

Quote:

Originally Posted by HappyFeet (Post 1983167)
Great mod, it has really added speed to my page loads... I noticed that Vsa Top statistics does not work with this mod active, if I disable it the stats work. If I enable it the stats mod only shows "Loading..."

Anyone else have this issue?

Yep same problem here.

YankForum 03-17-2010 06:24 PM

thank you for this great hack , i'm cashing all .css files through htaccess , and it duplicates the speed i wonder if anyone wants it , could add below lines to htaccess , it forces users browsers to cache these certain type of files to be stored in the user's computer and called from there for next visits !

Code:

# cache images/pdf docs for 10 days
<FilesMatch "\.(ico|pdf|jpg|jpeg|png|gif|swf|js|css)$">
  Header set Cache-Control "max-age=864000, public, must-revalidate"
  Header unset Last-Modified
</FilesMatch>


TeknoSounds 03-19-2010 03:38 AM

Such a fantastic mod! However, seems to conflict with a few of VSa's mods... Advanced Forum Stats & Advanced New Posts for certain.

Markos 03-19-2010 09:50 AM

Quote:

Originally Posted by TeknoSounds (Post 2006255)
Such a fantastic mod! However, seems to conflict with a few of VSa's mods... Advanced Forum Stats & Advanced New Posts for certain.

i get the same

Code:

The file /****/*****/scottishexoticreptilesforum.co.uk/httpdocs/clientscript/vbsc.js is empty. Ensure you have the file chmodded as per the installation instructions and run the Compress Javascript under vB4: SuperCharged in your Admin CP.

To prevent issues, your forum is currently running without optimised Javascript as a fallback.

As a last resort if you cannot get this message to disappear, disable the Common Javascript Cache.

and when i disable the common javascript it just makes every thing stick on loading and it slows my chatbox down a bit but if i turn the common java on it speads it up but get that message at the top of the forum and in the Stats box :( need this sorted please

ps2wiz 03-20-2010 08:36 AM

Very good mod, I have been using it and very happy with it!

HOWEVER, another mod that I use just got updated and this mod basically disables it if "Enable Javascript Optimiser" is enabled.

This is the mod I am reffing to:

https://vborg.vbsupport.ru/showthread.php?t=233135

The only javascript related change was that the YUI files are now loading from yahoo and not from the server itself...

way2xtreme 03-26-2010 06:19 AM

1 Attachment(s)
Hi
I first got a msg saying I should try Recomprss CSS.

Then I am getting the following when I try to Compress CSS, any suggestions (please also see attached)?

I am certain I am saving CSS as files. Both vbulletin_css and style00004 directories are 777.


Thanks
WC

Code:

Warning: scandir([path]/clientscript/vbulletin_css/style00004l) [function.scandir]: failed to open dir: No such file or directory in [path]/admincp/vbsc.php on line 239

Warning: scandir() [function.scandir]: (errno 2): No such file or directory in [path]/admincp/vbsc.php on line 239

Warning: Invalid argument supplied for foreach() in [path]/admincp/vbsc.php on line 240

Code:

Writing latest CSS from the database to disk...        Success
An error occurred when reading your CSS files.
Please ensure you have CSS set to be stored on the filesystem and try again.


StarBuG 04-08-2010 01:01 PM

BUG:

Currently in the plugin xml you have hardcoded the path to the AdminCP Folder.
I strongly suggest you use the info from the vbulletin config file for the admincp folder cause otherwise the mod will conflict with other mods that are beeing installed later due to the wrong link to vbsc.php

Took me 1 hour to find the conflict after Installing vB Optimise Pro which broke my forum.

Just a note

And thanks for this mod by the way ;)

StarBuG

fluidswork 04-09-2010 04:38 PM

just another master piece ....

Darkimmortal 04-09-2010 10:02 PM

Version 1.4 released :)

nitra1000 04-10-2010 07:38 PM

Does it work with 4.0.3?

Darkimmortal 04-10-2010 07:46 PM

Yes, that's what I've been testing/running it on :)

Markos 04-11-2010 03:02 AM

seems to be fine so far

hydn 04-11-2010 10:37 PM

Sorry if this question is dumb. :(

Shouldn't there be a vbsc.css in the view source of forum web pages. I did a view source of forume home and only see vbsc.js no vbsc.css

As for css I see this: main-rollup.css shouldn't that be auto replace with vbsc.css?

TeknoSounds 04-12-2010 09:34 PM

Oddly when I have the Google Closure Compiler enabled it tells me the file permissions aren't writable for vbsc.js and vbsc.js.gz even tho they are set to be writable.

Darkimmortal 04-12-2010 10:18 PM

Quote:

Originally Posted by TeknoSounds (Post 2020171)
Oddly when I have the Google Closure Compiler enabled it tells me the file permissions aren't writable for vbsc.js and vbsc.js.gz even tho they are set to be writable.

Presumably it's receiving a blank reply from the API then for whatever reason :/

You don't gain that much really from basic mode closure compiler, so you won't lose much with it off.

Quote:

Sorry if this question is dumb. :(

Shouldn't there be a vbsc.css in the view source of forum web pages. I did a view source of forume home and only see vbsc.js no vbsc.css

As for css I see this: main-rollup.css shouldn't that be auto replace with vbsc.css?
Amalgamation of all the CSS files caused more problems than it was worth (a number of files contain conflicting selectors), so vbsc.css isn't created/used any more. The CSS files vBulletin creates are simply minified in-place and a pre-compressed .gz file created for each.



Also for some reason the thread title refuses to change - it still says 1.3 :S

hydn 04-12-2010 11:28 PM

Quote:

Amalgamation of all the CSS files caused more problems than it was worth (a number of files contain conflicting selectors), so vbsc.css isn't created/used any more. The CSS files vBulletin creates are simply minified in-place and a pre-compressed .gz file created for each.
Is this a one time process for each when an admin clicks "compress CSS" in the admincp? or is there something that also has to be done dynamically during each page load?

ps2wiz 04-13-2010 06:05 AM

Any instructions on how to get Attachment Optimiser operating on IIS7?

Thanks

Darkimmortal 04-13-2010 02:32 PM

Quote:

Originally Posted by hydn (Post 2020227)
Is this a one time process for each when an admin clicks "compress CSS" in the admincp? or is there something that also has to be done dynamically during each page load?

The actual minifying is a one-time process which can be run manually via 'Compress CSS' but will also run when you save a template or import a product. During page load a few regexes redirect references to css.php directly to the saved files, but these are pretty light.

Quote:

Originally Posted by ps2wiz (Post 2020360)
Any instructions on how to get Attachment Optimiser operating on IIS7?

Thanks

It should 'just work' in most browsers, but for maximum compatibility you should look up how to add custom headers and search for .png anywhere in the URL (specifically the query string) and set the content-type to image/png, and the same for gif and jpg. I've never used IIS7 so I can't really say specifically how to do that.

Ljusya 04-13-2010 05:25 PM

When i try to comprees javascript -
Fatal error:Call to undefined function curl_init() in /var/www/mamas/data/www/test1.mamas.ru/admincp/vbsc.php on line 88

Darkimmortal 04-13-2010 05:38 PM

Either enable the CURL extension or disable Google Closure Compiler in the vB4:SC settings. You won't be much worse off with the latter.

aj8690 04-13-2010 10:30 PM

Not sure if this has been reported yet, but the "Javascript Optimiser" causes the new Facebook Connect functionality in 4.0.3 to not work.

Darkimmortal 04-14-2010 01:54 PM

Quote:

Originally Posted by aj8690 (Post 2020804)
Not sure if this has been reported yet, but the "Javascript Optimiser" causes the new Facebook Connect functionality in 4.0.3 to not work.

Not for me :/

Have you got the common javascript cache enabled and done compress javascript since updating to 4.0.3?

YankForum 04-14-2010 02:14 PM

tnx for update
keep it up plz

aj8690 04-14-2010 09:47 PM

Quote:

Originally Posted by Darkimmortal (Post 2021141)
Not for me :/

Have you got the common javascript cache enabled and done compress javascript since updating to 4.0.3?

Yes, I have done the compress javascript multiple times after upgrading. I have all of the settings set to "yes" except "Enable Attachment Optimiser," and the Facebook connect image does not even show up. As soon as I set "Enable Javascript Optimiser" to "No," it works perfectly.

Edit: It appears to be a conflict with this plugin and vBSEO. If I have just vBSEO enabled, FB connect works fine. If I have just this plugin enabled, FB connect works fine, but if I have them both enabled, it breaks it. Any suggestions? :D

reefland 04-14-2010 11:03 PM

Hi Darkimmortal,

I came across a bug and wanted to get your thoughts. With vbsc Javascript compression enabled, if I upload 2 images to the asset manager and try to insert them inline at the same time, I get a JS error and only 1 of the two images are inserted. With the javascript compression off, the error does not display and both images insert inline. This occurs on the forum and the CMS. Thoughts?

ThorstenA 04-18-2010 05:29 AM

Not workig with Google Admanager.

The banners are served in <body> by a <script ...></script> statement. Before that statement, another script should be executed, but this mod puts this other script in the footer.

Darkimmortal 04-18-2010 11:04 AM

Could you post/send me the code for the script that gets moved?


All times are GMT. The time now is 10:30 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.02251 seconds
  • Memory Usage 1,830KB
  • 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
  • (4)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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