aco Veteran Posted October 10, 2001 Veteran Share Posted October 10, 2001 My site is made with HTML, but it is very large (around 40KB not including images) is there any way to make it smaller in size without cutting down on the content? Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/ Share on other sites More sharing options...
0 grimman Posted October 10, 2001 Share Posted October 10, 2001 you might try gzipping it. most browsers support that, and those who don't support it are fed with the uncompressed version instead. all gains for you. unfortunately it's a server setting on iis Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14203 Share on other sites More sharing options...
0 aco Veteran Posted October 10, 2001 Author Veteran Share Posted October 10, 2001 I don't use IIS, it is hosted by my ISP so I guess that is out but thanks for the reply anyway :) Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14207 Share on other sites More sharing options...
0 Redmak Administrators Posted October 10, 2001 Administrators Share Posted October 10, 2001 You can compress the html code itself (ie remove all spaces and linebreaks) This wil cut the size in half but makes it unreadable and hard to edit so be sure to keep an uncompressed version on your harddisk. http://www.softlite.net/products/scriptworx/ This free html editor can do this for you. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14240 Share on other sites More sharing options...
0 aco Veteran Posted October 10, 2001 Author Veteran Share Posted October 10, 2001 Redmak, you are a champion! I had no idea the filesize could be cut down so much by deleting linebreaks in code, etc. [EDIT] Previous size: 47.77KB Size now: 26.67KB ;) [/EDIT] Thanks :) Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14250 Share on other sites More sharing options...
0 Tikimotel Posted October 10, 2001 Share Posted October 10, 2001 Crunch and Compact your html code with this!!! Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14255 Share on other sites More sharing options...
0 Tikimotel Posted October 10, 2001 Share Posted October 10, 2001 I looked at your HTML code. Try and link the JavaScripts out side of your HTML file. Use the same code but put it in separate files with the extension ".js". <script src="./scripts/date_display.js" type=JAVASCRIPT> Now when the "function" calls stay the same you can stil change the javascript code and you can recycle all javascript much easier in more HTML files. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14259 Share on other sites More sharing options...
0 aco Veteran Posted October 10, 2001 Author Veteran Share Posted October 10, 2001 Thanks for the tips Tikimotel, I am not too sure about the javascript, is it ok to delete most of the linebreaks? Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14267 Share on other sites More sharing options...
0 ansarwasif Posted October 10, 2001 Share Posted October 10, 2001 good tips... I also like to have thing for compressing the html pages... & I would like to ask aco what have you added in your page that it reaches at about 47kb... & it also doesn't have any image... wow... The maximum size of pages I have created is at about 10kb... I haven't thinked of 40 or 50kb... wow :evil: :evil: :evil: :evil: Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14516 Share on other sites More sharing options...
0 Tingle Posted October 10, 2001 Share Posted October 10, 2001 anyone tried looking at the neowin homepage, i think its near 70kb or something lol tingle Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14627 Share on other sites More sharing options...
0 mortensen Posted October 10, 2001 Share Posted October 10, 2001 Good work Tingle. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14634 Share on other sites More sharing options...
0 PabUK Veteran Posted October 10, 2001 Veteran Share Posted October 10, 2001 Is 70KB good or bad for a page that size? I would guess good! Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14653 Share on other sites More sharing options...
0 Tingle Posted October 10, 2001 Share Posted October 10, 2001 if you rememebr ages ago when we had the grey matter news script, before compression the page was about 200kb :D i have been through every single minute detail to make it as small as possable, and its going no smaller than that lol, so for the page 70kb is good :) tingle Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14659 Share on other sites More sharing options...
0 Silvorgold Posted October 10, 2001 Share Posted October 10, 2001 i've never made a webpage that has a file more than 30kb (not including images), nm i do have one about 36kb Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14672 Share on other sites More sharing options...
0 PabUK Veteran Posted October 10, 2001 Veteran Share Posted October 10, 2001 Nice one Tingle, you truly are a script-kiddie! A good one that is, not one of those lame people who claim to be hackers. I just mean you are great at web programming. :) Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14674 Share on other sites More sharing options...
0 Tingle Posted October 10, 2001 Share Posted October 10, 2001 thanks pab :) all i got to do now is to actually make a profit out of all of this stuff im doing, i will be nice and happy then, a nice healthy profit out of everything i have taught myself :) Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14684 Share on other sites More sharing options...
0 PabUK Veteran Posted October 10, 2001 Veteran Share Posted October 10, 2001 Yes you deserve to make a profit out of that work. Maybe you could set up your scripts for commercial websites? I would hire you myself but I barely make any money at all as it is! Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14692 Share on other sites More sharing options...
0 Tingle Posted October 10, 2001 Share Posted October 10, 2001 im afraid im already ahead of you, its all part of the master plan that :D, cant reveal any more info though lol Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14698 Share on other sites More sharing options...
0 PabUK Veteran Posted October 10, 2001 Veteran Share Posted October 10, 2001 lol. Are there any good free news scripts that you would recommend? One that is easy to install and can be easily customised to fit in with a website. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14699 Share on other sites More sharing options...
0 Captain Phatty Posted October 11, 2001 Share Posted October 11, 2001 Originally posted by PabUK lol. Are there any good free news scripts that you would recommend? One that is easy to install and can be easily customised to fit in with a website. I searched for awhile to try to find a news script. I found a couple that worked with linux and mySQL, but nothing that was simple to set up, and nothing that worked on a windows platform. I ended up learning Active Server Pages (ASP), which took me about 2-3 weeks, and now I have a great news script running. It uses ASP for the code and IIS to manage the databases. The databases were made in Access 2000. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14969 Share on other sites More sharing options...
0 Quboid Posted October 11, 2001 Share Posted October 11, 2001 IIS, Access 2000 and ASP? Yuck! Rule on PHP/Perl, MySQL and Apache! Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14975 Share on other sites More sharing options...
0 Captain Phatty Posted October 11, 2001 Share Posted October 11, 2001 Originally posted by Xain IIS, Access 2000 and ASP? Yuck! Rule on PHP/Perl, MySQL and Apache! LOL. You work with what you have :) The school that I used to be a student at and now a tech guy at runs IIS/Access, so thats what I used. But i tried PHP/mySQL, they are almost identical. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14978 Share on other sites More sharing options...
0 Tikimotel Posted October 11, 2001 Share Posted October 11, 2001 some grafixstuff can be pre-defined with the use off Cascading Style Sheets. I looked at www.brainjar.com for help. he uses " " to define certain blocks and styles in his pages,quite nice and easy. You could also search the web on "css" or "stylesheets" Now with most of the stuff predefined you only have to load the definition once. (no more copy paste in your html code, much more readable) And with that you'll create much smaller html code. Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-14988 Share on other sites More sharing options...
0 Tingle Posted October 11, 2001 Share Posted October 11, 2001 sorry, dont know of any news scripts specificly, there is php nuke, but thats more of an entire site and isnt very easy to fit in with the rest of the site. As for php/asp mysql/access etc, i have worked with both, i find php much better cos it is much easier to connect with databases, and i just generally prefer it, plus it has the best resource to learn it from, the manual from php,net, i havent found anything like that for asp. mysql as far as i know is much more faster than access on large sites, we would have no chance of using access fiels for this site, just would be stupid opening and closing a 50mb file about 100 times a second :) hence the reason we use mysql, plus the fact php and mysql are all entirely free and can run on any server (neowin is on a uniz/lunix or whatever, the other one, not M$ lol). but really it comes down to the preferance of the personl, i prefer php, hence the reason neowin is done with php :) tingle Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-15060 Share on other sites More sharing options...
0 Captain Phatty Posted October 12, 2001 Share Posted October 12, 2001 That is one great advantage to using stuff designed for linux such as mySQL, no running to Barnes and Noble when you can't figure something out and you need a decent reference :) Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-15228 Share on other sites More sharing options...
0 Killa-b Posted November 8, 2001 Share Posted November 8, 2001 There are a few but the one i used is from.... hold on http://www.gwscripts.com/ very easy to add news, and it just incorporates into the existing page. it uses perl, so go to www.activestate.com and get perl for windows. that all there is to it, clean easy, etc. there is also http://www.stefan-pettersson.nu/scripts/newsadmin/ which is ok but i found the above one to be more powerfull, even from simple sites Matt Link to comment https://www.neowin.net/forum/topic/2332-cutting-down-on-size/#findComment-30880 Share on other sites More sharing options...
Question
aco Veteran
My site is made with HTML, but it is very large (around 40KB not including images) is there any way to make it smaller in size without cutting down on the content?
Link to comment
https://www.neowin.net/forum/topic/2332-cutting-down-on-size/Share on other sites
25 answers to this question
Recommended Posts