I'm having trouble wrapping my head around the fact that one of my website is speedier when I'm logged in than when I'm not. I'm also seeing some strange behaviour, and I think it might be related to W3TC, although, I can't be 100% sure.
So I'm running a nginx, php-fpm, mysql setup, on a 1gb RAM digital ocean droplet. I've got W3TC page and object cache running with APC. Curently, W3TC is configured so administrator won't get cached pages.
Here are the weird things happenings :
- When I'm logged in WP, and load my index, I'm having an average < 2s loading time. Logging out and loading the same page gives me an average of 7 to 10s loading time;
- Activating the database cache breaks some JS functionnalities (like news scroller or image sliders), except if I'm logged in;
- I've also discovered that some of my advertising, managed by a plugin, will just not show (actually, it's the source code that stops loading entirely), again, except if I'm logged in!
I could live with the database cache not working. Although, I'd like that my end user have the same speed I have! What would be the appropriate steps to debug all of this? Frankly, I'm lost on this!