View Full Version : Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite)
MissKalunji
12-21-2008, 04:19 AM
working so far on 3.7.4 :) i do notice it going faster and the main page dropped down by 3 queries
before
Page generated in 0.34155 seconds with 15 queries
after
Page generated in 0.91025 seconds with 13 queries
Even Vbadvanced
was 16 queries now it is
Page generated in 0.18777 seconds with 14 queries
Good Job *nominate*
Only one thing is it normal the the page generated time is higher then before? is it just because i just finish installing?
BeoRski
12-21-2008, 04:28 AM
Working like a charm on my forums (iSTORYA.NET Forums (http://www.istorya.net/forums/))... nginx + php-fcgi + vbseo + vbulletin 3.7.4 PL1 + memcached + eaccelerator
Excellent support: Voted :)
Deceptor
12-21-2008, 04:33 AM
MissKalunji, what method are you using? Filecache method will add to your generation time slightly, and more so if your servers hard drive is getting a lot of use or isn't fast. If you can try use one of the other available methods.
Regarding vBAdvanced, the next version released will have an option to integrate with vBAdvanced and seriously knock off a lot of queries it executes. Taking a little longer than I expected due to the lack hooks they've provided, that and I won't break the no file edit part of this mod :)
MissKalunji
12-21-2008, 04:34 AM
MissKalunji, what method are you using? Filecache method will add to your generation time slightly, and more so if your servers hard drive is getting a lot of use or isn't fast. If you can try use one of the other available methods.
Regarding vBAdvanced, the next version released will have an option to integrate with vBAdvanced and seriously knock off a lot of queries it executes. Taking a little longer than I expected due to the lack hooks they've provided, that and I won't break the no file edit part of this mod :)
uhm my server came with zend never thought about changing i would hate to break anything....
what other available methods?
as for hard drive...as in uploaded videos, music, pictures etc?
Deceptor
12-21-2008, 04:41 AM
Changing the cache method won't break anything :) vB Optimise will check you have the required extension on your server required before applying the setting, if your unsure maybe ask your host to install XCache :)
As for hard drive, I meant your servers hard drive :)
Deceptor
12-21-2008, 04:49 AM
Upcoming Update
In the next update, I've focused on vBAdvanced. It's a popular modification I've seen but at the cost of resources due to the amount of data it can display. In the example below, I show you what vB Optimise has done to a default vBAdvanced installation on my test vBulletin 3.8 forum.
vBAdvanced CMPS Index Page - vB Optimise DISABLED, vB Optimise vBAdvanced Integration DISABLED
Page Generation 0.09400 seconds, Memory Usage 1,136KB, Queries Executed 15
vBAdvanced CMPS Index Page - vB Optimise ENABLED, vB Optimise vBAdvanced Integration DISABLED
Page Generation 0.06647 seconds, Memory Usage 1,244KB Queries Executed 13
Now for the important part...
vBAdvanced CMPS Index Page - vB Optimise ENABLED, vB Optimise vBAdvanced Integration ENABLED
Page Generation 0.05494 seconds, Memory Usage 1,251KB, Queries Executed 5
I'm still currently testing all aspects of the vBAdvanced Integration switch coming in the next release, but I am very excited about the results, and I hope it'll have a great impact on your forums :)
Vitaly
12-21-2008, 05:22 AM
Found 1 inconvenient thing: when created new infraction type in admincp, got empty string instead of desctiption. All become ok after cache flush.
It's not a problem to flush cache for users when finished, but it's a big problem when you apply modification and don't see result in acp. Don't know, if it's possible, but it would be good to disable vbopt for acp.
Deceptor
12-21-2008, 05:24 AM
I'll see about adding in more hook locations to drop stale cache when data is updated Vitaly :)
shlomot
12-21-2008, 05:34 AM
I strongly recommend that we will all vote this MOD as MOTH for the rare combination of excellence of product and service.
There are good MODs out there and there are developers who offer a great service. However, a second-to-none performance on both planes doesn't come easy.
Radek125
12-21-2008, 05:39 AM
Simply amazing mod. Installed and nominated. http://www.afraidyet.net/forums/
:)
Cannot wait for the vBAdvanced changes.
chooky
12-21-2008, 05:52 AM
Yes please public the vbadvanced changes, very good job guy. Nominated!
shlomot
12-21-2008, 06:05 AM
Thanks for this initiative.
Is it a major deal to apply vBadvanced support for its Dynamics and Link Directory products as well?
Upcoming Update
In the next update, I've focused on vBAdvanced. It's a popular modification I've seen but at the cost of resources due to the amount of data it can display. In the example below, I show you what vB Optimise has done to a default vBAdvanced installation on my test vBulletin 3.8 forum.
vBAdvanced CMPS Index Page - vB Optimise DISABLED, vB Optimise vBAdvanced Integration DISABLED
vBAdvanced CMPS Index Page - vB Optimise ENABLED, vB Optimise vBAdvanced Integration DISABLED
Now for the important part...
vBAdvanced CMPS Index Page - vB Optimise ENABLED, vB Optimise vBAdvanced Integration ENABLED
I'm still currently testing all aspects of the vBAdvanced Integration switch coming in the next release, but I am very excited about the results, and I hope it'll have a great impact on your forums :)
Deceptor
12-21-2008, 06:08 AM
With Dynamics and Link Directory being paid modifications, I haven't been able to get them myself, and with them being paid I'm not too sure how popular they are really. If they wanted they could send me copies of the scripts so I could integrate vB Optimise into them, yay for freebies :p
logicuk
12-21-2008, 07:37 AM
Upcoming Update
In the next update, I've focused on vBAdvanced. It's a popular modification I've seen but at the cost of resources due to the amount of data it can display. In the example below, I show you what vB Optimise has done to a default vBAdvanced installation on my test vBulletin 3.8 forum.
vBAdvanced CMPS Index Page - vB Optimise DISABLED, vB Optimise vBAdvanced Integration DISABLED
vBAdvanced CMPS Index Page - vB Optimise ENABLED, vB Optimise vBAdvanced Integration DISABLED
Now for the important part...
vBAdvanced CMPS Index Page - vB Optimise ENABLED, vB Optimise vBAdvanced Integration ENABLED
I'm still currently testing all aspects of the vBAdvanced Integration switch coming in the next release, but I am very excited about the results, and I hope it'll have a great impact on your forums :)
HOLY S**T
This is going to be amazing, i didnt think this addon could get any better!
Keep up the amazing work your doing Deceptor you rock!!! :)
I strongly recommend that we will all vote this MOD as MOTH for the rare combination of excellence of product and service.
There are good MODs out there and there are developers who offer a great service. However, a second-to-none performance on both planes doesn't come easy.
100% agreed :)
logicuk
12-21-2008, 08:04 AM
With Dynamics and Link Directory being paid modifications, I haven't been able to get them myself, and with them being paid I'm not too sure how popular they are really. If they wanted they could send me copies of the scripts so I could integrate vB Optimise into them, yay for freebies :p
What about photoplog pro? i can supply it.
(paid vb photo gallery)
And vbclassified (paid vbulletin auction addon) i can also supply this.
Deceptor
12-21-2008, 08:09 AM
logicuk, while I thank you for the offer, I'd rather get permission from the authors of these modifications as I doubt they'd take too kindly to me recieving all this from their clients.
logicuk
12-21-2008, 08:11 AM
logicuk, while I thank you for the offer, I'd rather get permission from the authors of these modifications as I doubt they'd take too kindly to me recieving all this from their clients.
Well i have paid to use these addons, if i want to let you take a look at them so you can include vbOptimise thats fine, you dont have to ask the authors :)
ps. the author of vbclassifieds is a very bad guy, never around, no support, and badly coded script.
Then you shouldn't be using the vbclassifieds script..
Deceptor, I'm really, really excited about vBadvanced integration. I was actually just going to go over there and bother Brian into figuring out how to incorporate this very thing into his products, but hey, as long as someone is supplying it. :)
I do wonder why vBa even uses so many queries.... I've looked through all the non-module code and I don't really understand the use of all the overhead that he introduces.. It all seemed unnecessary to me. *shrug*
Deceptor
12-21-2008, 09:47 AM
I'll keep it in mind logic, thanks :)
Update: v1.3.0 released, see the changelog for more details, and here you will find how this change can impact vBAdvanced (in a positive way, ofcourse ;)): https://vborg.vbsupport.ru/showpost.php?p=1690074&postcount=258
logicuk
12-21-2008, 09:52 AM
Deceptor if you need a paypal donation to do the photoplog and vbclassifieds shoot me a pm :)
your the greatest!
just installing 1.3 now :)
I'll keep it in mind logic, thanks :)
Update: v1.3.0 released, see the changelog for more details, and here you will find how this change can impact vBAdvanced (in a positive way, ofcourse ;)): https://vborg.vbsupport.ru/showpost.php?p=1690074&postcount=258
Hahahaha.. It seems like every time I post saying "Look forward to...", you release it next post!
:)
Deceptor
12-21-2008, 09:53 AM
Thanks logic, my next task though will be looking deeper into vBSEO, from what I understand that too can add a fair amount of queries, most of which aren't even showen as they occur in invisible redirects, be great if big boards could use vBSEO without a hitch (lol, no, I don't work for vBSEO, despite the sales pitchy sound).
Also, your welcome tmc :)
logicuk
12-21-2008, 10:03 AM
Hey Deceptor ive just installed the new version and changed all my vbadvanced modules to be cached for 60secs
but nothing seems to have improved heres my results before
* Page Generation 0.13058 seconds
* Memory Usage 12,350KB
* Queries Executed 24 (?)
and here's after
* Page Generation 0.13258 seconds
* Memory Usage 12,355KB
* Queries Executed 24 (?)
`
Deceptor
12-21-2008, 10:05 AM
Woah, don't cache all your vBAdvanced modules, check the FAQ :)
Also, enable debug mode on your forum and pass me a link (maybe you could activate my old login on your forum?), i'll gladly take a look and see what you can cache safely :)
dtv100
12-21-2008, 10:09 AM
so far working great on 3.7.4.
logicuk
12-21-2008, 10:11 AM
Woah, don't cache all your vBAdvanced modules, check the FAQ :)
Also, enable debug mode on your forum and pass me a link (maybe you could activate my old login on your forum?), i'll gladly take a look and see what you can cache safely :)
Done, old account is made thanks mate
btw i cached all my active vba modules to 60secs
Deceptor
12-21-2008, 10:13 AM
Hey logic,
I don't see debug info, could you enable it from config.php? :)
Just add this:
$config['Misc']['debug'] = 1;
Hugo Holbling
12-21-2008, 10:13 AM
I just want to offer yet another thank you for this. As well as the code itself, it has helped me understand which optimisation settings I wasn't using. Since installing this, it has had a dramatic impact for me. :up:
Like logicuk, I'd appreciate it if you could look at Photoplog if you get a chance.
If you can enable paypal donations I'll gladly make one. :)
logicuk
12-21-2008, 10:15 AM
Hey logic,
I don't see debug info, could you enable it from config.php? :)
Just add this:
$config['Misc']['debug'] = 1;
i just set you to see debug mode with the vb addon, saves me editing my config, thanks
Deceptor
12-21-2008, 10:16 AM
Hey logic, unfortunately that addon doesn't work too well since it doesn't enable me to see all the debug messages, which is why it's best to do it from config :)
logicuk
12-21-2008, 10:22 AM
Hey logic, unfortunately that addon doesn't work too well since it doesn't enable me to see all the debug messages, which is why it's best to do it from config :)
ok that will be done in 2secs :)
Deceptor
12-21-2008, 10:25 AM
Thanks logic, that did the trick.
Your issue is you're running vBA CMPS v3.0.1, this will only work 3.1.0 I'm afraid, but if you update it'll start caching your modules then, but as I said before, don't go cache all modules, read the FAQ :)
logicuk
12-21-2008, 10:28 AM
Thanks logic, that did the trick.
Your issue is you're running vBA CMPS v3.0.1, this will only work 3.1.0 I'm afraid, but if you update it'll start caching your modules then, but as I said before, don't go cache all modules, read the FAQ :)
Ahh ok thanks
if i update vba will it break any of my custom mods?
Deceptor
12-21-2008, 10:31 AM
You'd have to check with vBA really, I'm not sure what changed between 3.0.1 to 3.1.0.
logicuk
12-21-2008, 10:39 AM
You'd have to check with vBA really, I'm not sure what changed between 3.0.1 to 3.1.0.
ok thanks im looking into upgrading and will get back to you when ive done it,
thanks again :)
Deceptor
12-21-2008, 10:40 AM
No problem, if you get upgraded fine, let me know how it goes :)
I got down to 6 queries after caching the modules... How'd you get down to 5? :)
Also, "Today's Birthdays" doesn't like it very much. The list of names shows up outside of the module.
Sort of like so:
Username (21)
``````````````````````|
Today's Birthdays ----|
______________________|Not that it matters much to me.. I don't use that module on my production site. But just putting it out there. :)
I also notice this breaks the alternating colors of the modules. Some of Brian's modules remember the last "ALT" color and so what should be ALT1 ends up being ALT2 if, say, the module before it becomes cached.
I guess not much you can do about that though.
---
Edit: And nothing shows up in the Breadcrumb on the cmps_index page... I only get the "https://vborg.vbsupport.ru/external/2010/10/1.gif" image.
Deceptor
12-21-2008, 10:43 AM
tmc - Some of the default vBA modules act weird because of variables passed, as for getting down to 5 queries, look at my FAQ to see which modules I cached. There may be something else causing your 6th query since I have nothing else on the test forum other than vB Optimise and vBAdvanced.
As for the alternating colours, I'll see what I can do to patch that, could you tell me how to replicate the issue? :)
As for the reduction, 6 queries sounds great, how many was it before vB Optimise? :)
Eek. You're too fast. :) I posted another issue in my previous post.
There's nothing to replicate with the alternating row colors.. You'll just notice that a module is one color when the page is uncached (say ALT1) and it becomes ALT2 the next time the page is cached.
Deceptor
12-21-2008, 10:49 AM
Gotcha, I'll see what I can do about the colours :)
As for the breadcrumb, I'm not able to replicate myself, try flush cache to see if that fixes the issue. Or disabling cache on modules until it comes back, so you can see which module cache is causing the issue.
Errrr.....
Now I'm getting this in my ACP
Sorry, you don't have permission to access the administrative controls on this page.
If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.
Deceptor
12-21-2008, 10:51 AM
Where abouts is that occuring exactly?
If you want to PM me an admin login to your forum I'll take a look :)
Issue resolved though. I'm not exactly the brightest.. My testvb is an imported board and when I logged back in (I logged out to make sure the phrases weren't disappearing), I accidentally logged back in with my imported Admin name, not my new one (userid = 1)
doh! Sorry. I immediately attributed it to the ACP caching... :)
Deceptor
12-21-2008, 10:57 AM
Glad to hear it wasn't the root the issue :) Let me know if you find the module cache causing breadcrumb issue :)
veenuisthebest
12-21-2008, 11:14 AM
NOW... this is a real update man!
Installed 1.3.0 and brought down to 6 queries from 12 on vbadvanced page on main site :eek:
Who know what else is on our way, You're going to kill me deceptor :D
Deceptor
12-21-2008, 11:16 AM
Don't die yet veenuisthebest, this has only been around for a few days now, still plenty of room for improvement :)
Deceptor
12-21-2008, 11:31 AM
Update: I've fixed the minor issue with cached vBAdvanced modules not switching between alt1/alt2 correctly :)
veenuisthebest
12-21-2008, 12:19 PM
deceptor, i have a small question.
Would it make sense to also cache vba modules that DO HAVE php files ofcourse, but no queries in them?
Thanks
Hostboard
12-21-2008, 12:25 PM
Updated. Set Navigation to on and 300 as a time. Went to page and the background color changed from the default white to bluish hue.
Deceptor
12-21-2008, 12:42 PM
Host - I can see that occuring the first time it caches, but when it calls from cache it fixes itself, if you're continually setting that issue, your cache is not working right, check your vB Optimise debug messages in vBulletin Debug info (you need to enable it). Regardless i will resolve the issue where on first cache the background is odd.
veenu - Depends on the module, if the module is simply pulling a template, there won't be much impact, but if it's doing a lot of php processing then yes, since it'll save all the need for that processing.
KevinL
12-21-2008, 12:51 PM
My CMPS went from 24 down to 11 using your suggestions...sweet :)
Mind you right now it's just the default install of cmps with all the modules on...
Deceptor
12-21-2008, 12:52 PM
KevinL - It will work fine with most custom modules if they are using php files, and don't do anything out of the ordinary :)
Thanks logic, my next task though will be looking deeper into vBSEO, from what I understand that too can add a fair amount of queries, most of which aren't even shown as they occur in invisible redirects, be great if big boards could use vBSEO without a hitch (lol, no, I don't work for vBSEO, despite the sales pitchy sound).
Also, your welcome tmc :)
vbseo optimization would be icing on the cake :)
logicuk
12-21-2008, 01:34 PM
Deceptor ive just upgraded to vba 3.1.0 :) can you help me tweak the settings now? thanks
Deceptor
12-21-2008, 01:39 PM
Hey logic, setup the same login with vBa access and debug mode and I'll see what I can do for yah :)
logicuk
12-21-2008, 01:41 PM
Hey logic, setup the same login with vBa access and debug mode and I'll see what I can do for yah :)
ok thanks alot, just done that :)
Deceptor
12-21-2008, 01:48 PM
Hey logic, I took a look, and while it seems you've updated, you don't have the hook "vba_cmps_fetch_vba_module". Did you forget to upload any XML files with vBA or re-install the product XML?
Without this hook the cache won't work for vBA.
logicuk
12-21-2008, 01:51 PM
Hey logic, I took a look, and while it seems you've updated, you don't have the hook "vba_cmps_fetch_vba_module". Did you forget to upload any XML files with vBA or re-install the product XML?
Without this hook the cache won't work for vBA.
I downloaded vba 3.1
Uploaded all files to my server, ran http://yoursite.com/forum/admincp/vbacmps_install.php
like they said in the readme
There is no new xml product to re-install
Deceptor
12-21-2008, 01:52 PM
Check the ./includes/xml/hooks_vbacmps.xml, there should be a 'vba_cmps_fetch_vba_module' part in there on your forum.
logicuk
12-21-2008, 01:55 PM
Check the ./includes/xml/hooks_vbacmps.xml, there should be a 'vba_cmps_fetch_vba_module' part in there on your forum.
That file is there :)
<?xml version="1.0" encoding="ISO-8859-1"?>
<hooks>
<hooktype type="vba_cmps">
<hook>vba_cmps_fetch_vba_module</hook>
Deceptor
12-21-2008, 01:55 PM
Right, but does it contain the text: vba_cmps_fetch_vba_module ? :)
logicuk
12-21-2008, 01:58 PM
Right, but does it contain the text: vba_cmps_fetch_vba_module ? :)
yep thats there i just edited my post above
Deceptor
12-21-2008, 01:59 PM
Yeah just checked out your plugins, they are showing there, but vBAdvanced is not calling the plugin, not sure exactly why. Would it be possible to get FTP info to check out the vBA files? I'll understand if you're not cool with that :)
logicuk
12-21-2008, 02:00 PM
Yeah just checked out your plugins, they are showing there, but vBAdvanced is not calling the plugin, not sure exactly why. Would it be possible to get FTP info to check out the vBA files? I'll understand if you're not cool with that :)
pm sent.
Deceptor
12-21-2008, 02:05 PM
Hey logic,
Thanks, no longer need that though, I found you issue to be a vBA Setting: Process PHP File Modules Within A Function
This was off, I've turned it on now for you and I'll begin caching some of your modules to improve performance :)
Deceptor
12-21-2008, 02:09 PM
Hey logic,
I've cached some of your modules, your homepage queries went down from 22 to 16, there could be a couple more saved but caching a couple of your modules made them display differently, probably because these are custom modules and do something out of the ordinary :)
All in all, major improvement methinks, especially since if I turn off vB Optimise, it goes upto 26 queries, so 10 queries saved in all! :)
logicuk
12-21-2008, 02:14 PM
Hey logic,
I've cached some of your modules, your homepage queries went down from 22 to 16, there could be a couple more saved but caching a couple of your modules made them display differently, probably because these are custom modules and do something out of the ordinary :)
All in all, major improvement methinks, especially since if I turn off vB Optimise, it goes upto 26 queries, so 10 queries saved in all! :)
Thanks so much mate, now add a paypal button to this thread so we can start donating :)
nascartr
12-21-2008, 02:15 PM
Logics site just keeps getting faster by the day!
Deceptor
12-21-2008, 02:22 PM
Donation email up, thanks :)
logicuk
12-21-2008, 02:27 PM
Donation email up, thanks :)
I will be making a nice donation in the next few days, just waiting for some funds to hit my paypal
(i never keep money in paypal)
Thanks D
Deceptor
12-21-2008, 02:29 PM
Much appreciated logic, enjoy the mod! :)
logicuk
12-21-2008, 02:43 PM
Much appreciated logic, enjoy the mod! :)
No worrys i will be sending a $100 donation
Get yourself something for xmas or the misses :)
Deceptor
12-21-2008, 02:45 PM
Wow, that's some donation man. You sure? I'm not ungreatful like, just wasn't expecting that at all.
That has to be like, a record donation.
logicuk
12-21-2008, 02:55 PM
Wow, that's some donation man. You sure? I'm not ungreatful like, just wasn't expecting that at all.
That has to be like, a record donation.
Well this hack has made my forum much faster so im grateful
and i will also make another $100 donation if the photoplog and vbclass things gets done :)
And everyone else dont be tight, put your hand in your pocket and give this guy some $$$
Deceptor
12-21-2008, 02:56 PM
Thanks man :)
And all in due time, I'm far from finished with this modification.
logicuk
12-21-2008, 03:00 PM
Thanks man :)
And all in due time, I'm far from finished with this modification.
Long live Deceptor lol :)
Bounce
12-21-2008, 03:12 PM
Any plans for vbportal lol :eek::D
Deceptor
12-21-2008, 03:14 PM
Does vBPortal work for 3.8? :)
logicuk
12-21-2008, 03:22 PM
Here's my wish list:
vb seo
Photoplog Pro
vbclassified
Bounce
12-21-2008, 03:23 PM
Does vBPortal work for 3.8? :)
Yes my sites running it (http://www.hibeesbounce.com/modules/Jig/index.php)
and would photopost gallery (http://www.hibeesbounce.com/gallery) have any queries that could be cut down?
logicuk
12-21-2008, 03:24 PM
Yes my sites running it (http://www.hibeesbounce.com/modules/Jig/index.php)
and would photopost gallery have any queries that could be cut down?
D will take a look at photoplog pro after hes done vb seo he said earlier :)
Bounce
12-21-2008, 03:26 PM
D will take a look at photoplog pro after hes done vb seo he said earlier :)
ahh sound mate,trying to keep up with this thread,its going so fasttttttttttttttttttttt :D
veenuisthebest
12-21-2008, 03:35 PM
I have an idea deceptor,
Won't it be cool, if developers can create their OWN addons for vB Optimise?
This way we can build our own addons for vboptimise with its own special syntax and rules to cache queries for custom scripts.
SO, instead of integrating each and every script to vboptimise, you can create some default addons for popular scripts like vbseo, vbgallery, vbportal etc. Those who have them, will use it, others won't be affected by it at all NOR it would increase the size of vb optimise (which would be the base for all). vbadvanced option should also be like that, as not everybody uses it.
I hope you got me. For an example, check out how vBSEO Sitemap generator has the addon feature to create our own sitemap generator scripts for custom mods.
This would also help keeping vb optimise script untouched and intact.
Thanks
rareclownfish
12-21-2008, 03:39 PM
Does vBPortal work for 3.8? :)
Yes it does, I'm running both live.
Deceptor
12-21-2008, 03:44 PM
veenus - This is what I'm working towards, I just wanted to introduce some major modifications into it first to get the ball rolling :)
As it stands now, a mod author could easily integrate vB Optimise into their system without the need for hook locations, the vBAdvanced integration was an example of this, as a single file housed the means to plug into hooks, store and serve cache, and manage settings for module cache data. :)
GlitterKill
12-21-2008, 03:56 PM
On my 3.7.3 PL1 forum I am running these various performance improving products and everything works happy together. My question is (yes, I know you don't guarantee it works with versions other than 3.8 :) ), which of the following products can this one product of yours replace since it does the same thing (more or less)? And, which would be worth running in tandem (if possible) with your vB Optimise product since they provide a tweak yours doesn't (yet)? ;)Plugin Based Template Cache - 1.0.3 - Plugin based Template-to-File cache without file modification
Vbulletin Template Compressor - 3.5.0 - Compresses Your Templates Statically
My other question involves using more than one cache method with your product. I already use memcache as my temp datastore via the standard VB implementation ( ala config.php) and I use eAccelerator (version pasted below) as my server-wide php caching application. eAccelerator has been flawless since install; excellent boost in performance and reduction in server load with ZERO fuss to date. When selecting the cache method for your product, which would be the correct one for the best speed boost? :) Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.0.11, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.0, Copyright (c) 1998-2006, by Zend Technologies
This product looks absolutely perfect for high traffic forums and/or forums that are a bit heavy on the mods. :) I am excited to give it a shot; I just want to make sure it is done right the first time around.
Originally Posted by hIBEES https://vborg.vbsupport.ru/external/2011/11/11.gif (https://vborg.vbsupport.ru/showthread.php?p=1690389#post1690389) Yes my sites running it (http://www.hibeesbounce.com/modules/Jig/index.php)
and would photopost gallery have any queries that could be cut down?
D will take a look at photoplog pro after hes done vb seo he said earlier :)
Just remember that Photoplog Pro and Photopost Pro are two completely different animals. You would make MANY people happy with some Photopost tweaks. There are quite a few users (including myself) that use Photopost with VBulletin (as well as VBSEO). :) I have been running a VB/Photopost setup for over 4 years now and have tried Photoplog quite a bit. Photopost is the most feature-rich and versatile gallery I have ever used.
So for a wish list of products to optimize, it would have to be these since they are the ones I have come to rely on. :)
Photopost Pro
VBSEO
DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)
vBadvanced CMPS
vBulletin Blog (http://www.vbulletin.com/features_blog.php)
ibPro Arcade
Deceptor
12-21-2008, 03:58 PM
GlitterKill, the first mod you mentioned can be dropped, as vB Optimise does this for you already.
As for template compressor, you could keep that, but you might have to update that cache then vB Optimise cache for them both to work together.
Lastly, regarding your cache systems, give them both a try, see which feels best and what kinda page generation times you get :)
SBlueman
12-21-2008, 04:03 PM
Went to go save the vb Optimize setting in a vbAdvanced module and I got this error:
Fatal error: Call to undefined function save_settings() in /home/sblueman/public_html/forums/includes/class_activecache_vbadvanced.php on line 74
Deceptor
12-21-2008, 04:05 PM
SBlueman - What version of vBulletin are you running? :)
logicuk
12-21-2008, 04:12 PM
So whats planned for the next version d ?
Deceptor
12-21-2008, 04:17 PM
Well I'll be looking towards vBSEO, but I'll have a few other little things pushed in, ofcourse, this will all be revealed later.
Right now though, I'm close to heading to bed and passing out =)
TheLastSuperman
12-21-2008, 04:18 PM
Quick Question... out of the new features you keep adding, is there one or two that are now added making it more incompatible w/ previous versions?
I'm just hesitant to update due to that although I would not think so but best bet is to let the author explain ;) however I also thought if so, maybe you should cut it short then and release for previous versions now before it comes incompatible and still develop it for newer versions allowing the 3.6 & 3.7 users a stable version that will help while the 3.8 advances further???
Thanks!
S-MAN
Deceptor
12-21-2008, 04:19 PM
TheLastSuperman - Any new additions are always optional, so you can upgrade and disable anything incompatible, that said, I've yet to see any proof of a lower version of vB causing issues, if I do and the fix is relatively simply I'll patch it :)
TheLastSuperman
12-21-2008, 04:20 PM
Good to hear! thanks for the quick reply AND I'm sure everyone appreciates your dedicated support! Now get to bed lol... we can wait until tomorrow :D
S-MAN
Edit: Aye! don't want to invade the thread w/ comments lol BUT once again, that's greatly appreciated (comment you made below this post) :D
Deceptor
12-21-2008, 04:22 PM
Don't worry, I'll be off soon :p Just like to make sure new releases go smooth and there's no major issues to resolve :)
SBlueman
12-21-2008, 04:25 PM
SBlueman - What version of vBulletin are you running? :)
3.6.8 over here. :D:up:
Deceptor
12-21-2008, 04:29 PM
I'll see about getting that fixed tomorrow SBlueman, for now I'd suggest leaving vBAdvanced Integration off :)
Deceptor
12-21-2008, 04:30 PM
Version 1.3.2 released, this just fixes a minor issue with cell colours for vB Advanced modules when they are initially cached, see change log for further details :)
klaush
12-21-2008, 04:52 PM
Great stuff, thanks..., but with one issue.
When the admin receives the email about a new user registration the sender of this email is shown as normal in every email program.
Whem enabling "vB Optimise: Cache Phrases" the sender of the notify email is cut off.
Please see the attachments.
Any idea?
Deceptor
12-21-2008, 04:54 PM
klush - I'll take a look at this to get the issue resolved, probably be tomorrow. For now I'd reocmmend disabling phrase cache since you'll want the functionality, and it won't hurt too much since vB Optimise can do so much more elsewhere :)
klaush
12-21-2008, 04:56 PM
No problem and take your time! This stuff is anyway amazing!
klush - I'll take a look at this to get the issue resolved, probably be tomorrow. For now I'd reocmmend disabling phrase cache since you'll want the functionality, and it won't hurt too much since vB Optimise can do so much more elsewhere :)
SBlueman
12-21-2008, 04:57 PM
I'll see about getting that fixed tomorrow SBlueman, for now I'd suggest leaving vBAdvanced Integration off :)
Got it, thanks!
ImmortalForums
12-21-2008, 05:17 PM
Can this automatically clear the phrase cache when the bitfields are rebuilt?
MrZeropage
12-21-2008, 05:36 PM
your updates are very frequently, just saw 1.2.0 and waited and saw 1.3.0 and got to download, found 1.3.1 and updated to it - and now it is 1.3.2
good work :)
mindhunter77
12-21-2008, 06:21 PM
Strange problem,
I have eAccelerator installed and working, I verified it setup and working, yet when I try and select it I get this message
vB Optimise: You have selected a cache method that vB Optimise has detected you cannot use, this may be because the extension required is either not installed or active on your server.
tpearl5
12-21-2008, 11:36 PM
Well I'll be looking towards vBSEO, but I'll have a few other little things pushed in, ofcourse, this will all be revealed later.
Right now though, I'm close to heading to bed and passing out =)
What do you have in mind for vbSEO? :)
MarkJW
12-22-2008, 12:41 AM
Yeah, I have vbSEO set up and running and using the same Memcached server that my vBulletin uses. What have you got planned for the vbSEO masters? >:3
:excited:
installed and nominated MOTM! :D
veenuisthebest
12-22-2008, 04:47 AM
Great stuff, thanks..., but with one issue.
When the admin receives the email about a new user registration the sender of this email is shown as normal in every email program.
Whem enabling "vB Optimise: Cache Phrases" the sender of the notify email is cut off.
Please see the attachments.
Any idea?
Yeah i can reproduce this bug. The Sender phrase and the Referrer phrase show as _
Code Monkey
12-22-2008, 06:05 AM
Most excellent work. Best Hack I have seen in a long time.
Alp Ozdemir
12-22-2008, 07:39 AM
Congratulations! really cool.. I agree with you CodeMonkey.
Bounce
12-22-2008, 08:46 AM
What do you have in mind for vbSEO? :)
I'm not sure but i'm sure vbSEO uses lots of resources?
Vitaly
12-22-2008, 12:17 PM
Tested a bit on my server, as promissed. Didn't found noticeable difference: server load (average) unchanged, page generation time (average) unchanged.
May be, I do somerthing wrong :)
Probably, effect can be gained in 2 cases:
- on apache+modphp, with bunch of active processes.
- if additionad mods are written dirty.
Config: (php 5.2.6/eaccelerator/nginx) + (vb3.7.4/vbseo/memcached) + (Core Quad 6600 / 4Gb Ram)
Top = 1.5 (100% = 4)
~200 000 php page hits dayly.
logicuk
12-22-2008, 12:19 PM
You must be doing something wrong , i have nearly the same setup as you and dual core server 4gb ram and ive noticed my forum is like 30% faster and all my members say its faster aswell :)
Vitaly
12-22-2008, 12:27 PM
You must be doing something wrong , i have nearly the same setup as you and dual core server 4gb ram and ive noticed my forum is like 30% faster and all my members say its faster aswell :)
If i'm correct, you have incredible number of queries at first page and not optimized modifications. In this case vboptimize should help, surely.
veenuisthebest
12-22-2008, 12:48 PM
Tested a bit on my server, as promissed. Didn't found noticeable difference: server load (average) unchanged, page generation time (average) unchanged.
May be, I do somerthing wrong :)
Probably, effect can be gained in 2 cases:
- on apache+modphp, with bunch of active processes.
- if additionad mods are written dirty.
Config: (php 5.2.6/eaccelerator/nginx) + (vb3.7.4/vbseo/memcached) + (Core Quad 6600 / 4Gb Ram)
Top = 1.5 (100% = 4)
~200 000 php page hits dayly.
Don't you find a reduction in the number of queries?
KevinL
12-22-2008, 01:06 PM
I found a lot better results using the xcache method then memcache so far.
Deceptor
12-22-2008, 01:34 PM
mindhunter77 - If vB Optimise is reporting an issue with eAccelerator, chances are eAccelerator not working correctly. Might wanna check your setup, or ask your host for assistance.
Vitaly - I make no claim to instantly reduce server load, but it may impact it if vB Optimise has done a lot of optimisation ontop of what you had before, so a reduction of two queries wouldn't be significant enough - that said it depends on the amount of users you have active and your server. What cache method are you using?
KevinL - I'd agree, XCache does seem to be slightly better than memcache, mostly with page generation time :)
As for what I intend to do with vBSEO, the same as vBAdvanced really, optimise.
wolfstream
12-22-2008, 01:37 PM
Strange problem,
I have eAccelerator installed and working, I verified it setup and working, yet when I try and select it I get this message
Same problem here. There is definitely a problem with detecting eacc, so eacc support is NOT enabled after all!
Deceptor
12-22-2008, 01:43 PM
wolfstream - vB Optimise will check the function 'eaccelerator_get' is available, if not it will return false giving you that error, and people here have said eAccelerator is working fine, what version of eAccelerator do you have?
Hostboard
12-22-2008, 02:01 PM
Just had my host remove eaccelerator and install xcache :)
Enabled xchache and got many lines reporting this:
Warning: xcache_isset() [function.xcache-isset (http://www.hostboard.com/forums/admincp/function.xcache-isset)]: xcache.var_size is either 0 or too small to enable var data caching in [path]/includes/class_activecache_methods.php on line 163
Now I cant get to anything. IS this because I bneed to enable it in config.php first?
Version 1.2.2 Modules Built cacher Readonly Protection N/A Opcode Cache enabled, 33,554,432 bytes, 1 split(s), with 8192 slots each Variable Cache disabled Shared Memory Schemes mmap
Deceptor
12-22-2008, 02:04 PM
Hostboard - This is due to your XCache setup, edit your php.ini and change the xcache.var_size as this allocates the available space for XCache to store variables, check out the XCache website for more information: http://xcache.lighttpd.net
I personally have XCache var_size set to 128M, for 128 MB :)
Edit: Saw your edit, remove XCache from config.php, you may also need to disable plugins to get back into your forum ACP:
define('DISABLE_HOOKS', true);
That goes in your config.php to disable plugins :)
wolfstream
12-22-2008, 02:11 PM
wolfstream - vB Optimise will check the function 'eaccelerator_get' is available, if not it will return false giving you that error, and people here have said eAccelerator is working fine, what version of eAccelerator do you have?
From phpinfo:
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
This is the latest downloadable version (2008/05/18)
Deceptor
12-22-2008, 02:17 PM
Wolfstream, I've attached a basic php file below that will test every function needed for eAccelerator in vB Optimise, it can be uploaded anywhere, just visit it by url and let me know your results :)
Thanks.
logicuk
12-22-2008, 02:31 PM
I just made a $50USD Paypal Donation to you Deceptor
Everyone else, dont be tight give this guy some money, best mod and best support on vb org ever!!!
More money coming soon from me, thanks for this amazing mod!!
Deceptor
12-22-2008, 02:32 PM
Thank you very much logicuk, I appreciate your donation and support towards this product :)
Hostboard
12-22-2008, 02:34 PM
Bumped from 32 to 128 and all is now happy. Thank you :)
Deceptor
12-22-2008, 02:35 PM
Glad everything is all working now Hostboard, let me know the results you're getting from vB Optimise, or if you have any further issues :)
logicuk
12-22-2008, 02:37 PM
Thank you very much logicuk, I appreciate your donation and support towards this product :)
No problem mate :)
Do you have a time frame on the next release? thanks logic
wolfstream
12-22-2008, 02:42 PM
Let's see here
Eaccelerator works. I've tested this and found it to be so. It's really easy to test if it works
Eaccelerator was compiled using THEIR recommended setup
YOUR setup doesn't detect eaccelerator functions. That's a problem in your setup. This needs to work with the eacc recommended settings, not the other way around.
There is definitely a problem here, as represented by at least two people. The problem is with how eaccelerator is configured. You shouldn't HAVE to reconfigure a server application for one plugin, in fact most people can not.
The recommended values for eaccelerator configuration (which, btw has worked for years without fail):
./configure \
--enable-eaccelerator=shared \
--with-php-config=$PHP_PREFIX/bin/php-config
Changes insisted by your code (and ONLY your code, btw):
./configure \
--enable-eaccelerator=shared \
--with-eaccelerator-shared-memory \
--with-php-config=$PHP_PREFIX/bin/php-config
Again, this should be done properly, so that individuals DON'T have to recompile and reconfigure eacc, especially when they can't.
Deceptor
12-22-2008, 02:50 PM
While I appreciate the feedback wolfstream, I think you're forgetting one vital thing here. Without the extension installed it is impossible for any php script to use eAccelerator functions, vB Optimise works exactly like vBulletin does for its datastore system for eAccelerator, and just about every other PHP script I've found that uses eAccelerator.
Please do not make claim there is a problem with the script when it was instead a problem with your eAccelerator setup. Ofcourse eAccelerator will work without the functions available in PHP, as it also works as a php optimiser in whole :)
Even vbseo cache doesn't work with eaccelerator compiled without ' --with-eaccelerator-shared-memory \ ' , So there is no problem with vb optimse,
Andreas
12-22-2008, 03:02 PM
@wolfstream
Incorrectly setting up eAccelerator is your fault - don't blame this script for a crippled eAccelerator installation.
Here are a list of options that affect performance and you might want to add to the "Optimal Settings Check"
Admin CP -> vBulletin Options -> Forum Display Options (forumdisplay) -> Show Users Browsing Forums
Admin CP -> vBulletin Options -> Thread Display Options -> Show Users Browsing Thread
Admin CP -> vBulletin Options -> Message Searching Options -> Automatic Similar Thread search
Admin CP -> vBulletin Options -> Thread Display Options (showthread) -> Check Thread Rating
Admin CP -> vBulletin Options -> Thread Display Options (showthread) -> Check Thread Subscription
Admin CP -> vBulletin Options -> Thread Display Options (showthread) -> Show Similar Threads?
There are some smaller ones such us
Admin CP -> vBulletin Options -> General Settings -> Use Forum Jump Menu
Admin CP -> vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output
Donated 10$ Not as much as lugicuk but 10$ you get :D
Great job the speed difference is astonishing ^^ the vba module is really a miracle ^^
Thanks :D
Deceptor
12-22-2008, 03:13 PM
NolF - Thank you for your donation :) Regarding those options, most I've let out for now on purpose, regarding your first group of options, they come at expense of features, and it is my aim to be able to cache these, rather than drop them for performance, like I did with the forumhome WOL.
As for the other two, the forum drop down menu maybe something I cache too, and GZIP isn't always safe on all server setups, so I didn't put it in there because people would blame my script for telling them to use GZIP when it did damage it instead of good :)
But thank you for the suggestions, I'll probably concentrate on these areas in the next version :)
wolfstream
12-22-2008, 03:16 PM
Without the extension installed it is impossible for any php script to use eAccelerator functions
That's so incorrect it's not even funny. Eaccelerator works FINE without the above compiled option. If it didn't, it would be put in the recommended settings.
I've had eaccelerator running for years. Cache? Right now, it's running at 30.30% (155.12MB/ 512.00MB), with the top script (right now) being accessed over 4k times since the last time it was cleared. There is no way you can NOT tell me eacc does not work properly, because it does.
Incorrectly setting up eAccelerator is your fault - don't blame this script for a crippled eAccelerator installation.
Again, wrong answer. If you don't know what you're talking about, please, don't try to step in and say you do. From their INSTALLATION GUIDE!
Step 1. Compiling eAccelerator
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure \
--enable-eaccelerator=shared \
--with-php-config=$PHP_PREFIX/bin/php-config
make
You must specify the real prefix where PHP is installed in the "export"
command. It may be "/usr" "/usr/local", or something else.
Eaccelerator was not installed incorrectly at all. This product requires advanced setups and should be modified to work with the EA recommended settings. I've been installing EA the exact same way (eventually you just script it ;)) for clients for years, numerous clients, over a good 30+ servers. Have ANY of them complained about it 'not working'? Nope.
Again, using the above settings, EA has worked, and has cached scripts for years. Right now, I'm at about 5GB cache (should probably clean some of that up ;)), but it most definitely DOES work properly, using the recommended , out of the box, settings.
This is not a problem with anything but products trying to force users into an advanced EA compile.
Deceptor
12-22-2008, 03:20 PM
As I said above wolfstream, eAccelerator will work at caching scripts because that's the main purpose of eAccelerator. But for PHP scripts to actually use eAccelerator functions it requires the extension. I've also said this is how vBulletin does things, and other scripts, a member above also pointed out vBSEO.
So unless you know a magic way for my script, vBulletin, vBSEO and anything else out there to use eAccelerator functions without the extension installed, please tell me, I'm always open to suggestions. Otherwise please stop making claim that there is something wrong with my script when clearly there isn't.
Regarding the eAccelerator recommended install, they don't expect most server setups to have scripts which use eAccelerator, and for the purpose of just caching php, it'll work.
lolo?
12-22-2008, 03:25 PM
Hello i use the thanks mods the query in postbit or postbit legacy can be cached??
Sorry for this stupid question :)
Andreas
12-22-2008, 03:26 PM
That's so incorrect it's not even funny. Eaccelerator works FINE without the above compiled option. If it didn't, it would be put in the recommended settings.
http://bart.eaccelerator.net/doc/phpdoc/eAccelerator/_shared_memory_php.html
It's clearly stated that you have to compile eAccelerator with support for shared memory if, well, you want to use shared memory!
There is no way you can NOT tell me eacc does not work properly, because it does.
To some extend it does: It caches PHP opcode.
But the content cache functions are non-working if not compiled like stated above.
Try to use eAccelerator as vBulletin datastore cache.
This is not a problem with anything but products trying to force users into an advanced EA compile.
If you call enabling a fature (that was on by default in eAccelerator < 0.9.5) "advanced" yes, it is.
Deceptor
12-22-2008, 03:29 PM
Just incase you decide to continue this pointless argument, I'll put your mind to rest:
http://www.eaccelerator.net/wiki/CompileConfiguration
--with-eaccelerator-shared-memory
Include eaccelerator shared memory functions. The name is a bit confusing, but this will include the eaccelerator_get, _put, ... functions that allow scripts to store data in the eAccelelerator cache. This options has been enabled by default until version 0.9.5. When enabling this feature on systems where you can't trust all users, like in shared hosting environments, this could really fill up the cache causing all scripts to only exist on disk which isn't good for performance.
Please take real care when reading "Include eaccelerator shared memory functions".
If you still have an issue, I recommend you take it up with eAccelerator themselves.
Deceptor
12-22-2008, 03:30 PM
lolo - It doesn't cache all mods I'm afraid, the only mod this currently extends to is vBAdvanced.
logicuk
12-22-2008, 03:30 PM
wolfstream take your bad attitude else where
this is why all the good coders left vb org because of fools like yourself!
@EAccelerator
So Glad I went with XCache :D
@Deceptor
As a consumer I wouldn't find it an issue to be commented (by the mod) what features may be crippling my forum, even if I leave them on because I want the feature it would work as a centralize reminder of what you can do to improve performance. Some of us may have our mind somewhere gone whilst setting up the forum and enable some of this features which we don't really want or need.
I don't know up to you, but as an additional box indicating the concerns you commented wouldn't really hurt anyone, and benefit many ^^
Regarding the forum jump, wouldn't it be an issue to cache? different people have access to different forums and hence would have different forum jumps... Personally I would love the option I have 279 forums in my forum jump :S
Deceptor
12-22-2008, 03:36 PM
NolF - Determined by reasoning and personality I guess, not everyone would see it the same way. So I guess cache instead of suggestions will be better :)
As for the forum jump, I never said it'd be the easiest task :)
As for the forum jump, I never said it'd be the easiest task
:o Love your dedication mate ^^
haha some misleading posts went MIA
Thanks once again :D
wolfstream
12-22-2008, 03:42 PM
wolfstream take your bad attitude else where
this is why all the good coders left vb org because of fools like yourself!
Bad attitude? I'm not the one with the 'bad attitude' here. I'm the one being attacked by numerous individuals, simply because I made a truthful statement.
RTFM. The installation guide tells you EXACTLY how to do things here. EACC works beautifully with, or without the line added, both in optimization and CACHING. If it didn't, I wouldn't be sitting with close to 5g of cached data, and files with over 4k pageviews, WITHOUT adding it.
If eacc DIDN'T work as they suggested, I would have known about this years ago, when installing things for clients.
Just because vb wants things done a certain way (and yeah, that includes the SEO garbage) doesn't mean it's the way to do things. The manufacturer of the product (in this case eaccelerator) will always tell you how to install the product. In this case, they gave very basic instructions, and those instructions work.
As far as the 'bad attitude' comment, that's not even the case here. When developers take actions like this, and force NON STANDARD configurations on individuals, then blame it on the 'system', or wtfever, that rides solely on the developer. It's not the USER'S fault the developer can't make the product work when compiled as recommended. It's not the USER'S fault the developer wants to force people to recompile with their own special settings, that's the developer's fault.
And on that note, I will, in fact, uninstall, and unsubscribe. No need to keep beating a dead horse when people don't want to listen to the truth, and the developer has no intentions on making the product work with the RECOMMENDED SETTINGS.
tpearl5
12-22-2008, 03:44 PM
I installed this mod in the middle of the day on the 20th. Here is some hard proof that it is working wonderfully; stats from my database server's bandwidth. (outbound is mostly database data going to the web server to render a page)
https://vborg.vbsupport.ru/external/2009/02/103.jpg
pay no attention to the data compiled for today the 22nd as it is not complete
I should include that last sunday's traffic (14th) was very similar to this sunday's (21st). I am using memcache. There is also a similar trend on the web server's inbound data.
Outbound bandwidth has decreased by ~47% on the database server!!! (based one day of similar data) What does this mean for most of you? Fewer database queries = lower server load = faster site = happy forum users!
Bottom line: This mod is going to save me money as I am currently going over on my bandwidth as well as improve user experience!
Nominated for mod of the month and will be donating
Deceptor
12-22-2008, 03:45 PM
wolfstream - I really think you're not getting the picture here.
Default eAccelerator Install = Cache PHP Scripts
Shared Memory Extension = Ability to use functions to cache custom data through eAccelerator.
My script, and every other script out there (not just vB) needs shared memory to be able to use eaccelerator_get, and other functions. Even the links myself and Andreas provided stating this on the eAccelerator website tell you the same.
I really cannot see anything else I can say or do to show you that it is impossible for vB Optimise to use shared memory without the shared memory extension installed.
Deceptor
12-22-2008, 03:47 PM
tpearl5 - I'm glad it's had such a great impact on your forum, and thank you for your donation :)
Andreas
12-22-2008, 03:49 PM
If you want to use the eAccelerator content caching API, you have to enable it - simple as that and clearly stated in the eAccelerator documentation :)
What you are asking for is like requesting from Microsoft to support scanning in Paint on you HP OfficeJet without installing the appropriate TWAIN driver - and telling them that it is their fault as the OfficeJet works 100% when printing from Word ...
TheLastSuperman
12-22-2008, 03:55 PM
Guys, can we keep it clean in here? All I'm saying is Deceptor is busting his butt via support so any of the post before mine could have been PM'd after a certain point. It's always the attitudes and arguments on vB.org that make me sad, it's like the special olympics.... even if you win your still retarded ;). (Sorry for playing that card but?)
Now, let's get back to topic and next coder who has valid input, best bet is to PM and resolve w/ Deceptor and I'm sure if it was worthy and useful Deceptor will note your contribution in his post.
Just my 2 cents but I figured it was less than the other useless comments that make non-experienced users have to read through 900 extra post that are arguements....
S-MAN
tpearl5
12-22-2008, 03:57 PM
tpearl5 - I'm glad it's had such a great impact on your forum, and thank you for your donation :)
I must've missed your donation link. Can you post it? (and in the main mod body)
vbulletin should built this mod in vb4.0
this is a masterpiece... :D
Deceptor
12-22-2008, 03:59 PM
It's in the very top post, look for Support Developr on the right hand side tpearl :) I'll PM it too for yah.
MissKalunji
12-22-2008, 03:59 PM
Changing the cache method won't break anything :) vB Optimise will check you have the required extension on your server required before applying the setting, if your unsure maybe ask your host to install XCache :)
As for hard drive, I meant your servers hard drive :)
Ok i might try that
So which one is best? xcache?
Thanks for your help :)
Deceptor
12-22-2008, 04:08 PM
XCache has shown me and a couple of others the best result, but it can differ depending on your server, ofcourse any cache method other than file cache will be a whole lot better :)
MissKalunji
12-22-2008, 04:36 PM
XCache has shown me and a couple of others the best result, but it can differ depending on your server, ofcourse any cache method other than file cache will be a whole lot better :)
ohh that's what those are ok thanks :)
MissKalunji
12-22-2008, 04:41 PM
any plans to support zend?
tpearl5
12-22-2008, 04:50 PM
It's in the very top post, look for Support Developr on the right hand side tpearl :) I'll PM it too for yah.
I guess I never donated before. hah, thanks!
Deceptor
12-22-2008, 05:18 PM
any plans to support zend?
Could you elaborate please? :)
MissKalunji
12-22-2008, 05:31 PM
Could you elaborate please? :)
I think i got it wrong...
i thought zend optimiser was a php cache (that's what my webhosting told me) that's why i was asking.
Sorry
*sight*
Deceptor
12-22-2008, 05:32 PM
Ah, Zend Optimiser you mean? It's to encode scripts mostly, but by encoding it makes them run a little faster, not what vB Optimise does exactly :)
lolo?
12-22-2008, 05:41 PM
lolo - It doesn't cache all mods I'm afraid, the only mod this currently extends to is vBAdvanced.
no problem it's just a question ;) very nice work :)
Vitaly
12-22-2008, 06:20 PM
Don't you find a reduction in the number of queries?
9 queries instead of 11. All as promissed :)
Vitaly - I make no claim to instantly reduce server load, but it may impact it if vB Optimise has done a lot of optimisation ontop of what you had before, so a reduction of two queries wouldn't be significant enough - that said it depends on the amount of users you have active and your server. What cache method are you using?
- eaccelerator for php code, memcached in all vb settings.
- 500-600 online.
- ~0.9 sec for main page, ~0.3 for others.
- nginx + 6 php-fcgi + 1 mysql processes.
(*) WOL was off.
Anyway, your mod is a good example of clear coding and outstanding support. Such functionality MUST be included in vB by default.
If you know some trustable non sintetic methods to measure load & latency - i could try.
Deceptor
12-22-2008, 06:32 PM
Vitaly - Your server seems setup so well that a change in page generation time would require some huge changes, the two queries reduced will probably just effect queries ofcourse, and internal bandwidth (especially if you use another server for your database).
As for measuring load and such, I'm afraid not. Still, it has had some positive impact on your forum :)
dtv100
12-22-2008, 06:36 PM
any chance to have a box to write xcache login info to make this work even better?
this hack work really good .
thanks
Deceptor
12-22-2008, 06:42 PM
dtv100 - I have considered this, but it may be unsecure. That said, I can place it in the next version purely as being optional :)
I installed this mod in the middle of the day on the 20th. Here is some hard proof that it is working wonderfully; stats from my database server's bandwidth. (outbound is mostly database data going to the web server to render a page)
https://vborg.vbsupport.ru/external/2009/02/103.jpg
pay no attention to the data compiled for today the 22nd as it is not complete
I should include that last sunday's traffic (14th) was very similar to this sunday's (21st). I am using memcache. There is also a similar trend on the web server's inbound data.
Outbound bandwidth has decreased by ~47% on the database server!!! (based one day of similar data) What does this mean for most of you? Fewer database queries = lower server load = faster site = happy forum users!
Bottom line: This mod is going to save me money as I am currently going over on my bandwidth as well as improve user experience!
Nominated for mod of the month and will be donating
While I'd say this is certainly fantastic.... could it be the holidays, mostly? You should see a relative decrease in all traffic, CPU and RAM utilization, and so forth if that were the case.
I just can't imagine disabling 2-3 global queries has such a large impact... Esp w/ one of them being such a small query.. (The style one)
Of course if it continually stays that low, good work Deceptor!! :)
Deceptor
12-22-2008, 07:21 PM
tmc - While I agree it could be holidays, the templates query is the largest query vB executes, so I would expect some impact. In anycase, it'd be nice to see the results over a longer period :)
dtv100
12-22-2008, 07:38 PM
dtv100 - I have considered this, but it may be unsecure. That said, I can place it in the next version purely as being optional :)
can i pm you for topic relate to security and my site with this hack ?
tmc - While I agree it could be holidays, the templates query is the largest query vB executes, so I would expect some impact. In anycase, it'd be nice to see the results over a longer period :)
Well, I'm sure most showthread queries surpass the template queries in size.. Although I agree it's a most ridiculous way to use the "V" in "MVC" so I hope that changes in 4.0. I'm hoping for something like CodeIgniter where we get a Views folder with all the template files. (And of course the means in default vBulletin to cache these.) :)
I can't think of a better word.... but would it be better for "latency" if we were to only use the Xcache VAR cache for this modification, and tell vBulletin to use nothing but Memcached? (Meaning: So not everything is trying to use the same cache at once)
I was a little foggy on that anyway, because I'm aware that Memcached is capable of a lot more than just caching vB's Datastore, but it seems that if you don't configure vBulletin to use Memcached for the Datastore, then Memcached won't bother caching any other objects into memory, such as query results, etc.
So I guess we can't pick and choose, huh?
I guess I'd be fine with that anyway... This mod = Xcache's var cache, vBulletin = Memcached
Deceptor
12-22-2008, 07:47 PM
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?
dvt100 - The security flaw would be, any other administrator would be able to see your XCache password, and while the only threat would be if you had the XCache page which required user/pass, they could login. Nothing more or less, as far as I know.
dtv100
12-22-2008, 07:51 PM
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?
dvt100 - The security flaw would be, any other administrator would be able to see your XCache password, and while the only threat would be if you had the XCache page which required user/pass, they could login. Nothing more or less, as far as I know.
ok thanks i glad this wont affect me at all .would be nice if next update can have my request as optional thanks.
tmc - This mod can already use XCache while vBulletin uses Memcache, unless I'm missing your point?
Yeah, a little bit. haha. :)
It's fine, though. I can't really state it any better. I'll just have to mosy on over to vB dot com and ask them if I can use Xcache for the Datastore, but still have Memcached do all the non-Datastore object caching. Meaning: Memcached can do LOTS more than store the measly 1MB of Datastore data, but I think vBulletin forces me into using Memcached for BOTH or not at all.
I just figured since you poked your head around inside all the vB internals you may already know the answer. :)
Deceptor
12-22-2008, 08:02 PM
The only thing vBulletin caches on its own using any cacher is the datastore, unless you're referring to other things vBulletin caches aside from the datastore? Sorry I'm not getting your point :)
tpearl5
12-22-2008, 08:40 PM
While I'd say this is certainly fantastic.... could it be the holidays, mostly? You should see a relative decrease in all traffic, CPU and RAM utilization, and so forth if that were the case.
I just can't imagine disabling 2-3 global queries has such a large impact... Esp w/ one of them being such a small query.. (The style one)
Of course if it continually stays that low, good work Deceptor!! :)
Like I said, data is similar from last week. Keep in mind that this is the amount of data being passed between two servers and not from server to user. The decrease in data transferred to users is minimal.
ThorstenA
12-22-2008, 10:44 PM
After installing and using Filecache as only method I can use, FORUMHOME is around 30% slower than without installing this mod even if there are 3 queries less. Could there be something I did wrong?
Deceptor
12-22-2008, 10:50 PM
ThrostenA - Filecache is not the best, and if your servers harddrives aren't that fast you'll notice slower page generation times. Try use a difference cache method, XCache seems to have the best results. If you're unsure how to install the extensions, ask your host for assistance :)
Jim O
12-23-2008, 12:48 AM
Hi Deceptor,
I'm using version 1.3.2 of the mod on a 3.7.4 board with vBSEO installed. It installed easily and evidently correctly. I can see that it is cutting down on the db queries as billed and caching some of the data. I am using XCache and enabled that feature. I can see from the XCache admin panel that the mod is accessing the variable cache. I am getting warnings for many of the template entries (eg vbactivecache_template_xxxxxx) as follows:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /path/to/xcache/admin/edit.tpl.php on line 4
The cache in such cases appears to be empty.
Any ideas on why this is happening and if there is an effect?
Deceptor
12-23-2008, 12:50 AM
What templates are blank exactly Jim_O? (You put 'xxxxx' in your post).
In either case, the php error is caused by the xcache script because it didn't anticpate for blank variables, you could probably edit the script and change htmlspecialchars to @htmlspecialchars on line 4.
punchbowl
12-23-2008, 12:56 AM
1.2.0 working like a dream on 3.7.4 with xcache
Jim O
12-23-2008, 01:33 AM
What templates are blank exactly Jim_O? (You put 'xxxxx' in your post).
There are probably 200-300 of them. Here are a sampling:
vbactivecache_template_12598
vbactivecache_template_12882
vbactivecache_template_3675
vbactivecache_template_12523
vbactivecache_template_12527
vbactivecache_template_12815
vbactivecache_template_12819
vbactivecache_template_12747
vbactivecache_template_12679
vbactivecache_template_12895
vbactivecache_template_13045
vbactivecache_template_12820
vbactivecache_template_12824
vbactivecache_template_8110
Pretty much anything that starts with "vbactivecache_template_" is empty.
When there is what appears to be an intentionally blank cache, such as "vbactivecache_phrase_calformat2override_1" it shows the following data:
"{_______VB_ACTIVE_CACHE_BLANK_______}"
These others are simply blank.
Many have multiple hits and "sizes" as large as 15K.
FWIW, if you are interested in system info, I am using XCache 1.2.2 which I compiled from source and run php 5.2.8 as a fastcgi using php-fpm as a controller, also compiled from source. The web server is nginx 0.7.27. No other scripts are accessing XCache and the system seems to be running fine although volume is very light at this moment with people out Christmas shopping or whatever else that they might be doing this time of year.
In either case, the php error is caused by the xcache script because it didn't anticpate for blank variables, you could probably edit the script and change htmlspecialchars to @htmlspecialchars on line 4.
That eliminates the warning but not the hundreds of blank caches.
Deceptor
12-23-2008, 01:37 AM
Jim_O - Where you see the numbers, run this query:
select * from template where templateid = xxx
You'll probably need to put your table prefix before "template". My guess is you've uninstalled templates, but mods are still trying to run them. But if I'm wrong let me know the result of your query, and if the template in your database actually has any information.
Jim O
12-23-2008, 02:07 AM
Nope. Those queries return lots of data.
For instance:
select * from vb_template where templateid = 8110:
8110 11 memberlist_resultsbit <tr align=\"center\"> <td class=\"alt1Active\" align=\"$stylevar[left]\" id=\"u$userinfo[userid]\"> <a href=\"member.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "u=$userinfo[userid]\">$userinfo[musername]</a> ".(($show['usertitlecol']) ? ("<div class=\"smallfont\">$userinfo[usertitle]</div>") : (""))." </td> <!-- show awards --> ".(($vbulletin->options['aw_memberlist']) ? ("<td class=\"$bgclass\">$userinfo[userawards] ".(($userinfo[num_awards]) ? ("<div nowrap> <a href=\"member.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "u=$userinfo[userid]#award\">$vbphrase[total_awards]: $userinfo[num_awards]</a></div>") : (""))." </td>") : (""))." <!-- /show awards --> ".(($show['emailcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['emaillink']) ? ("<a href=\"sendmessage.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=mailmember&u=$userinfo[userid]\" target=\"_blank\" rel=\"nofollow\"><img src=\"$stylevar[imgdir_button]/email.gif\" alt=\"email.gif\" title=\"" . construct_phrase("$vbphrase[click_here_to_email_x]", "$userinfo[username]") . "\" border=\"0\" /></a>") : (""))." ".(($show['pmlink']) ? ("<a href=\"private.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=newpm&u=$userinfo[userid]\" target=\"_blank\" rel=\"nofollow\"><img src=\"$stylevar[imgdir_button]/sendpm.gif\" alt=\"sendpm.gif\" title=\"" . construct_phrase("$vbphrase[send_private_message_to_x]", "$userinfo[username]") . "\" border=\"0\" /></a>") : (""))."</td>") : (""))." ".(($show['imicons'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]</td>") : (""))." ".(($show['homepagecol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['homepagelink']) ? ("<a href=\"$userinfo[homepage]\" target=\"_blank\"><img src=\"$stylevar[imgdir_button]/home.gif\" alt=\"home.gif\" title=\"" . construct_phrase("$vbphrase[visit_xs_homepage]", "$userinfo[username]") . "\" border=\"0\" /></a>") : (" "))."</td>") : (""))." ".(($show['searchcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['searchlink']) ? ("<a href=\"search.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "do=finduser&u=$userinfo[userid]\" rel=\"nofollow\"><img src=\"$stylevar[imgdir_button]/find.gif\" alt=\"find.gif\" title=\"" . construct_phrase("$vbphrase[find_all_posts_by_x]", "$userinfo[username]") . "\" border=\"0\" /></a>") : (" "))."</td>") : (""))." ".(($show['datejoinedcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[datejoined]</td>") : (""))." ".(($show['postscol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[posts]</td>") : (""))." ".(($show['lastvisitcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[lastvisit]</td>") : (""))." ".(($show['reputationcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[reputationdisplay]</td>") : (""))." ".(($show['avatarcol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['avatar']) ? ("<img src=\"$avatarurl\" border=\"0\" $avwidth $avheight alt=\"" . construct_phrase("$vbphrase[xs_avatar]", "$userinfo[username]") . "\" hspace=\"4\" vspace=\"4\" />") : (" "))."</td>") : (""))." ".(($show['profilepiccol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[profilepic]</td>") : (""))." ".(($show['birthdaycol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[birthday]</td>") : (""))." ".(($show['agecol'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">$userinfo[age]</td>") : (""))." ".(($show['customfields']) ? ("$customfields") : (""))." ".(($show['usergroup'] AND exec_switch_bg()) ? ("<td class=\"$bgclass\">".(($show['hideleader']) ? (" ") : ("<input type=\"checkbox\" name=\"deletebox[$userinfo[userid]]\" value=\"yes\" />"))."</td>") : (""))." </tr> <tr align="center"> <td class="alt1Active" align="$stylevar[left]" id="u$userinfo[userid]"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> <if condition="$show['usertitlecol']"><div class="smallfont">$userinfo[usertitle]</div></if> </td> <!-- show awards --> <if condition="$vbulletin->options['aw_memberlist']"><td class="$bgclass">$userinfo[userawards] <if condition="$userinfo[num_awards]"><div nowrap> <a href="member.php?$session[sessionurl]u=$userinfo[userid]#award">$vbphrase[total_awards]: $userinfo[num_awards]</a></div></if> </td></if> <!-- /show awards --> <if condition="$show['emailcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="email.gif" title="<phrase 1="$userinfo[username]">$vbphrase[click_here_to_email_x]</phrase>" border="0" /></a></if> <if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$userinfo[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></td></if> <if condition="$show['imicons'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[icqicon] $userinfo[aimicon] $userinfo[msnicon] $userinfo[yahooicon] $userinfo[skypeicon]</td></if> <if condition="$show['homepagecol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['homepagelink']"><a href="$userinfo[homepage]" target="_blank"><img src="$stylevar[imgdir_button]/home.gif" alt="home.gif" title="<phrase 1="$userinfo[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a><else /> </if></td></if> <if condition="$show['searchcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['searchlink']"><a href="search.php?$session[sessionurl]do=finduser&u=$userinfo[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/find.gif" alt="find.gif" title="<phrase 1="$userinfo[username]">$vbphrase[find_all_posts_by_x]</phrase>" border="0" /></a><else /> </if></td></if> <if condition="$show['datejoinedcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[datejoined]</td></if> <if condition="$show['postscol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[posts]</td></if> <if condition="$show['lastvisitcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[lastvisit]</td></if> <if condition="$show['reputationcol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[reputationdisplay]</td></if> <if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else /> </if></td></if> <if condition="$show['profilepiccol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[profilepic]</td></if> <if condition="$show['birthdaycol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[birthday]</td></if> <if condition="$show['agecol'] AND exec_switch_bg()"><td class="$bgclass">$userinfo[age]</td></if> <if condition="$show['customfields']">$customfields</if> <if condition="$show['usergroup'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['hideleader']"> <else /><input type="checkbox" name="deletebox[$userinfo[userid]]" value="yes" /></if></td></if> </tr> template 1205805209 Jim O 3.7.0 Beta 6 vbulletin
select * from vb_template where templateid = 13045
13045 -1 WHOSONLINE $stylevar[htmldoctype] <html xmlns=\"http://www.w3.org/1999/xhtml\" dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\"> <head> $headinclude ".(($show['refresh']) ? (" ".((is_browser('mozilla')) ? (" <script type=\"text/javascript\"> <!-- var myvar = \"\"; var timeout = $refreshtime; function exec_refresh() { var timerID = setTimeout(\"exec_refresh();\", 100); if (timeout > 0) { timeout -= 1; } else { clearTimeout(timerID); window.location=\"online.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl_js'] . "order=$sortorder&sort=$sortfield&pp=$perpage&page=$pagenumber$refreshargs_js\"; } } exec_refresh(); //--> </script> ") : (" <meta http-equiv=\"refresh\" content=\"" . $GLOBALS['vbulletin']->options['WOLrefresh'] . ";url=online.php?" . $GLOBALS['vbulletin']->session->vars['sessionurl'] . "order=$sortorder&sort=$sortfield&pp=$perpage&page= $pagenumber$refreshargs\" /> "))." ") : (""))." <title>" . $GLOBALS['vbulletin']->options['bbtitle'] . " - $vbphrase[whos_online]</title> </head> <body> $header $navbar ".(($pagenav) ? (" <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" style=\"margin-bottom:3px\"> <tr valign=\"bottom\"> <td align=\"$stylevar[right]\">$pagenav</td> </tr> </table> ") : (""))." <table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\" id=\"woltable\"> <tr> <td class=\"tcat\" colspan=\"$colspan\"><div class=\"smallfont\"> <span style=\"float:$stylevar[right]\"> <a href=\"$reloadurl\"><strong>$vbphrase[reload_this_page]</strong></a> </span> <strong>" . construct_phrase("$vbphrase[x_members_and_y_guests]", "$numbervisible", "$numberguests") . "</strong><br />" . construct_phrase("$vbphrase[most_users_ever_online_was_x_y_at_z]", "$recordusers", "$recorddate", "$recordtime") . " </div></td> </tr> <tr> <td class=\"thead\"> <span style=\"float:$stylevar[right]\"> <a href=\"$sorturl".((!$show['sorturlnoargs']) ? ("&") : (""))."order=desc&sort=time&pp=$perpage&page=$pagenumber\">$vbphrase[last_activity]</a> $sortarrow[time] </span> <a href=\"$sorturl".((!$show['sorturlnoargs']) ? ("&") : (""))."order=asc&sort=username&pp=$perpage&page=$pagenumb er\">$vbphrase[username]</a> $sortarrow[username] </td> <td class=\"thead\"><a href=\"$sorturl".((!$show['sorturlnoargs']) ? ("&") : (""))."order=asc&sort=location&pp=$perpage&page=$pagenumb er\">$vbphrase[location_temp]</a> $sortarrow[location]</td> ".(($show['ip']) ? ("<td class=\"thead\">$vbphrase[ip_address]</td>") : (""))." ".(($GLOBALS['vbulletin']->options['showimicons']) ? ("<td class=\"thead\" align=\"center\">$vbphrase[instant_messaging]</td>") : (""))." </tr> $onlinebits </table> ".(($show['ajax_resolve']) ? (" <script type=\"text/javascript\" src=\"clientscript/vbulletin_ajax_wolresolve.js?v=" . $GLOBALS['vbulletin']->options['simpleversion'] . "\"></script> <script type=\"text/javascript\"> <!-- vB_AJAX_WolResolve_Init('woltable'); //--> </script> ") : (""))." <br /> <table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\"> <tr> <td class=\"alt1\" align=\"center\"> <form action=\"online.php\" method=\"get\"> <input type=\"hidden\" name=\"s\" value=\"" . $GLOBALS['vbulletin']->session->vars['sessionhash'] . "\" /> <input type=\"hidden\" name=\"sortfield\" value=\"$sortfield\" /> <input type=\"hidden\" name=\"sortorder\" value=\"$sortorder\" /> <div class=\"fieldset\" style=\"margin:0px\"> ".(($GLOBALS['vbulletin']->options['WOLguests']) ? (" $vbphrase[display]: <select name=\"who\"> <option value=\"all\" $whoselected[0]>$vbphrase[all]</option> <option value=\"members\" $whoselected[1]>$vbphrase[members]</option> <option value=\"guests\" $whoselected[2]>$vbphrase[guests]</option> ".(($GLOBALS['vbulletin']->options['enablespiders']) ? (" <option value=\"spiders\" $whoselected[3]>$vbphrase[search_bots]</option> ") : (""))." </select> ") : (""))." ".(($show['ip']) ? (" $vbphrase[user_agent]: <select name=\"ua\"> <option value=\"1\" $uaselected[1]>$vbphrase[yes]</option> <option value=\"0\" $uaselected[0]>$vbphrase[no]</option> </select> ") : (""))." $vbphrase[per_page]: <input type=\"text\" class=\"bginput\" style=\"font-size:11px\" name=\"pp\" value=\"$perpage\" size=\"2\" /> <input type=\"submit\" class=\"button\" value=\"$vbphrase[display]\" accesskey=\"s\" /> </div> </form> </td> </tr> </table> ".(($pagenav) ? (" <table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\" style=\"margin-top:3px\"> <tr valign=\"top\"> <td align=\"$stylevar[right]\">$pagenav</td> </tr> </table> ") : (""))." <br /> <!-- icons and forum jump --> <table cellpadding=\"0\" cellspacing=\"2\" border=\"0\" width=\"100%\"> <tr valign=\"bottom\"> <td width=\"100%\"> <table cellpadding=\"2\" cellspacing=\"0\" border=\"0\"> <col align=\"center\"></col> <tr> <td><strong>+</strong></td> <td class=\"smallfont\"> $vbphrase[user_is_on_your_contact_list]</td> </tr> ".(($show['hidden']) ? (" <tr> <td><strong>*</strong></td> <td class=\"smallfont\"> $vbphrase[user_is_invisible_to_others]</td> </tr> ") : (""))." ".(($show['badlocation']) ? (" <tr> <td><img src=\"$stylevar[imgdir_statusicon]/wol_lockedout.gif\" alt=\"$vbphrase[viewing_forum_closed]\" /></td> <td class=\"smallfont\"> $vbphrase[viewing_forum_closed]</td> </tr> <tr> <td><img src=\"$stylevar[imgdir_statusicon]/wol_nopermission.gif\" alt=\"$vbphrase[viewing_no_permission_message]\" /></td> <td class=\"smallfont\"> $vbphrase[viewing_no_permission_message]</td> </tr> <tr> <td><img src=\"$stylevar[imgdir_statusicon]/wol_error.gif\" alt=\"$vbphrase[viewing_error_message]\" /></td> <td class=\"smallfont\"> $vbphrase[viewing_error_message]</td> </tr> ") : (""))." </table> </td> <td> $forumjump </td> </tr> </table> <!-- / icons and forum jump --> $footer </body> </html> $stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <if condition="$show['refresh']"> <if condition="is_browser('mozilla')"> <script type="text/javascript"> <!-- var myvar = ""; var timeout = $refreshtime; function exec_refresh() { var timerID = setTimeout("exec_refresh();", 100); if (timeout > 0) { timeout -= 1; } else { clearTimeout(timerID); window.location="online.php?$session[sessionurl_js]order=$sortorder&sort=$sortfield&pp=$perpage&page=$pagenumber$refreshargs_js"; } } exec_refresh(); //--> </script> <else /> <meta http-equiv="refresh" content="$vboptions[WOLrefresh];url=online.php?$session[sessionurl]order=$sortorder&sort=$sortfield&pp=$perpage&page= $pagenumber$refreshargs" /> </if> </if> <title>$vboptions[bbtitle] - $vbphrase[whos_online]</title> </head> <body> $header $navbar <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> </if> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="woltable"> <tr> <td class="tcat" colspan="$colspan"><div class="smallfont"> <span style="float:$stylevar[right]"> <a href="$reloadurl"><strong>$vbphrase[reload_this_page]</strong></a> </span> <strong><phrase 1="$numbervisible" 2="$numberguests">$vbphrase[x_members_and_y_guests]</phrase></strong><br /><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase> </div></td> </tr> <tr> <td class="thead"> <span style="float:$stylevar[right]"> <a href="$sorturl<if condition="!$show['sorturlnoargs']">&</if>order=desc&sort=time&pp=$perpage&page=$pagenumber">$vbphrase[last_activity]</a> $sortarrow[time] </span> <a href="$sorturl<if condition="!$show['sorturlnoargs']">&</if>order=asc&sort=username&pp=$perpage&page=$pagenumb er">$vbphrase[username]</a> $sortarrow[username] </td> <td class="thead"><a href="$sorturl<if condition="!$show['sorturlnoargs']">&</if>order=asc&sort=location&pp=$perpage&page=$pagenumb er">$vbphrase[location_temp]</a> $sortarrow[location]</td> <if condition="$show['ip']"><td class="thead">$vbphrase[ip_address]</td></if> <if condition="$vboptions['showimicons']"><td class="thead" align="center">$vbphrase[instant_messaging]</td></if> </tr> $onlinebits </table> <if condition="$show['ajax_resolve']"> <script type="text/javascript" src="clientscript/vbulletin_ajax_wolresolve.js?v=$vboptions[simpleversion]"></script> <script type="text/javascript"> <!-- vB_AJAX_WolResolve_Init('woltable'); //--> </script> </if> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" align="center"> <form action="online.php" method="get"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="sortfield" value="$sortfield" /> <input type="hidden" name="sortorder" value="$sortorder" /> <div class="fieldset" style="margin:0px"> <if condition="$vboptions['WOLguests']"> $vbphrase[display]: <select name="who"> <option value="all" $whoselected[0]>$vbphrase[all]</option> <option value="members" $whoselected[1]>$vbphrase[members]</option> <option value="guests" $whoselected[2]>$vbphrase[guests]</option> <if condition="$vboptions['enablespiders']"> <option value="spiders" $whoselected[3]>$vbphrase[search_bots]</option> </if> </select> </if> <if condition="$show['ip']"> $vbphrase[user_agent]: <select name="ua"> <option value="1" $uaselected[1]>$vbphrase[yes]</option> <option value="0" $uaselected[0]>$vbphrase[no]</option> </select> </if> $vbphrase[per_page]: <input type="text" class="bginput" style="font-size:11px" name="pp" value="$perpage" size="2" /> <input type="submit" class="button" value="$vbphrase[display]" accesskey="s" /> </div> </form> </td> </tr> </table> <if condition="$pagenav"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px"> <tr valign="top"> <td align="$stylevar[right]">$pagenav</td> </tr> </table> </if> <br /> <!-- icons and forum jump --> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td width="100%"> <table cellpadding="2" cellspacing="0" border="0"> <col align="center"></col> <tr> <td><strong>+</strong></td> <td class="smallfont"> $vbphrase[user_is_on_your_contact_list]</td> </tr> <if condition="$show['hidden']"> <tr> <td><strong>*</strong></td> <td class="smallfont"> $vbphrase[user_is_invisible_to_others]</td> </tr> </if> <if condition="$show['badlocation']"> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_lockedout.gif" alt="$vbphrase[viewing_forum_closed]" /></td> <td class="smallfont"> $vbphrase[viewing_forum_closed]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_nopermission.gif" alt="$vbphrase[viewing_no_permission_message]" /></td> <td class="smallfont"> $vbphrase[viewing_no_permission_message]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/wol_error.gif" alt="$vbphrase[viewing_error_message]" /></td> <td class="smallfont"> $vbphrase[viewing_error_message]</td> </tr> </if> </table> </td> <td> $forumjump </td> </tr> </table> <!-- / icons and forum jump --> $footer </body> </html> template 1212145003 Jelsoft 3.7.2 vbulletin
So these are some fairly standard templates it would seem.
I do have styles that are unavailable for users to select, but enabling them, flushing the cache and looking again made no difference on the empties. Like I said, all template caches appear to be empty. :confused:
Deceptor
12-23-2008, 02:10 AM
For some reason the template content isn't being cached. If you turn on vB debug mode, does vB optimise tell you it's fetched templates from cache, or that it needs to query them to cache?
If unsure where vB Optimise messages are, it's the bottom drop down menu on your pages after enabling debug mode, which can be done like so by adding this in config.php:
$config['Misc']['debug'] = 1;
Jim O
12-23-2008, 02:23 AM
It says that it got 86 templates from the cache and 0 fetched from the database so it seems to be working.
Maybe it's best I ignore what XCache is telling me (?), though it seems odd, and it only appears with this product.
Another suggestion Deceptor
vblog could probably do with one of your great optimizations ^^
shlomot
12-23-2008, 04:04 AM
When vB Optimise is active, when clicking the save button after editing a post, the revised data is saved into the database, but the screen is left at the editor mode instead of refreshing into a normal post display.
shlomot I tried quick and advance edit in 3.7.4 and the edit box went away and the post was updated correcty
Andreas
12-23-2008, 04:24 AM
I just can't imagine disabling 2-3 global queries has such a large impact... Esp w/ one of them being such a small query.. (The style one)
Believe me - it does.
I did basically the same thing quite some momths ago (I also did a slight modification to class_core.php to allow caching phrases for guests) - our DB bandwidth dropped from approx 30 MBit to 5-6 MBit.
Deceptor
12-23-2008, 07:18 AM
Jim_O - If vB Optimise is successfully calling the templates from cache, I don't see why XCache is saying the variables are blank, unless it has a problem displaying them? (They do have characters which could break certain syntax).
Either way, if the templates are being called from cache, then they are most certainly in cache :)
shlomot - I've not been able to replicate on vB 3.8, what vB version are you running?
NolF - Nice suggestion, I'll see what I can do as vBlog will certainly have hook locations I can plug into :)
logicuk
12-23-2008, 07:28 AM
Hey Deceptor i was just wondering when you have the next release planned?
Deceptor
12-23-2008, 07:39 AM
Probably sometime today, early tomorrow, I had to drop vBSEO optimise because they have no hooks in their code unfortunately, would of meant file editing, and a lot of it.
So I'll be working on some more default vB Optimise and possibly vBlog since I was able to get it due to the donations :)
logicuk
12-23-2008, 07:42 AM
Probably sometime today, early tomorrow, I had to drop vBSEO optimise because they have no hooks in their code unfortunately, would of meant file editing, and a lot of it.
So I'll be working on some more default vB Optimise and possibly vBlog since I was able to get it due to the donations :)
Dam no vbseo :(
what about photoplog pro or vbclassifieds?
ps. i made the biggest donation :)
Deceptor
12-23-2008, 07:49 AM
From what I was able to see of those I couldn't see any hook locations either really, without those it makes integration impossible without manual file edits, and I don't want this modification to turn into a gaint install, which it would with file edits I'm afraid.
logicuk
12-23-2008, 07:53 AM
Doh i was really looking forward to the photoplog pro bits
would of made my site so much faster
(what about if i pay u todo this addon just for my site)
Deceptor
12-23-2008, 07:57 AM
I'm afraid I wouldn't have the time right now unfortunately.
logicuk
12-23-2008, 08:01 AM
What about photopost pro does that have hooks? because i will swap over to that
i need a super fast gallery :)
From what I was able to see of those I couldn't see any hook locations either really, without those it makes integration impossible without manual file edits, and I don't want this modification to turn into a gaint install, which it would with file edits I'm afraid.
Latest version of vbClassifieds (1.3.1) has 21 hooks defined. I don't know if I can provide you with the hook names or if you need some more information, but seems that vbClassifieds would be a serious candidate to be optimised considering that it executes 21 queries in its home page.
logicuk
12-23-2008, 09:34 AM
Latest version of vbClassifieds (1.3.1) has 21 hooks defined. I don't know if I can provide you with the hook names or if you need some more information, but seems that vbClassifieds would be a serious candidate to be optimised considering that it executes 21 queries in its home page.
Sweet Deceptor can you take another look when your back? thanks :)
doraj
12-23-2008, 09:37 AM
Hello,
is you set "xcache.admin.enable_auth = Off" than the Xcache's Admin page (/xadmin), will work always or not?
Is it only a way to use the flush option in VbOptimize, right?
Thank you
@ logicuk
there seem to be 52 hooks in PhotoPost vBGallery v2.4.3 :O
Leo Brazil
12-23-2008, 10:43 AM
Does someone knows what may cause this ?
Fatal error: Call to undefined method vb_activecache::flush() in /home/.dearths/www/mywebsite.com/forum/includes/adminfunctions_template.php(946) : eval()'d code on line 4
logicuk
12-23-2008, 12:10 PM
@ logicuk
there seem to be 52 hooks in PhotoPost vBGallery v2.4.3 :O
Im talking about the paid addons, photopost pro and/or photoplog pro
not the free script PhotoPost vBGallery.
doraj
12-23-2008, 12:24 PM
Hello Deceptor, according to you, in vB Optimise Settings, Which tra these settings is really important to improve speed? And for reduce bandiwith, load?
vB Optimise: Cache Templates
B Optimise: Cache Styles
vB Optimise: Cache Phrases
vB Optimise: Cache Forumhome WOL
vB Optimise: Custom Datastore Cache
Can you explain this? So, I can made some test and study more accurately the results
Thank you
logicuk
12-23-2008, 12:39 PM
Hello Deceptor, according to you, in vB Optimise Settings, Which tra these settings is really important to improve speed? And for reduce bandiwith, load?
vB Optimise: Cache Templates
B Optimise: Cache Styles
vB Optimise: Cache Phrases
vB Optimise: Cache Forumhome WOL
vB Optimise: Custom Datastore Cache
Can you explain this? So, I can made some test and study more accurately the results
Thank you
Enable all those mate and your forum will be super fast :)
Hostboard
12-23-2008, 12:57 PM
Ok found a problem...
Installed, disabled in ACP options, left enabled in plugin manager section
Would not allow me to install another plugin (i.e. Blog 2.0)
As soon as I disabled this plugin on the plugin screen Blog installed perfectly.
doraj
12-23-2008, 01:14 PM
Enable all those mate and your forum will be super fast :)
Hello Logi, I am just afraid because I use vB 3.7.3, not vB 3.8, actually I didn't have any issue but if I wouldn't has mistakes if I enable all...therefore I asked which are the best setting for all :)
logicuk
12-23-2008, 02:08 PM
Hello Logi, I am just afraid because I use vB 3.7.3, not vB 3.8, actually I didn't have any issue but if I wouldn't has mistakes if I enable all...therefore I asked which are the best setting for all :)
I use vb 3.7.2 also and everything works fine :)
@logicuk
photopost pro doesn't seem to have hooks (vGallery is paid as well)
photoplog on the other hand has around 130 :O
KevinL
12-23-2008, 02:19 PM
Ok found a problem...
Installed, disabled in ACP options, left enabled in plugin manager section
Would not allow me to install another plugin (i.e. Blog 2.0)
As soon as I disabled this plugin on the plugin screen Blog installed perfectly.
Clear the cache before you try and upload anything and you'll be fine ;)
logicuk
12-23-2008, 02:25 PM
Hey Deceptor
So it seems photoplog pro has around 130 hooks
And vbclassifieds has 21 hooks
Think you can take another look when you get back
Big thanks your best friend logic :)
doraj
12-23-2008, 02:41 PM
Hello Deceptor, I have enabled your Mod on my server and forum vBulletin from about...2 hours. Uhm, sincerely therefore I don't see particular improve or benefit..and I would like understand if something don't works well o there are other problems.
I don't have any mistakes, I use also XCache 1.2.2, enabled in config.php, and as settings of vBOptimize I enalbed quite all, I set off olny:
vB Optimise: Custom Datastore Cache
vB Optimise: vBAdvanced Integration
All others options are enabled
These are any results..:
Forumhome
* Page Generation 0.12597 seconds
* Memory Usage 4,261KB
* Queries Executed 11 (?)
After
# Page Generation 0.13052 seconds
# Memory Usage 4,405KB
# Queries Executed 11
Edit:
Any times I see my forum without background and other images...they missing suddenly, you can see it in 5 attachments
Deceptor
12-23-2008, 07:21 PM
doraj - Enable debug mode on your forum, then check the debug messages in the bottom drop down menu to see if vB Optimise is successfully pulling from cache, or continually trying to set the cache from the database.
Logicuk - My bad, I will definately take a look again :)
Leo Brazil - What cache method do you have set? The hook there is designed to pull a method from vB Optimise and it seems that method is not being created and reverting back to the default vB Optimise class.
logicuk
12-23-2008, 07:31 PM
Thanks D, i just sent you another pm also :)
(Deceptor for member of the month and mod of the month!)
doraj
12-23-2008, 09:10 PM
Hello Deceptor, I tried to set enable all options and I made some screenshot, it seems works, perhaps only "Custom Datastore Cache" doensn't work well because I already use XCache Datastore in config.php, if fact it shows : No custom Datastore items to work with
Sincerely I hope to improving more the speed and reduce the memory usage, but at the moment the values before and after are more similar...It is normal for you?
I also read other member's statistic, and they has more improve than me.
These are others screens, thank you for your help
Deceptor
12-23-2008, 09:40 PM
doraj - The custom datstore items are for mods usually, sometimes other modifications use init_startup to specify custom datastore items, and these are queried instead of using XCache or any other method specified in your config.php. vB Optimise fixes this however by forcing them to use your custom datastore method.
That said, your screens show vB Optimise is working fine. If you disable vB Optimise, you should see that your queries on your forum pages increase by 2, those 2 being styles and templates. As for memory usage/speed, I'm afraid this isn't designed to reduce memory, and impact is insignificant, as for speed, that depends on your connection to the server really. Also check the Optimal Settings, storing CSS as css files will help with speed :)
But to sum up, it is working, and it is reducing queries :) I'm sorry you can't "feel" the impact of this browsing your forum, but perhaps you could ask any of your members if they notice a difference :)
logicuk
12-24-2008, 07:36 AM
Happy xmas Deceptor, will there be an update coming today, or we have to wait untill after xmas?
All the best logic
Deceptor
12-24-2008, 07:40 AM
I'll be pushing out a little update that will allow a couple of other queries to be cached around vBulletin, and Merry Christmas :)
logicuk
12-24-2008, 07:44 AM
I'll be pushing out a little update that will allow a couple of other queries to be cached around vBulletin, and Merry Christmas :)
sweet, after xmas will we will photoplog pro and vbclass support? ;)
Deceptor
12-24-2008, 07:46 AM
I'll be looking at them yeah, see what can be done if anything :)
BamaStangGuy
12-24-2008, 10:48 AM
This seems to be messing up my email a bit. When I get new member notifications via email when it is turned on it leaves out the name but when turned off it works. Also leaves some other things blank (or puts a _ in place instead) when turned on. See screen shots
The newest email (in bold) was a test registration I did with it off. The one below it is with it on.
The content of the email is from the one with Optimize on.
Deceptor
12-24-2008, 10:52 AM
BamaStangGuy - Thanks for notifying me of the issue, it has been mentioned before and is to be fixed in the next version, if you want a fix for now I suggest turning off Cache Phrases :)
Hostboard
12-24-2008, 11:28 AM
Disabled until fix for importing plugins is addressed/fixed.
Deceptor
12-24-2008, 11:49 AM
Could you elaborate on the importing plugins part hostboard? I've imported many products with vB Optimise enabled and had no issues.
BamaStangGuy
12-24-2008, 12:17 PM
Thanks Deceptor, sorry for not seeing it before posting.
Maybe Hostboard is talking about an issue I have when importing Products or uninstalling products.
When I do this my css doesn't seem to be read and my forumdisplay and showthread pages do not have any css applied to them. I have to flush the cache to get them to come back. I store my CSS in a file if that matters.
Deceptor
12-24-2008, 12:44 PM
Hm, cache should flush automatically, what cache method are you using? :)
Jim O
12-24-2008, 12:47 PM
This seems to be messing up my email a bit. When I get new member notifications via email when it is turned on it leaves out the name but when turned off it works. Also leaves some other things blank (or puts a _ in place instead) when turned on. See screen shots
The newest email (in bold) was a test registration I did with it off. The one below it is with it on.
The content of the email is from the one with Optimize on.
BamaStangGuy - Thanks for notifying me of the issue, it has been mentioned before and is to be fixed in the next version, if you want a fix for now I suggest turning off Cache Phrases :)
I guess that I missed it also as I was about to report it. Not a big deal really as it seems only to affect new user registration notifications. Other emails seem to have the correct format.
Deceptor, thanks for the awesome support that you provide for this product!
http://worldwartwozone.com/forums/images/smilies/pauls/xmas3.gif
Deceptor
12-24-2008, 12:49 PM
Your welcome Jim :) Merry Christmas!
BamaStangGuy
12-24-2008, 12:51 PM
Hm, cache should flush automatically, what cache method are you using? :)
xCache
Deceptor
12-24-2008, 12:57 PM
Let me guess, your xcache requires authentification? :)
If authentification is required auto flush can't occur with XCache unfortunately, you can avoid this however if you remove the need for authentification, see my top post FAQ #4 for details :)
PS. Thanks for the donation :)
BamaStangGuy
12-24-2008, 12:59 PM
I have it set to off (via php.ini) as I initially thought that was the problem as well.
BamaStangGuy
12-24-2008, 01:03 PM
Well, now I can not reproduce it. If I run across it again I'll screen shot everything and repost.
Deceptor
12-24-2008, 01:06 PM
Please do. Also make sure the require authentification setting is off in vB Optimise too, but I'm sure you already did that :)
Hostboard
12-24-2008, 01:38 PM
Could you elaborate on the importing plugins part hostboard? I've imported many products with vB Optimise enabled and had no issues.
Had latest version installed and seemed to be working fine :)
I then uploaded VB Blog 2.0 and went to import the XML file and that pretty yellow line that expands just kept going and going and going right off the screen. After about 5 minutes the line actualy stops but the screen keeps expanding. After 20 minutes I clicked out. In the plugin manager it says Blog 2.0.0 installed but it was no where to be found in the NAV bar.
I turned off the software in the options but had no effect. I finaly disabled the plugin in the plugin manager and Blog installed in seconds without any issues.
Deceptor
12-24-2008, 01:39 PM
I installed vBlog 2.0 myself yesterday with no issues, what kinda cache you using? :)
Hostboard
12-24-2008, 02:48 PM
Xcache
Deceptor
12-24-2008, 02:50 PM
Do you require authentification for your XCache? If so, make sure you apply the setting in vB Optimise for XCache Authentification, otherwise auto flush will hault executions. :)
Hostboard
12-24-2008, 02:59 PM
xcache authenticate is off
TheFallenAngel
12-24-2008, 03:24 PM
Not really anything major but I'm getting some odd effects on vBadvanced. I've had one user report that they've gotten different buttons from another skin. I cached the welcome block and even got another user's display.
vBadvanced version is 3.1.0
veenuisthebest
12-24-2008, 04:22 PM
Not really anything major but I'm getting some odd effects on vBadvanced. I've had one user report that they've gotten different buttons from another skin. I cached the welcome block and even got another user's display.
vBadvanced version is 3.1.0
Read the descriptions in the vba modules before enabling settings.
It clearly says not to enable it for welcome block OR any other module that uses templates and no php files.
Deceptor
12-24-2008, 04:48 PM
Hostboard - But does your XCache actually "require" authentification, the setting itself is to tell vB Optimise if you need it or not. If you do need it and you don't let vB Optimise know, there will be unexpected results.
I have a small problem using APC and vBoptimise, Editing/Saving temlates flushes 'APC Opcode Cache' but not the 'user cache' where the templates are actually stored.
I still have to clear the user cache manually for the changes to reflect.
Also is it possible to disable automatic 'flush cache' because if I am editing more than one template i would not want the cache to flush after every save.
Thank you :)
IRANCITY
12-25-2008, 07:49 AM
Warning: Memcache::get() [memcache.get]: php_network_getaddresses: getaddrinfo failed: Name or service not known in [path]/includes/class_activecache_methods.php on line 83
when i change system
Warning: Memcache::get() [memcache.get]: php_network_getaddresses: getaddrinfo failed: Name or service not known in [path]/includes/class_activecache_methods.php on line 83
_
Unable to add cookies, header already sent.
File: /home/iecloob/domains/iecloob.com/public_html/includes/class_core.php
Line: 3242
IRANCITY
12-25-2008, 07:49 AM
what am i doing?
i only install memcache
i dont know how config VB optimise setting
Warning: Memcache::get() [memcache.get]: php_network_getaddresses: getaddrinfo failed: Name or service not known in [path]/includes/class_activecache_methods.php on line 83
Warning: Memcache::get() [memcache.get]: php_network_getaddresses: getaddrinfo failed: Name or service not known in [path]/includes/class_activecache_methods.php on line 83
_
Unable to add cookies, header already sent.
File: /home/iecloob/domains/iecloob.com/public_html/includes/class_core.php
Deceptor
12-25-2008, 10:03 AM
unp - I'll see what I can do to resolve that, does flushing cache in the ACP drop the templates cache?
IRANCITY - My guess is you've got memcache incorrectly configured, please ensure Memcache is correctly setup in your vBulletin config before choosing memcache in vB Optimise.
unp - I'll see what I can do to resolve that, does flushing cache in the ACP drop the templates cache?
Flushing cache in ACP has the same effect as saving templates.
Opcode cleared but template cache is still intact.
IRANCITY
12-25-2008, 04:53 PM
i can't :(
i've inserted this config's to my config.php :
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$config['Misc']['memcacheserver'] = '127.0.0.3';
$config['Misc']['memcacheport'] = '11211';
$i = 0;
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.3';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
also results of typing this command in ssh :
[root@xxxxxx /]# /usr/local/bin/memcached -u nobody -d -m 64 -l 127.0.0.3 -p 11211
bind(): Address already in use
failed to listen
IRANCITY
12-25-2008, 07:51 PM
help me
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.