Rich

Results 13 comments of Rich

I think that makes sense but if the caching mechanism is the filesystem I think there is no real performance gain (Since the parsing is trivial and the bulk of...

I think for this to be meaningful, we would cache the last `filemtime` along with `$matches` and compare that to the `filemtime` of the actual config file. Caching `matches` still...

@xfra35 thanks for running the timings. What cache engine are you using in the test?

Are you using an opcode cache as well?

Well, then @xfra35, you are correct. @stehlo is also correct. It seems the best compromise if there is a concern about performance at this point (in the absence of rendering...

@xfra35 Can you share how you cached the configs? I imagine from our discussion you cached more than just `$matches`?

Didn't see the paste link. Got it!

Ok that's interesting. To be clear "File Cache" is caching the files in APC when you set `$f3->CACHE=TRUE` - the AP + op-cache column has `$f3->CACHE=FALSE` so no caching is...

So that were comparing apples-to-apples, Can you run it on your VPS with `$f3->CACHE=FALSE` and also the the `folder` dsn to force file caching?

You're correct, `CACHE=FALSE` is redundant. (@ikkez - case 1 is the default framework mechanism). However I am concerned that your local machine with file caching performed better than your VPS...