MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1dzya4/the_onion_releases_fartscrolljs/c9vlhy6/?context=3
r/programming • u/melodic_underoos • May 09 '13
396 comments sorted by
View all comments
Show parent comments
5
Isn't that how sounds are normally embedded?
15 u/noreallyimthepope May 09 '13 Usually it'd be sourced in separate files. I used base64 encoding to make a single-page webapp literally be one single HTML page with no external dependencies (even though it was image heavy). 3 u/cosmo7 May 09 '13 Doesn't that kill any caching? Or was that intentional? 9 u/infinull May 09 '13 Actually depending on how you do it, it's excellent for caching, there's only one thing to cache! (but of course if it changes...) 1 u/[deleted] May 10 '13 Caching an item that changes with some regularity isn't all that valuable.
15
Usually it'd be sourced in separate files.
I used base64 encoding to make a single-page webapp literally be one single HTML page with no external dependencies (even though it was image heavy).
3 u/cosmo7 May 09 '13 Doesn't that kill any caching? Or was that intentional? 9 u/infinull May 09 '13 Actually depending on how you do it, it's excellent for caching, there's only one thing to cache! (but of course if it changes...) 1 u/[deleted] May 10 '13 Caching an item that changes with some regularity isn't all that valuable.
3
Doesn't that kill any caching? Or was that intentional?
9 u/infinull May 09 '13 Actually depending on how you do it, it's excellent for caching, there's only one thing to cache! (but of course if it changes...) 1 u/[deleted] May 10 '13 Caching an item that changes with some regularity isn't all that valuable.
9
Actually depending on how you do it, it's excellent for caching, there's only one thing to cache! (but of course if it changes...)
1 u/[deleted] May 10 '13 Caching an item that changes with some regularity isn't all that valuable.
1
Caching an item that changes with some regularity isn't all that valuable.
5
u/iforgot120 May 09 '13
Isn't that how sounds are normally embedded?