I am playing around with the Alternative PHP Cache APC, and I can't find answers to some of my questions.
- If a file has been loaded in to the bytecode cache, either by APC automaticlly or implicitly via apc_compile_file(), is the php function include aware of that? Does include use the cache, when it needs the file rather then accessing the file from disc?
- If so, how could I test that, to see if it works? Something that shows me that the file on disc wasn't accessed would be good enough.
- Some of the files automatically loaded in to the APC system cache are just pure html files, or 99% html, with a few php variables (Template files). They don't take much space in the APC cache but still, is there a way to exclude files, or whole folders? Tell APC not to even consider loading them?
- I been using SQLite or Redis database as session save handler backend, depending on the project. Often it will not make sense to use both APC and Redis on the same project. What do you think about keeping session data in APC?
Thank you,