Forum Moderators: open

Message Too Old, No Replies

ASP Code Compression

Tried all the products!

         

simons

12:55 pm on Feb 8, 2004 (gmt 0)

10+ Year Member



.. .well maybe not all but feels like it! Anyone else have this problem? We develop in html / asp and just want to compress our templates, removing unnecessary whitespace, comments and line breaks.

Every tool we've tried (I know we're not allowed to list them!) either screws up jscript, asp code or both by removing whitespace or linebreaks where it shouldn't. We don't have the time to write something ourselves right now.

Ideas desperately needed (by sticky I guess given tos restrictions) - thanks in advance

Krapulator

3:33 am on Feb 9, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check yer stickyies!

CIAimages

7:00 am on Feb 9, 2004 (gmt 0)

10+ Year Member



Have you ever try of doing that from the begining.

I mean when you write your codes just write them properly.

simons

8:21 am on Feb 9, 2004 (gmt 0)

10+ Year Member



Krapulator - big thanks for the sticky - I'll look at that one. The only thing that worries me about these server-side tools is whether they have any negative effect on search engine indexing - I know for sure that the encryption tools do - I'm not so sure about the zip tools.

CIAimages - the code we write is well structured (indented etc.) and properly documented with comments etc. Our pages are quite complex - some of them run to several hundred lines of ASP and HTML. I've been developing software for 25 years in many different programming languages and the principles here are no different - except - that with programming the compiler does all the optimization so that at run-time comments, whitespace etc. don't have any effect on performance. This is why we need the compression tool.