Domanda

Credo che la questione parla da sé ..

La mia preoccupazione è, saremmo lì modificando file PHP qui e. Sarà l'acceleratore (s) sa che ha bisogno di ricompilare i file modificati (presumo farebbero, il buon senso)?

Tuttavia, non ho trovato alcuna documentazione su questa materia.

Detto questo, è vero aiuto (velocità fino) l'installazione di acceleratori PHP su ambiente di sviluppo (ad esempio localhost)?

È stato utile?

Soluzione

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

Altri suggerimenti

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).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top