I my site I have dir structure like this:
[dat]
--[languages]
----[en]
------data.xml
----[de]
------data.xml
etc.
Now - when I get the page hit I resolve the user's language and little bit this and that. Anyway - currently I read always the files (the one that matches users language of course) with every single request.
But now I wonder - will it be a problem when I release the site? I mean the data there in XML files stays the same. Is there any way to make it so that I don't have to read the files over and over again?
The problem here are not just the XML files but some CNF or INI files also - that I read in with every reguest. Is it correct approach? You all do that so?
Some sort of cache system maybe?
thank U