Can I use apc opcode cache if I can (not must) have unique content for each visitor on same page? I'm not sure I understand how opcode working. If only save php result to cache and serving it like "html", then it's useless for me. I definitely need to run sql queries on each pageview. Or it's any better way how to optimize php? App have very high-load - about 1000 pageviews per second. It run on nginx + php-fpm.

有帮助吗?

解决方案

Yes, you can. APC caches the program, not its' result. So, the code will be executed each time, just in "optimised" way.

其他提示

How to determine which resource object loaded from, cached opcodes or compiled newly?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top