|
|
| New Topic Reply Subscription Options |
|
| Forums: CFFM: CFFM taking a long time to load | |||
|
|||
| garciadev
Joined: 09/05/07 Posts: 5 |
CFFM taking a long time to load Posted Wednesday, September 5, 2007 at {ts '2013-05-24 17:34:00'} I am trying to use CFFM v1.17 with FCKEditor and CFFM is taking a long time to load. I have used an older version before with CF7 on a smaller site, and it loads fine. I am using CF8 (Windows 2K3) on a new site and the app takes upwards of 10 seconds to come up with the initial directory list. It continues to take a long time on subsqequent directories. Has anyone had issues using CFFM with CF8? Has anyone had slowness issues in general? BTW, when I use the built-in FCKEditor CF file tools, it comes up very quickly. Thanks. -Daniel |
||
|
|||
| admin
Location: Apex, NC Posts: 193 |
RE: CFFM taking a long time to load Posted Thursday, September 6, 2007 at {ts '2013-05-24 14:34:00'} Is there a lot of stuff in the initial directory? What types of files are in the initial directory? Rick Root
|
||
|
|||
| garciadev
Joined: 09/05/07 Posts: 5 |
RE: CFFM taking a long time to load Posted Thursday, September 6, 2007 at {ts '2013-05-24 14:56:00'} The initial directory only has a few folders in it. The subsequent directories have a lot of folders/sub-folders and files (JPG and PDF mostly) in them. Is it doing some kind of recursive loop through all the directories? Thanks. -Daniel |
||
|
|||
| admin
Location: Apex, NC Posts: 193 |
RE: CFFM taking a long time to load Posted Friday, September 7, 2007 at {ts '2013-05-24 09:39:00'} Well, CFFM does do some recursive directory reading in order to get a list of all the subfolders within the root directory. This means if you point your installation of CFFM to C:\ or / or something like that, you're going to find it to be horrendously slow no matter what version of Coldfusion you're running. It does this so that when you choose to move or copy a file, you can move or copy it to any directory within your folder structure. See the following code: <cfset variables.listAllFiles = cffm.directoryList(cffm.includeDir,"true")> You can change "true" in the first line to "false" and it won't do it recursively.. but you'll never be able to copy/move files to any directory other than a subdirectory. Rick Rick Root
|
||
|
|||
| garciadev
Joined: 09/05/07 Posts: 5 |
RE: CFFM taking a long time to load Posted Friday, September 7, 2007 at {ts '2013-05-24 10:13:00'} Rick, That did it. While there aren't a lot of directories initially, there are a lot of sub-directories and files. I set that value to false and it comes up quickly now. Is there a switch to turn off the move/copy links or do I just need to comment them out? Thanks! -Daniel |
||
|
|||
| admin
Location: Apex, NC Posts: 193 |
RE: CFFM taking a long time to load Posted Friday, September 7, 2007 at {ts '2013-05-24 10:19:00'} Nope, no switch. Just comment them out. They're kinda hard to find, thanks to the resource bundle stuff. You'll have to look in the cffm_properties file to figure out which Msg they are and then find that msg in cffm.cfm =) Rick Rick Root
|
||
|
|||
| New Topic Reply Subscription Options |
|
| Subscription Options |
| Subscription options are available after you log in. |
There are 8 active user sessions right now.