|
Posted by Jasen Betts on 02/11/06 02:08
On 2006-02-10, mark <mark@localhost.net> wrote:
> "d" <d@example.com> wrote in message
> news:0t2Hf.18086$wl.6727@text.news.blueyonder.co.uk...
>> "mark" <mark@localhost.net> wrote in message
>> news:43eca863$0$82675$ed2619ec@ptn-nntp-reader03.plus.net...
>>>I have one very large include, which is an array. It's included when
>>>index.php is loaded. However, I now need to use the same include on
>>>page2.php, and page3.php and page4.php. Is there a smart way to do this
>>>and mimize load times on each sudsequent page?
>>
>> Just put it in an include, and include it on all those pages :)
>
> yea, but doesn't that result in a large download time for end user? if the
> original include is 100KB, that means index.php is 100KB+ already, if I
> include it on the other pages, they too will be that large?
users don't generally download php.
--
Bye.
Jasen
Navigation:
[Reply to this message]
|