Skip to content

Commit

Permalink
Remove profile preload optimization because now that we support actua…
Browse files Browse the repository at this point in the history
…l routing, users can land on a page other than the home page, and preloading can thus result in stale information being displayed upon navigating back to the home page
  • Loading branch information
Svetlitski committed Feb 5, 2020
1 parent 0708e49 commit 9df4024
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion csm_web/frontend/templates/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.10.2/umd/react.development.js" integrity="sha256-Fy0+oh76u+dih9imNzr0Ka1RHbVKV8o4nR+p8s6wTXE=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.10.2/umd/react-dom.development.js" integrity="sha256-ZMB3rvxm3yr+lN12NcNAJbw6JQWFah3Qx3s3XH1Z0P8=" crossorigin="anonymous"></script>
{% endif %}
<link rel="preload" href="api/profiles/" as="fetch" crossorigin="anonymous" />
{% endblock %}

{% block body %}
Expand Down

0 comments on commit 9df4024

Please sign in to comment.