canjs / can-connect

Model layer utilities for every JavaScript framework! Assemble real-time, high performance, restful data connections.
https://canjs.com/doc/can-connect.html
MIT License
29 stars 16 forks source link

Turn off XHR_CACHE #508

Closed MarcGodard closed 4 years ago

MarcGodard commented 4 years ago

Would like an option to turn off the following from rendered pages:

<script>XHR_CACHE = [{"request":{"url":"/api..."}]</script>

I use sockets, and this is useless and just makes my pages a lot larger to download.

matthewp commented 4 years ago

Moving to done-ssr.

matthewp commented 4 years ago

Closing in favor of https://github.com/donejs/done-ssr/issues/691