Question

I think the question speaks for itself..

My concern is, we would be modifying some PHP files here and there. Will the accelerator(s) know that it needs to recompile modified files (i assume they would, common sense)?

However, i didnt find any documentation on this matter.

That said, would it help (speed up) installing PHP accelerators on development environment (say localhost)?

Was it helpful?

Solution

Unless you are debugging your cacher, caching should be turned off for development.

OTHER TIPS

Unless you want to benchmark on your development environment I would simply call this pre-mature optimization.

Most of the cachers do check for updated files, but you might be wasting time while the files are cached, etc.

Leave development for flexibility and eliminate any problems with caching. That is at least what I would do.

The accelerators do check if files have been modified (well, the only one I have experience with is APC, but I suspect the others will be similar), so you shouldn't have any problems using an accelerator in a development environment (although the benefit gained will be minimal, since if files are being constantly changed the accelerator will have to constantly re-read all the code).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top