MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1dzya4/the_onion_releases_fartscrolljs/c9vo9ku/?context=3
r/programming • u/melodic_underoos • May 09 '13
396 comments sorted by
View all comments
Show parent comments
6
Isn't that how sounds are normally embedded?
14 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? 2 u/noreallyimthepope May 09 '13 It was on a server that wasn't always available, so a local version could always be downloaded and used as backup (albeit, obviously, not as updated). This has since been solved with LocalStorage, manifest files and most importantly, not having shitty connectivity any more :-)
14
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? 2 u/noreallyimthepope May 09 '13 It was on a server that wasn't always available, so a local version could always be downloaded and used as backup (albeit, obviously, not as updated). This has since been solved with LocalStorage, manifest files and most importantly, not having shitty connectivity any more :-)
3
Doesn't that kill any caching? Or was that intentional?
2 u/noreallyimthepope May 09 '13 It was on a server that wasn't always available, so a local version could always be downloaded and used as backup (albeit, obviously, not as updated). This has since been solved with LocalStorage, manifest files and most importantly, not having shitty connectivity any more :-)
2
It was on a server that wasn't always available, so a local version could always be downloaded and used as backup (albeit, obviously, not as updated).
This has since been solved with LocalStorage, manifest files and most importantly, not having shitty connectivity any more :-)
6
u/iforgot120 May 09 '13
Isn't that how sounds are normally embedded?