mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-05 23:20:19 +00:00
1 line
3.7 KiB
JSON
1 line
3.7 KiB
JSON
[{"user_id": 15579, "stars": [], "topic_id": 17679, "date_created": 1302126278.4346681, "message": "ah, found this: http://caniuse.com/cors", "group_id": 160, "id": 565637}, {"user_id": 15579, "stars": [], "topic_id": 17679, "date_created": 1302125956.4750719, "message": "Anyone know how modern browsers deal with Cross-Origin-Requests (http://www.w3.org/TR/access-control/)? E.g. can I use them for an API if i only care about Chrome, Safari, mobile Safari, and possibly Firefox?", "group_id": 160, "id": 565605}, {"user_id": 1363, "stars": [], "topic_id": 17679, "date_created": 1302146403.8754511, "message": "Opera, what's up with that?", "group_id": 160, "id": 570075}, {"user_id": 26068, "stars": [{"date_created": 1304565604.267525, "user_id": 20173}], "topic_id": 17679, "date_created": 1302198642.8293359, "message": "We do a lot of cross domain communication at work and my co-worker Alex Sexton has provided a lot of info on what is and isn't possible for cross domain communication. Here is a link to a video as well as his slides which are really useful. http://alexsexton.com/?p=154", "group_id": 160, "id": 578026}, {"user_id": 26068, "stars": [], "topic_id": 17679, "date_created": 1302198805.7587309, "message": "I also recommend you check out this library http://easyxdm.net/. It makes doing cross domain stuff a lot easier.", "group_id": 160, "id": 578067}, {"user_id": 20536, "stars": [], "topic_id": 17679, "date_created": 1302270842.3470399, "message": "Most APIs this days have a way to deliver your content in json, from there you can add jsonp support and make cross origin request quite easy.", "group_id": 160, "id": 590016}, {"user_id": 7376, "stars": [], "topic_id": 17679, "date_created": 1302280620.621788, "message": "@Siedrix The only sucky thing about JSONP is you can't use HTTP caching on it because the callback var changes with every request. Other than that, it's the bees knees.", "group_id": 160, "id": 592462}, {"user_id": 22794, "stars": [], "topic_id": 17679, "date_created": 1302281298.9716239, "message": "In jQuery you can specify your own callback function name.", "group_id": 160, "id": 592589}, {"user_id": 20536, "stars": [], "topic_id": 17679, "date_created": 1302331251.0401411, "message": "@ericmoritz you could do localstorage instead of caching, its faster...", "group_id": 160, "id": 600219}, {"user_id": 6604, "stars": [], "topic_id": 17679, "date_created": 1302331423.2630441, "message": "@Siedrix I've been doing a bunch of work with localStorage caching and jQuery ajax preFilters recently. https://github.com/quickleft/ql_cache", "group_id": 160, "id": 600246}, {"user_id": 20536, "stars": [], "topic_id": 17679, "date_created": 1302418288.108757, "message": "@wookiehangover in your experience, hows the browser support for localstorage?", "group_id": 160, "id": 608261}, {"user_id": 6604, "stars": [], "topic_id": 17679, "date_created": 1302453018.756124, "message": "@wookiehangover everything newer than IE7 has it. If you absolutely have to have parity in older browsers, https://github.com/StevenBlack/store.js is a good solution (but IMO its kind of a hack)", "group_id": 160, "id": 610545}, {"user_id": 1855, "stars": [], "topic_id": 17679, "date_created": 1302516305.2672429, "message": "@wookiehangover or rather completely a hack, and that's the point ;P", "group_id": 160, "id": 622732}, {"user_id": 7376, "stars": [], "topic_id": 17679, "date_created": 1302542347.4475441, "message": "@Siedrix That's true, but with public APIs you can't trust that clients will do that. The only answer falls to memcached with JSONP because HTTP caching is useless with JSONP. I'm sure some Varnish VCL magic could accomplish JSONP in Varnish.", "group_id": 160, "id": 626586}] |