@@ -283,7 +283,7 @@ With content:
283283 A placeholder.
284284 </twig:Turbo: Frame>
285285
286- {# renders as: #}
286+
287287 <turbo-frame id="the_frame_id" src="https://example.com/block">
288288 A placeholder.
289289 </turbo-frame>
@@ -1046,6 +1046,70 @@ because these classes implement the ``BroadcasterInterface`` and
10461046``TurboStreamListenRendererInterface `` interfaces, the related services
10471047will be.
10481048
1049+ Meta Tags
1050+ ~~~~~~~~~
1051+
1052+ turbo_exempts_page_from_cache()
1053+ ...............................
1054+
1055+ .. code-block :: twig
1056+
1057+ {{ turbo_exempts_page_from_cache() }}
1058+
1059+ {# renders as: #}
1060+ <meta name="turbo-cache-control" content="no-cache">
1061+
1062+ turbo_exempts_page_from_preview()
1063+ .................................
1064+
1065+ .. code-block :: twig
1066+
1067+ {{ turbo_exempts_page_from_preview() }}
1068+
1069+ {# renders as: #}
1070+ <meta name="turbo-cache-control" content="no-preview">
1071+
1072+ turbo_refreshes_with()
1073+ ............................
1074+
1075+ .. code-block :: twig
1076+
1077+ {{ turbo_page_requires_reload() }}
1078+
1079+ {# renders as: #}
1080+ <meta name="turbo-refresh-method" content="replace">
1081+ <meta name="turbo-refresh-scroll" content="reset">
1082+
1083+ turbo_exempts_page_from_cache()
1084+ ...............................
1085+
1086+ .. code-block :: twig
1087+
1088+ {{ turbo_exempts_page_from_cache() }}
1089+
1090+ {# renders as: #}
1091+ <meta name="turbo-cache-control" content="no-cache">
1092+
1093+ turbo_refresh_method()
1094+ ......................
1095+
1096+ .. code-block :: twig
1097+
1098+ {{ turbo_refresh_method() }}
1099+
1100+ {# renders as: #}
1101+ <meta name="turbo-refresh-method" content="replace">
1102+
1103+ turbo_refresh_scroll()
1104+ ......................
1105+
1106+ .. code-block :: twig
1107+
1108+ {{ turbo_refresh_scroll() }}
1109+
1110+ {# renders as: #}
1111+ <meta name="turbo-refresh-scroll" content="reset">
1112+
10491113 Backward Compatibility promise
10501114------------------------------
10511115
0 commit comments