RocketScript, what is it?

Published 10 months ago by balistikbill

Haven't really been able to find an answer on this for some reason, but what exactly does

<script type="text/rocketscript">
    // Javscript
</script>

Actually do? Or when you reference a script file externally and include that. I've seen it before, but not sure what it means.

Any insight?

Best Answer (As Selected By balistikbill)
michaellindahl

Looks like Rocketscript is CloudFlare's doing. Are you using CloudFlare?

http://stackoverflow.com/questions/9681032/why-is-wordpress-placing-text-rocketscript-instead-of-text-javascript-when-u

Rocket Loader is a general-purpose asynchronous JavaScript loader coupled with a lightweight virtual browser which can safely run any JavaScript code after window.onload.

https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do-

michaellindahl

Looks like Rocketscript is CloudFlare's doing. Are you using CloudFlare?

http://stackoverflow.com/questions/9681032/why-is-wordpress-placing-text-rocketscript-instead-of-text-javascript-when-u

Rocket Loader is a general-purpose asynchronous JavaScript loader coupled with a lightweight virtual browser which can safely run any JavaScript code after window.onload.

https://support.cloudflare.com/hc/en-us/articles/200168056-What-does-Rocket-Loader-do-

balistikbill

Ya, I saw that page, I thought maybe it was something I was missing I didn't know it was a cloudflare specific optimizing tool.

Please sign in or create an account to participate in this conversation.