Remove unnecessary fragment cache (#19653)

This commit is contained in:
Ben Halpern 2023-06-28 15:48:43 -04:00 committed by GitHub
parent c5b987ab6b
commit df82994fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,12 +233,10 @@
<div class="fullscreen-code js-fullscreen-code"></div>
<%= javascript_packs_with_chunks_tag "followButtons", "billboard", "localizeArticleDates", "articleReactions", defer: true %>
<% cache("article-show-scripts", expires_in: 8.hours) do %>
<script>
<%# we consider these scripts safe for embedding as they come from our code %>
<%== PodcastTag.script %>
<%== PollTag.script %>
<%== RunkitTag.script %>
<%== TweetTag.script %>
</script>
<% end %>
<script>
<%# we consider these scripts safe for embedding as they come from our code %>
<%== PodcastTag.script %>
<%== PollTag.script %>
<%== RunkitTag.script %>
<%== TweetTag.script %>
</script>