/    Sign up×
Community /Pin to ProfileBookmark

Suppose we knock off all spaces, tabs and carriage returns so that the entire code is in one line, will it save bandwidth?

Logically, I feel that spaces, carriage returns etc. consume space if u use notepad or a WYSIWUG editor. So does it consume valuable bytes? ?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@PeOfEoJun 28.2004 — It does save bandwidth, but not enough to justify jumbleing your code if you hand code it. If you want to save bandwidtht he best way is to use css for layout and then the user only has to download the css file one time for it to be applied to every page.
Copy linkTweet thisAlerts:
@IncaWarriorJun 28.2004 — I do that sometimes in java when someone brags about how their program is 10 lines shorter than mine ?

Don't do it though, the bandwidth is worth it
×

Success!

Help @nichalp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...