This object is in archive! 

2.1 Zend Guard Loader - Caching Question - And THANK YOU!!!

Archived Dan B. 12 years ago

Guys, SOOO HAPPY to hear we don't need Zend Guard Loader anymore as of 2.1 (for commercial installs).

LOL Zend Loader was not compatible with our main server that relies on APC for our WordPress sites, so we had to get a new server altogether for UseResponse this summer. :-)

SO I'm really happy we can standardize our servers again and not need it anymore!!

My question is: what will be the impact on caching if we get rid of Zend Guard Loader? Do you guys rely on that for caching in any way? or can APC function as caching?

Best Answer
photo

We are also glad that we could get rid of it but staying with solid protection of Licensing spending much time on that, as we knew that it could and stopped some users from installing it on the server.

Additional problems were installing it on PHP 5.4 as there is no Zend Guard Loader for it and installing on XAMPP or WAMPP environments. There was also problem with APC caching as APC didn't work with Zend Guard Loader.

Now to your question... APC will perfectly work now, and improve overall caching but internal caching system shows also good results.

Maximum what you'll get in comparison to internal caching system, 20% performance, but let me know your increase in %%

All you need to do is update your bootstrap.inc configuration file to include everywhere that you see caching engine to be APC

Replies (7)

photo
1

We are also glad that we could get rid of it but staying with solid protection of Licensing spending much time on that, as we knew that it could and stopped some users from installing it on the server.

Additional problems were installing it on PHP 5.4 as there is no Zend Guard Loader for it and installing on XAMPP or WAMPP environments. There was also problem with APC caching as APC didn't work with Zend Guard Loader.

Now to your question... APC will perfectly work now, and improve overall caching but internal caching system shows also good results.

Maximum what you'll get in comparison to internal caching system, 20% performance, but let me know your increase in %%

All you need to do is update your bootstrap.inc configuration file to include everywhere that you see caching engine to be APC

photo
1

>> All you need to do is update your bootstrap.inc configuration file to include everywhere that you see caching engine to be APC

Can we please make this a system setting in admin? :-) i.e. "Select caching method: APC or internal"

photo
1

Sorry, but we don't want to overwhelm settings section with specific things... We consider internal caching to work great, and spent much time on system performance. Try to move these settings from bootstrap.inc to application.inc and see how it works, as these 2 files differ only:

  1. Bootsrap.inc - updated by system;
  2. Application.inc - updated only by user, system won't touch it while upgrade.

Both are equal to the system to take configs, so if you move some options from one file to another it shouldn't affect. Experiment it on your own risk

photo
2

Hey Stas, just to clarify - if we wish to use the built-in internal caching system, that will still work, even if we REMOVE Zend Guard Loader altogether from system?


And if we want to use APC - what exact files do we need to change. If it's one file, no problem - but if it's a bunch of files, that is not an option for us. :-)


Thanks so much.

photo
1

Internal system is not connected to Zend Guard Loader, so if you remove it, it will still work fine :)

As I've stated before, you can take configuration settings related to caching from application/configs/bootsrap.inc and put them in application/configs/application.inc and see if it works and change caching engine to APC there in 5-6 locations within one file

photo
1

Sorry, misunderstood. :-) Thank you Stas!

photo
1

Dan Baritchi wrote:

Sorry, misunderstood. :-) Thank you Stas!
You are welcome, Dan!

Replies have been locked on this page!