Posted by Bob Bedford on 03/07/06 22:56
hello there,
I've a file in wich I've almost all the text of my website. I do this
because the site is multilingual and this is easier to translate.
The file is becoming ever larger as we add new pages on our site. Actually
the file is about 100ko
I know the page is only used server side (I use a require_once) but wouldn't
be better to create a "common" file wich will be about 20 ko large (with
menus and some other text that will be always shown) and some little file
wich have the same name of the page (like index.php linked to eng-index.php)
in wich there is only the desired text for the desired page ?
What's better for the server ? would this really improve page process time ?
Or there is a way to "cache" this file in memory for faster delivery ?
(Apache server on Linux)
Has anyone a good feedback of experienced development ?
Thanks for any tip.
Bob
Navigation:
[Reply to this message]
|