Ask HN: What is the purpose of Airbnb's meta content JSON?
1 comments
The alternative would be to generate JSON as a JavaScript file or in a SCRIPT tag, so my guess would be so that it can be rendered as part of the view without generating code.
Another reason would be that they keep the same HEAD but swap out the BODY for things like a/b testing, caching, page loading, etc.
Either way, after you determine that you don't want to store JSON as part of your BODY, the HEAD is the only other place you can store it, and if you don't want to generate code, then META tags probably make the most semantic sense.
Another reason would be that they keep the same HEAD but swap out the BODY for things like a/b testing, caching, page loading, etc.
Either way, after you determine that you don't want to store JSON as part of your BODY, the HEAD is the only other place you can store it, and if you don't want to generate code, then META tags probably make the most semantic sense.
Here is what I got back from wonderlib (their services seem a bit hammered right now) https://wonderlib.com/research-network/response/557a3aa79718...
some examples:
Ideas: