Talk:PHP caching and optimization

Latest comment: 1 year ago by NguoiDungKhongDinhDanh in topic Testing code changes

You make it sound as if using closed source software was against your religion. Being a fanboy of open source is bad not only for you, but for open source itself. If you use anything open source even if it's worse than a closed source alternative, you aren't telling the open source guys to get better, and you aren't rewarding the closed source guys for being better.

Just get over it and use what does the most good. And as far as I could see,

- PHPA: Faster, no ties, free. - eAccelerator: Even faster, no ties, free. You can see the source, but this is not an advantage per-se; you aren't going to do anything with it, are you? - Zend Optimizer: Fastest, no ties, free.

You want the best performance without being tied to anything, and probably without spending a dollar, right? Then Zend Optimizer is the best for you.

Choosing eAccelerator because it's open source (when you don't need the fact it's open source at all), because "eAccelerator" sounds better than "Zend Optimizer", or because eAccelerator was programmed by people of race X and Zend Optimizer was programmed by people of race Y, are the three just as stupid, IMHO.

Zend Optimizer is not a PHP opcode cache, and doesn't do what those do. --brion 17:31, 28 Jun 2005 (UTC)

How can you tell if eAccelerator is working? edit

I didn't have eAccelerator when I first set up the mediawiki on a Windows2003 Server (1.5beta4 on IIS6.0 with PHP5.0.4), and I am wondering if I have any form of caching working. It certainly appears to be doing some, as when I changed the logo in the LocalSettings.php file, this was not reflected on any of the pages until I re-edited them. How do I find out what is going on? I have since found and downloaded a file called eaccelerator.dll and placed it in "c:\php" and added the following line to the php.ini file zend_extension="c:\php\eaccelerator.dll"

Is there anything more I need to do? --Sf-andrew 00:53, 18 August 2005 (UTC)Reply

Testing code changes edit

I made some code changes and have evidence that the server is still using the old version of the code. I thought it might be cached and I found this page when I was searching for a way to invalidated the cache if there is one. If there is cache that is "hiding" my code changes, what else should I look for?

Thanks! Dscotese (talk) 23:20, 24 June 2022 (UTC)Reply

@Dscotese: This page has been marked as historical and your question is out of scope for Meta-Wiki. If you are asking about how to use MediaWiki, it's best to ask at mediawiki.org. Thanks for your understanding. NguoiDungKhongDinhDanh 23:25, 24 June 2022 (UTC)Reply
Return to "PHP caching and optimization" page.