Ok.  First thing would probably be to see where the slowdown really is.


After your cfDirectory tag, put the following:


done.<cfabort>


Reload your page.  If it still takes a while, cfdirectory is the
slowdown, not the display.  If it goes quickly, it's your display.


If it is the display, by paginate, I mean break your results into
pages....i.e, show 1000 results over 10 pages showing 100 results at a
time.


-joe


-----Original Message-----
From: Britney Spears [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 10:44 AM
To: CF-Talk
Subject: RE: Using <cfdirectory to display server files

On Wed, 16 Jun 2004 10:09:01 -0400, Joe Rinehart wrote:

>Is it taking too long to read the directory, or to display the
contents
>of the directory?

Display the contents I guess...

>
>If it's the display that's eating time, I'd suggest paginating
your
>cfdirectory output like you would any other query.

What do you mean by "paginating"?

>
>-joe
>
>
> -----Original Message-----
> From: Britney Spears [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 16, 2004 10:02 AM
> To: CF-Talk
> Subject: re: Using <cfdirectory to display server files
>
>
> Hello,
>
> I'm using CFDIRECTORYand CFLOOP to display a directories and
>files on out server. One directory is quite large and I'm
finding it
>takes too long to display the contents.
> Has anyone experienced this also? Is there a workaround to
make
>it run faster via the CF Administrator settings or most likely,
>enhancing the code?
>  _____  
>
>
>
>
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to