vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   How to set up caching (https://vborg.vbsupport.ru/showthread.php?t=313225)

dutchbb 07-25-2014 09:45 AM

How to set up caching
 
We recently moved to a new server with more memory (128GB), now we want to optimize the caching to make optimal use of this.

Currenly I'm running Xcache, but I've read a lot of good stuff about PHP 5.5's Opcache , APC, Igbinary, Memcached ...

What combination should I use and I there a good tut out there?

Thanks

PS: server runs on nginx and ubuntu FYI

dutchbb 07-29-2014 02:45 PM

anyone?

Dave 07-29-2014 02:52 PM

I believe APC is developed by the contributors of PHP and is officially supported(?), that would be a good option to choose. I don't think there's a huge difference between the PHP caching modules.

You can do aggressive complete page caching with Varnish, but you must configure it so it will only cache content with users who are not logged in (check if cookie set for example). Users who are logged in obviously get shown different phrases and things on their screen.

Using MariaDB instead of MySQL will also show a nice improvement, MariaDB also has very nice caching features.
It's a matter of installing MariaDB and moving over your db files, no need to change any PHP settings since MariaDB works with all of the existing MySQL modules.

thetechgenius 04-02-2015 09:30 PM

My Web Server that is running vBulletin is running on Windows Server 2008, so I decided to try out Wincache. And it has been running really well, I have it running as a PHP Extension, and I set it up with vBulletin. Like I said, its been running really well.


All times are GMT. The time now is 03:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00928 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete