Largish HTML page throttles Coffee Cup


Registered User
27 posts

If I try to edit a certain page of code with Coffee Cup which weighs in at 1.4 Meg then the application crawls to a near-death crawl and it can take ages just to insert a character.

Is this normal and, if so, is there a practical size limit? I know it's a large page but sometimes I have to display gobs of data.

- Malc


Senior Advisor
1,625 posts

Can we have a link to the page?

What Version of the Editor are you using?

Do you have flash on your page?

"An Apple doth not fall far from its tree, yet an orange does."

http://lbwebsites.com - Web-Design & Hosting.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
http://www.sirage.com - Personal Site.
http://www.aveofluv.com - Wedding Site.


Registered User
27 posts

The page is at: http://www.ukhorseracing.co.uk/lab/labnotes082.asp and it's pure text.

I don't/won't do Flash at all. It's just dead simple HTML and the page is being rebuilt to the new format but I knocked what you can see in Coffee Cup.

If I use TextPad or Homesite then there's no issue at all. In fact, I had to edit the thing in HomeSite as it was impossible to do anything in CC.

I am on a Windows 7 Ultimate box with 16GB of RAM using an AMD Bulldozer chip. The version of CC is version 12.6 build 448.

Cheers
Malc


Senior Advisor
1,786 posts

Hmmm yes, see what you mean about the page being somewhat on the largish side.
And it does act a bit sluggishly in the Editor...

Just a thought: Wouldn't this kind of data be better presented in a linked spreadsheet file rather than being integrated into an html page?
As an example, in its present html form, the page does after all contain a total of 215,135 non-breaking spaces (&nbsp)... :rolleyes:
Maybe Homesite specializes in the processing of spaces (at the possible expense of a whole lot of other things! :D )


Registered User
27 posts

At the moment I don't mind large pages being on there like that; yes they may take a few moments (or more) to download but the data is there and it's visible for the users.

When I load that data into TextPad and get that to change the code from normal text to yes, a quarter of a million none breaking spaces it does that in moments. Though I have noticed that it runs slower on my Windows 7 machine than it did on my XP box.

But the editing in there is still quick with TextPad and it is still quick with HomeSite and since what we are doing is glorified text editing it oughtn't be dragging so much that I can't add a character faster than once every four seconds.

I can happily leap into an ancient version of HomeSite when these issues emerge but I would love to stay here with CC, especially after paying for it.


Senior Advisor
1,625 posts

Ok, I will say this first. This is not a Editor problem... When trying to access your source file my Firefox crashed twice because of it...

First... The spaces or   should not be there... All positioning should be done with CSS...

This is why you are having problems. Now, if you want to keep those spaces in there and still use the HTML editor then you can do one thing... Turn off the Spell checker. Click tools and Auto Spell checker and turn it off... This will greatly decrease the amount of time it takes to reload. But please take the spaces out and replace with CSS positioning.
"An Apple doth not fall far from its tree, yet an orange does."

http://lbwebsites.com - Web-Design & Hosting.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
http://www.sirage.com - Personal Site.
http://www.aveofluv.com - Wedding Site.


Registered User
27 posts

Okie dokie. Thanks for the suggestion; I will do that when I revisit those pages.

Hopefully I can do this via some form of script to edit the HTML files in bulk. That way that i wrote just worked easily as it came from a simple dump and then a simple set of replaces to make those.

Yes, CSS, that would be neat.

Cheers
Malc


Senior Advisor
1,625 posts

You can. Use the search and replace feature and search for   and in the replace field place a blank space " " and click replace all. :D
"An Apple doth not fall far from its tree, yet an orange does."

http://lbwebsites.com - Web-Design & Hosting.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
http://www.sirage.com - Personal Site.
http://www.aveofluv.com - Wedding Site.


Registered User
27 posts

Yes, but the <code> tag isn't as simple as that.

I am going to have to use tables or some sort of construction otherwise it looks a mess.

Thanks, anyway.

- Malc


Senior Advisor
10,375 posts

I would highly suggest you put your data into a table, that alone would fix most of the issues you're having, definitely what you did is extremely harsh to the page :P

Setup a table(s) and put your data within it and use CSS to put the table styles and you'll be good to go.
Jo Ann

http://elementsinwebdesign.com

Some websites created by Elements in Webdesign:
http://cattownrescue.org - A friends site I created to help raise awareness to help stray cats in her area.
http://northbaldwinliteracycouncil.org - the local Literacy Council in my city.
http://lalookssalon.com - one of the local hair dressers in my town.
http://gregmaisfund.com - Dedicated to a friend who recently passed away from Lung Cancer.



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.