Re: loads slower on Host Server

  •  04-17-2004, 5:38 AM

    Re: loads slower on Host Server

    Hi. I didn´t have this problem with CE images. After Refresh, images load from cache without re-loading.

     

    I didn´t make any special config in the remote server, although I´m using custom config for CE: ImageGallery path, etc.

    Something like:

     

    this.ce1.MaxFlashSize = 500;

    this.ce1.MaxImageSize = 500;

    this.ce1.MaxDocumentSize = 500;

    this.ce1.Culture = "pt";

    this.ce1.FontFacesList = new string[] {"Arial","Courier","Georgia","Palatino Linotype","Tahoma","Times New Roman","Verdana", "WingDings"};

    this.ce1.AllowPasteHtml = false;

    this.ce1.ShowLogo = false;

    this.ce1.ChangeAbsoluteURLsToRelative = false;

    this.ce1.EnableClientScript = true;

    this.ce1.EnableStripScriptTags = true;

    this.ce1.Template = Utilities.EditorTemplate();

    this.ce1.DownloadableDocumentPath = "~/DownloadableFiles";

    this.ce1.HelpUrl = "~/Editor_Resources/Help.htm";

    this.ce1.FilesPath = "~/Editor_Resources";

    this.ce1.EnableFancyDropDownMenu = true;

    this.ce1.ImageGalleryPath = this.ce1.FlashGalleryPath = @ConfigurationSettings.AppSettings[ "Text1UrlPath" ];

     

    And for the EditorTemplate method in my Utilities.cs class

     

    public static string EditorTemplate()

    {

    return

    /*Insertions*********************************************************/

    "Undo,Redo," +

    "Separator," +

    "Cut,Copy,Paste,PasteText,PasteWord,Delete," +

    "Separator," +

    "Char,Emotion,InsertText," +

    "Separator," +

    "ImageGallery,ImageGalleryByBrowsing,FlashGallery," +

    "Separator," +

    "Hr,Link,UnLink,DownloadableFiles," +

    "Separator," +

    "InsertTime,InsertDate," +

    "Separator," +

    "InsertTable,AddRow,DeleteRow,AddColumn,DeleteColumn," +

    "AddCell,DeleteCell,MergeCell,SplitCell,ToggleBorder," +

    /********************************************************************/

    "Break," +

    /*Text Formatting****************************************************/

    "Bold,Italic,Underline," +

    "Separator," +

    "JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone," +

    "Separator," +

    "InsertOrderedList,InsertUnorderedList," +

    "Separator," +

    "Indent,Outdent," +

    "Separator," +

    "FontColor,HighLight," +

    "Separator," +

    "Subscript,Superscript,Strikethrough," +

    "Separator," +

    "Forward,Backward," +

    "AbsolutePosition," +

    "Separator," +

    "RemoveFormat,SelectAll,SelectNone,CleanupCode," +

    "Separator,Separator,Separator,Separator,Separator,Separator," +

    "Separator,Separator,Separator,Separator,Separator,Separator," +

    "Separator,Separator,Separator,Separator,Separator,Separator," +

    "Separator," +

    /********************************************************************/

    "Break," +

    /*DropDowns**********************************************************/

    "paragraphDropDown,fontDropDown,sizeDropDown,Help";

    /********************************************************************/

    }

     

    But I don´t think these configs will interfere with CE button images loding or not loading from cache.

     

    Maybe using Relative or Absolute paths? this.ce1.ChangeAbsoluteURLsToRelative = false;

     

     


    Regards,
    »»» KenA
View Complete Thread