[snip]
But now i have sort of the same problem in loading a bit of HTML text.
It takes 1100ms to load 2Kb of HTML.
I think it should be more like 100-300ms.
[/snip]
Server config? Apache config? Bandwidth?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
it's equally slow when viewed from a local machine running
firefox+apache+php+mysql, or from the internet hoster i use..
On Wed, Jun 4, 2008 at 5:48 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 4, 2008 at 8:49 AM, Rene Veerman <[EMAIL PROTECTED]> wrote:
>
>> Using a statis .js file c
On Wed, Jun 4, 2008 at 8:49 AM, Rene Veerman <[EMAIL PROTECTED]> wrote:
> Using a statis .js file costs 3.54 seconds.
>
> Should i suspect apache now?
is this something youre fetching over a local network, or are you going out
over the internet to get it ?
-nathan
On Wed, Jun 4, 2008 at 10:01 AM, Bastien Koert <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Make it write out a static .js file and link to that. Apache can
>> serve up files like that way faster directly than piping it through
>> php. If you don't want to go through that hassle, make sure you have
>>
On Wed, Jun 4, 2008 at 8:45 AM, Rene Veerman <[EMAIL PROTECTED]> wrote:
> Ok, i changed from reading from the database to reading from a file.
> It now clocks at 3.37seconds for the malignant peace of javascript..
> Still too slow :(
>
> Timing the readfile statement that outputs the cache file, is
Quoting Rene Veerman <[EMAIL PROTECTED]>:
Using a statis .js file costs 3.54 seconds.
Should i suspect apache now?
You could try running the php script from the command line.
And see how long it takes. Just to make sure if it's apache or PHP.
Profiling the script will also help tracking dow
Using a statis .js file costs 3.54 seconds.
Should i suspect apache now?
>
>
>
>
> Make it write out a static .js file and link to that. Apache can
> serve up files like that way faster directly than piping it through
> php. If you don't want to go through that hassle, make sure you have
> a far future expire header on the file so that the client does not
> request it
On Wed, Jun 4, 2008 at 8:45 AM, Rene Veerman <[EMAIL PROTECTED]> wrote:
> Ok, i changed from reading from the database to reading from a file.
> It now clocks at 3.37seconds for the malignant peace of javascript..
> Still too slow :(
>
> Timing the readfile statement that outputs the cache file, is
Ok, i changed from reading from the database to reading from a file.
It now clocks at 3.37seconds for the malignant peace of javascript..
Still too slow :(
Timing the readfile statement that outputs the cache file, is at 0.00109
seconds according to a measurement done with microtime()
It seems tha
On Wed, Jun 4, 2008 at 3:05 AM, Rene Veerman <[EMAIL PROTECTED]> wrote:
> Hi..
>
> I've built a cms that's running into a serious speedbump.
> I load several sets of javascript through a custom built db
> caching&compression system.
> Loading it without caching and compression takes between 2 and
11 matches
Mail list logo