vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   What slows a site down? (https://vborg.vbsupport.ru/showthread.php?t=303757)

SPEEDKILLZ 10-24-2013 01:35 AM

What if you open your config.php file and it already has that? And have a second config.php.new?

final kaoss 10-24-2013 01:37 AM

If it has that code in the config then no plugins will be used. Which is what you want to do on a test.

Code:

define('DISABLE_HOOKS', true);
Also, you have alot of js that isn't being gzipped or cached. Your other static content such as images aren't being cached either from the looks of it. My guide can help with that, look in sig.

ozzy47 10-24-2013 01:39 AM

Are you sure it is not commented out, looking like this?

Code:

//define('DISABLE_HOOKS', true);

SPEEDKILLZ 10-24-2013 01:40 AM

http://www.webpagetest.org/result/13...2ZK/1/details/

http://www.webpagetest.org/result/13...etails/cached/

--------------- Added [DATE]1382582448[/DATE] at [TIME]1382582448[/TIME] ---------------

Quote:

Originally Posted by ozzy47 (Post 2455726)
Are you sure it is not commented out, looking like this?

Code:

//define('DISABLE_HOOKS', true);



Yes thats it :erm:

Should the config.php.new still be there?

final kaoss 10-24-2013 01:43 AM

No, you don't need the config.php.new file as long as you have a config.php file there, unless you want to use it as a backup incase you change something that you can't fix in the config.php file.
Quote:

Originally Posted by SPEEDKILLZ (Post 2455727)
http://www.webpagetest.org/result/13...2ZK/1/details/

http://www.webpagetest.org/result/13...etails/cached/

--------------- Added [DATE]1382582448[/DATE] at [TIME]1382582448[/TIME] ---------------





Yes thats it :erm:

Should the config.php.new still be there?


SPEEDKILLZ 10-24-2013 01:47 AM

Quote:

Originally Posted by final kaoss (Post 2455725)
If it has that code in the config then no plugins will be used. Which is what you want to do on a test.

Code:

define('DISABLE_HOOKS', true);
Also, you have alot of js that isn't being gzipped or cached. Your other static content such as images aren't being cached either from the looks of it. My guide can help with that, look in sig.

Thanks i will check it out. really not understanding what the Not being cached is?

final kaoss 10-24-2013 01:49 AM

If you need help implementing the htaccess code, then post your original .htaccess & I'll modify it for you in the guide. Also, here's a explanation of caching.
http://gtmetrix.com/leverage-browser-caching.html
Quote:

Originally Posted by SPEEDKILLZ (Post 2455731)
Thanks i will check it out. really not understanding what the Not being cached is?


SPEEDKILLZ 10-24-2013 01:52 AM

Where will i get the .htaccess? I will post it for you

final kaoss 10-24-2013 01:55 AM

It can be found in the forum root via ftp if you've uploaded one. If you haven't uploaded/made one, then you can just copy/paste the code from the guide into a new one :D
Quote:

Originally Posted by SPEEDKILLZ (Post 2455733)
Where will i get the .htaccess? I will post it for you


SPEEDKILLZ 10-24-2013 01:58 AM

It keep saying upload failed here. I'm lost lol


All times are GMT. The time now is 11:05 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.01077 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)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
  • (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