File size: 260,859 Bytes
077605d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730

      <!doctype html>
      <html
        lang="en-US"
        data-theme="light dark"
        data-renderer="Doc"
        
        
      >
        <head>
          <meta charset="UTF-8" />
          <meta
            name="viewport"
            content="width=device-width, initial-scale=1.0"
          />
          <title>HTTP caching - HTTP | MDN</title>
          
          <script>try {
  document.documentElement.dataset.theme =
    localStorage.getItem("theme") || "light dark";
} catch (error) {
  console.warn("Unable to set theme", error);
}

try {
  if (localStorage.getItem("nop") === "yes") {
    document.documentElement.dataset["nop"] = "yes";
  }
} catch (error) {
  console.warn("Unable to set nop", error);
}
</script>
          <link rel="stylesheet" href="/static/client/styles-global.19cc0c980e463125.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/270.c4deb27edf934078.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-reference-layout.632d2f3884f10ca3.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/9228.c46ef79d5582674d.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-content-section.ee79aa021892f35a.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-heading-anchor.0eec5185ab9425b7.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-reference-toc.9b9bd019efd16b86.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-article-footer.81ae18c89fc527dc.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-left-sidebar.46e37af4d0b5c883.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-page-layout.5a4354f33e894319.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-a11y-menu.5796ee87cb69f93f.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-navigation.c3ebf384e65df345.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-logo.aea5ff6edf1b9cfb.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-menu.e2c5c8a53a8854c2.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-breadcrumbs-bar.2d1bed1ab424b6b3.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-breadcrumbs.87eb742f4e711dc3.css" fetchpriority="high" /><link rel="stylesheet" href="/static/client/styles-footer.66072dd619a4ef50.css" fetchpriority="high" />
          <link
                rel="preload"
                href="/static/client/jetbrains-mono-latin.119994ed445212c7.woff2"
                as="font"
                type="font/woff2"
                crossorigin="anonymous"
                fetchpriority="low"
              /><link
                rel="preload"
                href="/static/client/inter-latin.9a3b1bc220d426ef.woff2"
                as="font"
                type="font/woff2"
                crossorigin="anonymous"
                fetchpriority="low"
              />
          
          <script src="/static/client/runtime.231db49498ee594b.js" type="module"></script><script src="/static/client/5909.489e266d049aa182.js" type="module"></script><script src="/static/client/4585.e30f706b333273cd.js" type="module"></script><script src="/static/client/1216.2fdb44f0bb574bc2.js" type="module"></script><script src="/static/client/index.0059999758bb8565.js" type="module"></script>
          
    <link
      rel="icon"
      sizes="32x32"
      href="https://developer.mozilla.org/favicon.ico"
    />
    <link
      rel="icon"
      type="image/svg+xml"
      href="https://developer.mozilla.org/favicon.svg"
    />
   <meta name="description" content="The HTTP cache stores a response associated with a request and reuses the stored response for subsequent requests." /><meta name="og:url" content="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching" /><meta name="og:title" content="HTTP caching - HTTP | MDN" /><meta name="og:locale" content="en_US" /><meta name="og:description" content="The HTTP cache stores a response associated with a request and reuses the stored response for subsequent requests." /><meta name="og:image" content="https://developer.mozilla.org/mdn-social-image.46ac2375.png" /><meta name="og:image:type" content="image/png" /><meta name="og:image:height" content="1024" /><meta name="og:image:width" content="1024" /><meta name="og:image:alt" content="The MDN logo" /><meta name="og:site_name" content="MDN Web Docs" /><meta name="twitter:card" content="summary" /><meta name="twitter:creator" content="MozDevNet" />
          <link
            rel="canonical"
            href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching"
          />
          <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
          <link rel="manifest" href="/manifest.json" />
          <link
            rel="search"
            type="application/opensearchdescription+xml"
            href="/opensearch.xml?locale=en-US"
            title="MDN"
          />
          <link
            rel="alternate"
            type="application/rss+xml"
            title="MDN Blog RSS Feed"
            href="https://developer.mozilla.org/en-US/blog/rss.xml"
          />
        </head>
        
      <body class="page-layout">
        <ul class="a11y-menu">
      <li>
        <a href="#content" data-glean-id="a11y_menu: click #content"
          >Skip to main content</a
        >
      </li>
      <li>
        <a href="#mdn-search" data-glean-id="a11y_menu: click #search"
          >Skip to search</a
        >
      </li>
    </ul>
        <div class="page-layout__banner" data-scheme="">
          <mdn-placement-top></mdn-placement-top>
        </div>
        <header class="page-layout__header">
          
      <nav class="navigation" data-scheme="" data-open="false">
        <div class="navigation__logo">
      <a href="/en-US/" class="logo">
        <svg
          class="logo__image"
          width="83"
          height="24"
          viewBox="0 0 83 24"
          role="img"
        >
          <title>MDN</title>
          <path
            class="logo__letter"
            d="M9.4 0 2.81 21.17H.12L6.69 0H9.4Zm2.38 0v21.17H9.4V0h2.4Zm9.27 0-6.56 21.17H11.8L18.36 0h2.69Zm2.39 0v21.17h-2.4V0h2.4Z"
          />
          <path
            class="logo__text"
            d="M45.55 16.83h-3.93v-1.27h.87v-3.63c0-.85-.16-1.45-.48-1.82a1.65 1.65 0 0 0-1.3-.52c-.74 0-1.3.25-1.66.78a2.98 2.98 0 0 0-.58 1.58v3.59h1.38v1.26h-3.93v-1.26h.87v-3.6c0-.88-.16-1.48-.48-1.83a1.7 1.7 0 0 0-1.29-.52 1.93 1.93 0 0 0-1.65.75 2.85 2.85 0 0 0-.58 1.6v3.62h1.59v1.27h-4.64v-1.27h1.37V9.75h-1.4V8.46h3.08v1.47c.28-.48.62-.87 1.08-1.2a3 3 0 0 1 1.68-.45c.67 0 1.22.16 1.73.48.5.32.85.8 1.03 1.47.25-.57.62-1.03 1.13-1.4.5-.37 1.1-.55 1.81-.55.8 0 1.5.25 2.05.75.55.51.85 1.3.85 2.35v4.18h1.4v1.27Zm9.77 0H52.3v-1.66c-.27.51-.66.95-1.13 1.29-.56.4-1.23.59-1.9.55-1.11 0-2-.37-2.67-1.12a4.41 4.41 0 0 1-1-3.06c0-1.15.3-2.2.93-3.15.6-.94 1.58-1.43 2.94-1.43 1.36 0 2.25.5 2.83 1.5V5.22h-2V3.93h3.63v11.63h1.38v1.27Zm-3.06-3.86v-1.02a2.28 2.28 0 0 0-.73-1.67 2.4 2.4 0 0 0-1.66-.65 2.18 2.18 0 0 0-1.88.9 3.63 3.63 0 0 0-.65 2.2c0 .95.23 1.68.7 2.19.45.5 1.03.76 1.7.76.73 0 1.33-.3 1.79-.88.48-.6.71-1.21.73-1.83Zm14.14 3.86h-4.43v-1.27h1.37v-3.63c0-.85-.16-1.45-.5-1.82a1.68 1.68 0 0 0-1.31-.52c-.71 0-1.29.23-1.7.69a2.52 2.52 0 0 0-.67 1.6v3.66h1.38v1.26H56.1v-1.26h1.38v-5.8h-1.42V8.47h3.12V9.9c.6-1.06 1.57-1.6 2.92-1.6.83 0 1.54.26 2.12.77.57.5.85 1.28.85 2.34v4.19h1.38v1.24h-.05Z"
          />
          <path class="logo__cursor" d="M67.71 21.98H83V24H67.71v-2.02Z" />
        </svg>
      </a>
    </div>
        <div class="navigation__search" data-view="mobile">
          <mdn-search-button><template shadowroot="open" shadowrootmode="open"><style>.mdn-search-button{align-items:center;background-color:var(--color-background-page);border:1px solid var(--color-border-primary);border-radius:var(--radius-full);color:var(--color-text-primary);cursor:pointer;display:flex;justify-content:space-between;margin:0;padding:.25rem .25rem .25rem .75rem;width:5rem}.mdn-search-button:hover{background-color:var(--color-background-secondary)}.mdn-search-button:before{content:"";height:18px;width:15px;--csstools-light-dark-toggle-95231fd5-0:var(--csstools-color-scheme--light) var(--color-blue-80);border-bottom:2px solid var(--csstools-light-dark-toggle-95231fd5-0,var(--color-blue-50))}@supports (color:light-dark(red,red)){.mdn-search-button:before{border-bottom:2px solid light-dark(var(--color-blue-50),var(--color-blue-80))}}</style><!--lit-part PwhADO+m7/M=--><!--lit-node 0--><button
      class="mdn-search-button"
      title="Search the site"
      
      data-glean-id="quick-search-open: menu"
    >
      <!--lit-part ijtgkDNyZhc=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="m21 21-4.34-4.34"/><circle cx="11" cy="11" r="8"/></svg><!--/lit-part-->
    </button><!--/lit-part--></template></mdn-search-button>
        </div>
        <button
          class="navigation__button"
          type="button"
          aria-expanded="false"
          aria-controls="navigation__popup"
          aria-label="Toggle navigation"
        ></button>
        <div class="navigation__popup" id="navigation__popup">
          <div class="navigation__menu">
      <nav class="menu">
        <div class="menu__tab" data-section="html">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: html"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >HTML</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        <a
        
        href="/en-US/docs/Web/HTML"
        
        
        data-glean-id="menu_click_menu: html -&gt; /en-US/docs/Web/HTML"
        >HTML: Markup language</a
      >
                      </p>
                      <div class="menu__panel-content">
                        <dl>
                                <dt>HTML reference</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Reference/Elements"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Reference/Elements"
        >Elements</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Reference/Global_attributes"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Reference/Global_attributes"
        >Global attributes</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Reference/Attributes"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Reference/Attributes"
        >Attributes</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Reference"
        aria-label="See all HTML references"
        title="See all HTML references"
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Reference"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>HTML guides</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Guides/Responsive_images"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Guides/Responsive_images"
        >Responsive images</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Guides/Cheatsheet"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Guides/Cheatsheet"
        >HTML cheatsheet</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Guides/Date_and_time_formats"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Guides/Date_and_time_formats"
        >Date &amp; time formats</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTML/Guides"
        aria-label="See all HTML guides"
        title="See all HTML guides"
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/HTML/Guides"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Markup languages</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/SVG"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/SVG"
        >SVG</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/MathML"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/MathML"
        >MathML</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/XML"
        
        
        data-glean-id="menu_click_submenu: html -&gt; /en-US/docs/Web/XML"
        >XML</a
      >
                                </li>
                          </ul></dd>
                              </dl>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="css">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: css"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >CSS</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        <a
        
        href="/en-US/docs/Web/CSS"
        
        
        data-glean-id="menu_click_menu: css -&gt; /en-US/docs/Web/CSS"
        >CSS: Styling language</a
      >
                      </p>
                      <div class="menu__panel-content">
                        <dl>
                                <dt>CSS reference</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Reference/Properties"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Reference/Properties"
        >Properties</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Reference/Selectors"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Reference/Selectors"
        >Selectors</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Reference/At-rules"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Reference/At-rules"
        >At-rules</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Reference/Values"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Reference/Values"
        >Values</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Reference"
        aria-label="See all CSS references"
        title="See all CSS references"
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Reference"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>CSS guides</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Box_model/Introduction"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Guides/Box_model/Introduction"
        >Box model</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Animations/Using"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Guides/Animations/Using"
        >Animations</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Flexible_box_layout/Basic_concepts"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Guides/Flexible_box_layout/Basic_concepts"
        >Flexbox</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Colors/Applying_color"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Guides/Colors/Applying_color"
        >Colors</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides"
        aria-label="See all CSS guides"
        title="See all CSS guides"
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/Guides"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Layout cookbook</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/CSS/How_to/Layout_cookbook/Column_layouts"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/How_to/Layout_cookbook/Column_layouts"
        >Column layouts</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/How_to/Layout_cookbook/Center_an_element"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/How_to/Layout_cookbook/Center_an_element"
        >Centering an element</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/How_to/Layout_cookbook/Card"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/How_to/Layout_cookbook/Card"
        >Card component</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/How_to/Layout_cookbook"
        
        
        data-glean-id="menu_click_submenu: css -&gt; /en-US/docs/Web/CSS/How_to/Layout_cookbook"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="javascript">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: javascript"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label" data-type="long"
                                >JavaScript</span
                              ><span class="menu__tab-label" data-type="short"
                                >JS</span
                              >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        <a
        
        href="/en-US/docs/Web/JavaScript"
        
        
        data-glean-id="menu_click_menu: javascript -&gt; /en-US/docs/Web/JavaScript"
        >JavaScript: Scripting language</a
      >
                      </p>
                      <div class="menu__panel-content">
                        <dl>
                                <dt>JS reference</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Reference/Global_Objects"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Reference/Global_Objects"
        >Standard built-in objects</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Reference/Operators"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Reference/Operators"
        >Expressions &amp; operators</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Reference/Statements"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Reference/Statements"
        >Statements &amp; declarations</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Reference/Functions"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Reference/Functions"
        >Functions</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Reference"
        aria-label="See all JavaScript references"
        title="See all JavaScript references"
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Reference"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>JS guides</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling"
        >Control flow &amp; error handling</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Guide/Loops_and_iteration"
        >Loops and iteration</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Guide/Working_with_objects"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Guide/Working_with_objects"
        >Working with objects</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Guide/Using_classes"
        
        
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Guide/Using_classes"
        >Using classes</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/JavaScript/Guide"
        aria-label="See all JavaScript guides"
        title="See all JavaScript guides"
        data-glean-id="menu_click_submenu: javascript -&gt; /en-US/docs/Web/JavaScript/Guide"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="webapis">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: webapis"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >Web APIs</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        <a
        
        href="/en-US/docs/Web/API"
        
        
        data-glean-id="menu_click_menu: webapis -&gt; /en-US/docs/Web/API"
        >Web APIs: Programming interfaces</a
      >
                      </p>
                      <div class="menu__panel-content">
                        <dl>
                                <dt>Web API reference</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/API/File_System_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/File_System_API"
        >File system API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Fetch_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Fetch_API"
        >Fetch API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Geolocation_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Geolocation_API"
        >Geolocation API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/HTML_DOM_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/HTML_DOM_API"
        >HTML DOM API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Push_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Push_API"
        >Push API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Service_Worker_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Service_Worker_API"
        >Service worker API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API"
        aria-label="See all Web API guides"
        title="See all Web API guides"
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Web API guides</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Web_Animations_API/Using_the_Web_Animations_API"
        >Using the Web animation API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Fetch_API/Using_Fetch"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Fetch_API/Using_Fetch"
        >Using the Fetch API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/History_API/Working_with_the_History_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/History_API/Working_with_the_History_API"
        >Working with the History API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API"
        >Using the Web speech API</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/API/Web_Workers_API/Using_web_workers"
        
        
        data-glean-id="menu_click_submenu: webapis -&gt; /en-US/docs/Web/API/Web_Workers_API/Using_web_workers"
        >Using web workers</a
      >
                                </li>
                          </ul></dd>
                              </dl>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="all">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: all"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >All</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        <a
        
        href="/en-US/docs/Web"
        
        
        data-glean-id="menu_click_menu: all -&gt; /en-US/docs/Web"
        >All web technology</a
      >
                      </p>
                      <div class="menu__panel-content">
                        <dl>
                                <dt>Technologies</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/Accessibility"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/Accessibility"
        >Accessibility</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/HTTP"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/HTTP"
        >HTTP</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/URI"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/URI"
        >URI</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Mozilla/Add-ons/WebExtensions"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Mozilla/Add-ons/WebExtensions"
        >Web extensions</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/WebAssembly"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/WebAssembly"
        >WebAssembly</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/WebDriver"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/WebDriver"
        >WebDriver</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web"
        aria-label="See all web technology references"
        title="See all web technology references"
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web"
        >See all…</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Topics</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/Media"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/Media"
        >Media</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/Performance"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/Performance"
        >Performance</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/Privacy"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/Privacy"
        >Privacy</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/Security"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/Security"
        >Security</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/Progressive_web_apps"
        
        
        data-glean-id="menu_click_submenu: all -&gt; /en-US/docs/Web/Progressive_web_apps"
        >Progressive web apps</a
      >
                                </li>
                          </ul></dd>
                              </dl>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="learn">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: learn"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >Learn</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        <a
        
        href="/en-US/docs/Learn_web_development"
        
        
        data-glean-id="menu_click_menu: learn -&gt; /en-US/docs/Learn_web_development"
        >Learn web development</a
      >
                      </p>
                      <div class="menu__panel-content">
                        <dl>
                                <dt>Frontend developer course</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Learn_web_development/Getting_started"
        
        
        data-glean-id="menu_click_submenu: learn -&gt; /en-US/docs/Learn_web_development/Getting_started"
        >Getting started modules</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Learn_web_development/Core"
        
        
        data-glean-id="menu_click_submenu: learn -&gt; /en-US/docs/Learn_web_development/Core"
        >Core modules</a
      >
                                </li><li>
                                  <a
                                            class=""
                                            
                                            href="/en-US/curriculum/"
                                            
                                            
                                            data-glean-id="menu_click_submenu: learn -&gt; /en-US/curriculum/"
                                            >MDN Curriculum</a
                                          >
                                </li><li>
                                  <a
                                            class="external"
                                            
                                            href="https://scrimba.com/frontend-path-c0j?via=mdn-learn-navbar"
                                            
                                            
                                            data-glean-id="menu_click_submenu: learn -&gt; https://scrimba.com/frontend-path-c0j?via=mdn-learn-navbar"
                                            >Check out the video course from Scrimba, our partner</a
                                          >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Learn HTML</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Learn_web_development/Core/Structuring_content"
        
        
        data-glean-id="menu_click_submenu: learn -&gt; /en-US/docs/Learn_web_development/Core/Structuring_content"
        >Structuring content with HTML module</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Learn CSS</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Learn_web_development/Core/Styling_basics"
        
        
        data-glean-id="menu_click_submenu: learn -&gt; /en-US/docs/Learn_web_development/Core/Styling_basics"
        >CSS styling basics module</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Learn_web_development/Core/CSS_layout"
        
        
        data-glean-id="menu_click_submenu: learn -&gt; /en-US/docs/Learn_web_development/Core/CSS_layout"
        >CSS layout module</a
      >
                                </li>
                          </ul></dd>
                              </dl><dl>
                                <dt>Learn JavaScript</dt>
                                <dd><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Learn_web_development/Core/Scripting"
        
        
        data-glean-id="menu_click_submenu: learn -&gt; /en-US/docs/Learn_web_development/Core/Scripting"
        >Dynamic scripting with JavaScript module</a
      >
                                </li>
                          </ul></dd>
                              </dl>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="tools">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: tools"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >Tools</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        Discover our tools
                      </p>
                      <div class="menu__panel-content">
                        <ul>
                            <li>
                                  <a
                                            class="menu__panel-icon"
                                            data-icon="circle-play"
                                            href="/en-US/play"
                                            
                                            
                                            data-glean-id="menu_click_submenu: tools -&gt; /en-US/play"
                                            >Playground</a
                                          >
                                </li><li>
                                  <a
                                            class="menu__panel-icon"
                                            data-icon="shield-check"
                                            href="/en-US/observatory"
                                            
                                            
                                            data-glean-id="menu_click_submenu: tools -&gt; /en-US/observatory"
                                            >HTTP Observatory</a
                                          >
                                </li>
                          </ul><ul>
                            <li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Border-image_generator"
        
        
        data-glean-id="menu_click_submenu: tools -&gt; /en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Border-image_generator"
        >Border-image generator</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Border-radius_generator"
        
        
        data-glean-id="menu_click_submenu: tools -&gt; /en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Border-radius_generator"
        >Border-radius generator</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Box-shadow_generator"
        
        
        data-glean-id="menu_click_submenu: tools -&gt; /en-US/docs/Web/CSS/Guides/Backgrounds_and_borders/Box-shadow_generator"
        >Box-shadow generator</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Colors/Color_format_converter"
        
        
        data-glean-id="menu_click_submenu: tools -&gt; /en-US/docs/Web/CSS/Guides/Colors/Color_format_converter"
        >Color format converter</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Colors/Color_mixer"
        
        
        data-glean-id="menu_click_submenu: tools -&gt; /en-US/docs/Web/CSS/Guides/Colors/Color_mixer"
        >Color mixer</a
      >
                                </li><li>
                                  <a
        
        href="/en-US/docs/Web/CSS/Guides/Shapes/Shape_generator"
        
        
        data-glean-id="menu_click_submenu: tools -&gt; /en-US/docs/Web/CSS/Guides/Shapes/Shape_generator"
        >Shape generator</a
      >
                                </li>
                          </ul>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="about">
            <mdn-dropdown
                    
                   data-glean-toggle-open="menu_toggle: about"><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
                    <button
                      class="menu__tab-button"
                      type="button"
                      slot="button"
                    >
                      <span class="menu__tab-label"
                              >About</span
                            >
                    </button>
                    <div class="menu__panel" slot="dropdown">
                      <p class="menu__panel-title">
                        Get to know MDN better
                      </p>
                      <div class="menu__panel-content">
                        <ul>
                            <li>
                                  <a
                                            class="menu__panel-icon"
                                            data-icon="mdn-m"
                                            href="/en-US/about"
                                            
                                            
                                            data-glean-id="menu_click_submenu: about -&gt; /en-US/about"
                                            >About MDN</a
                                          >
                                </li><li>
                                  <a
                                            class="menu__panel-icon"
                                            data-icon="chart-no-axes-combined"
                                            href="/en-US/advertising"
                                            
                                            
                                            data-glean-id="menu_click_submenu: about -&gt; /en-US/advertising"
                                            >Advertise with us</a
                                          >
                                </li>
                          </ul><ul>
                            <li>
                                  <a
                                            class="menu__panel-icon"
                                            data-icon="users"
                                            href="/en-US/community"
                                            
                                            
                                            data-glean-id="menu_click_submenu: about -&gt; /en-US/community"
                                            >Community</a
                                          >
                                </li><li>
                                  <a
                                            class="menu__panel-icon external"
                                            data-icon="github"
                                            href="https://github.com/mdn"
                                            
                                            
                                            data-glean-id="menu_click_submenu: about -&gt; https://github.com/mdn"
                                            >MDN on GitHub</a
                                          >
                                </li>
                          </ul>
                      </div>
                    </div>
                  </mdn-dropdown>
          </div><div class="menu__tab" data-section="blog">
            <a
                    class="menu__tab-link"
                    href="/en-US/blog/"
                    data-glean-id="menu_click_link: top-level -&gt; /en-US/blog/"
                    >Blog</a
                  >
          </div>
      </nav>
    </div>
          <div class="navigation__search" data-view="desktop">
            <mdn-search-button><template shadowroot="open" shadowrootmode="open"><style>.mdn-search-button{align-items:center;background-color:var(--color-background-page);border:1px solid var(--color-border-primary);border-radius:var(--radius-full);color:var(--color-text-primary);cursor:pointer;display:flex;justify-content:space-between;margin:0;padding:.25rem .25rem .25rem .75rem;width:5rem}.mdn-search-button:hover{background-color:var(--color-background-secondary)}.mdn-search-button:before{content:"";height:18px;width:15px;--csstools-light-dark-toggle-95231fd5-0:var(--csstools-color-scheme--light) var(--color-blue-80);border-bottom:2px solid var(--csstools-light-dark-toggle-95231fd5-0,var(--color-blue-50))}@supports (color:light-dark(red,red)){.mdn-search-button:before{border-bottom:2px solid light-dark(var(--color-blue-50),var(--color-blue-80))}}</style><!--lit-part PwhADO+m7/M=--><!--lit-node 0--><button
      class="mdn-search-button"
      title="Search the site"
      
      data-glean-id="quick-search-open: menu"
    >
      <!--lit-part ijtgkDNyZhc=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="m21 21-4.34-4.34"/><circle cx="11" cy="11" r="8"/></svg><!--/lit-part-->
    </button><!--/lit-part--></template></mdn-search-button>
          </div>
          <mdn-user-menu></mdn-user-menu>
        </div>
      </nav>
      <mdn-search-modal id="mdn-search"></mdn-search-modal>
     
      <div class="breadcrumbs-bar" data-scheme="">
        <mdn-toggle-sidebar><template shadowroot="open" shadowrootmode="open"><style>:host{border-right:1px solid var(--color-border-primary);display:block;height:100%}mdn-button{height:100%}</style><!--lit-part gv6WcfvvaIc=--><!--lit-node 0--><mdn-button
      
      
      
      
      
     icon-only variant="plain" aria-controls="main-sidebar" defer-hydration><template shadowroot="open" shadowrootmode="open"><style>.button{align-items:center;background-color:initial;border:1px solid #0000;border-radius:.25rem;color:var(--color-text-primary);column-gap:.3125em;cursor:pointer;display:inline-flex;font-family:var(--font-family-text);font-size:.875em;font-weight:450;justify-content:center;line-height:var(--font-line-ui);margin:0;padding:.5em;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle}.button[data-variant=primary]{--csstools-light-dark-toggle-33eaa513-0:var(--csstools-color-scheme--light) var(--color-black);color:var(--csstools-light-dark-toggle-33eaa513-0,var(--color-white));--csstools-light-dark-toggle-33eaa513-1:var(--csstools-color-scheme--light) var(--color-white);background-color:var(--csstools-light-dark-toggle-33eaa513-1,var(--color-black))}@supports (color:light-dark(red,red)){.button[data-variant=primary]{background-color:light-dark(var(--color-black),var(--color-white));color:light-dark(var(--color-white),var(--color-black))}}.button[data-variant=primary]:hover{--csstools-light-dark-toggle-33eaa513-2:var(--csstools-color-scheme--light) var(--color-gray-60);background-color:var(--csstools-light-dark-toggle-33eaa513-2,var(--color-gray-40))}@supports (color:light-dark(red,red)){.button[data-variant=primary]:hover{background-color:light-dark(var(--color-gray-40),var(--color-gray-60))}}.button[data-variant=primary][data-action=positive]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-3:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-3,var(--color-green-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]{background-color:light-dark(var(--color-green-50),var(--color-green-20))}}.button[data-variant=primary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-4:var(--csstools-color-scheme--light) var(--color-green-50);background-color:var(--csstools-light-dark-toggle-33eaa513-4,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]:hover{background-color:light-dark(var(--color-green-20),var(--color-green-50))}}.button[data-variant=primary][data-action=negative]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-5:var(--csstools-color-scheme--light) var(--color-red-20);background-color:var(--csstools-light-dark-toggle-33eaa513-5,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]{background-color:light-dark(var(--color-red-50),var(--color-red-20))}}.button[data-variant=primary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-6:var(--csstools-color-scheme--light) var(--color-red-50);background-color:var(--csstools-light-dark-toggle-33eaa513-6,var(--color-red-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]:hover{background-color:light-dark(var(--color-red-20),var(--color-red-50))}}.button[data-variant=secondary]{border-color:currentcolor}.button[data-variant=secondary]:hover{--csstools-light-dark-toggle-33eaa513-7:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-7,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=secondary]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=secondary][data-action=positive]{--csstools-light-dark-toggle-33eaa513-8:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-8,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=secondary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-9:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-9,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=secondary][data-action=negative]{--csstools-light-dark-toggle-33eaa513-10:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-10,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=secondary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-11:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-11,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-12:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-12,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[data-variant=plain]:hover{--csstools-light-dark-toggle-33eaa513-13:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-13,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=plain]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=plain][data-action=positive]{--csstools-light-dark-toggle-33eaa513-14:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-14,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=plain][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-15:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-15,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=plain][data-action=negative]{--csstools-light-dark-toggle-33eaa513-16:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-16,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=plain][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-17:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-17,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-18:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-18,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[aria-disabled=true],.button[disabled]{--csstools-light-dark-toggle-33eaa513-19:var(--csstools-color-scheme--light) var(--color-gray-60)!important;color:var(--csstools-light-dark-toggle-33eaa513-19,var(--color-gray-40))!important;cursor:not-allowed;--csstools-light-dark-toggle-33eaa513-20:var(--csstools-color-scheme--light) var(--color-gray-20)!important;background-color:var(--csstools-light-dark-toggle-33eaa513-20,var(--color-gray-80))!important;border-color:#0000}@supports (color:light-dark(red,red)){.button[aria-disabled=true],.button[disabled]{background-color:light-dark(var(--color-gray-80),var(--color-gray-20))!important;color:light-dark(var(--color-gray-40),var(--color-gray-60))!important}}.button .icon{display:flex}.button svg{height:1.25em;width:1.25em}.button .label{padding-block:.125em;padding-inline:.0625em}:host{display:inline-flex;vertical-align:middle}.button{box-sizing:border-box;height:100%;width:100%}</style><!--lit-part O1S+ZMb7umU=-->
        <!--lit-node 0--><button
          class="button"
          aria-labelledby="label-rzsutgfsbul"
          
          
          
          
          data-variant="plain"
          
          part="button"
        >
          <!--lit-part--><!--lit-part bRP2a5ux/uw=--><span class="icon" part="icon"><!--lit-part 6ks+zZ9KZSc=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18"/></svg><!--/lit-part--></span><!--/lit-part--><!--lit-part rI2hX8LXYZM=-->
    <!--lit-node 0--><span id="label-rzsutgfsbul" class="label" hidden part="label"
      ><!--lit-part Pz0gobCCM4E=--><slot></slot><!--/lit-part--></span
    >
  <!--/lit-part--><!--/lit-part-->
        </button>
      <!--/lit-part--></template>
      <!--lit-part-->Toggle sidebar<!--/lit-part-->
    </mdn-button><!--/lit-part--></template></mdn-toggle-sidebar> 
      <ol
        class="breadcrumbs"
        vocab="https://schema.org/"
        typeof="BreadcrumbList"
      >
        
            <li property="itemListElement" typeof="ListItem">
              <a
                href="/en-US/docs/Web"
                property="item"
                typeof="WebPage"
                data-glean-id="breadcrumb_click: 4/4"
                ><span property="name">Web</span></a
              >
              <meta property="position" content="1" />
            </li>
          
            <li property="itemListElement" typeof="ListItem">
              <a
                href="/en-US/docs/Web/HTTP"
                property="item"
                typeof="WebPage"
                data-glean-id="breadcrumb_click: 3/4"
                ><span property="name">HTTP</span></a
              >
              <meta property="position" content="2" />
            </li>
          
            <li property="itemListElement" typeof="ListItem">
              <a
                href="/en-US/docs/Web/HTTP/Guides"
                property="item"
                typeof="WebPage"
                data-glean-id="breadcrumb_click: 2/4"
                ><span property="name">Guides</span></a
              >
              <meta property="position" content="3" />
            </li>
          
            <li property="itemListElement" typeof="ListItem">
              <a
                href="/en-US/docs/Web/HTTP/Guides/Caching"
                property="item"
                typeof="WebPage"
                data-glean-id="breadcrumb_click: 1/4"
                ><span property="name">HTTP caching</span></a
              >
              <meta property="position" content="4" />
            </li>
          
      </ol>
    
        <mdn-collection-save-button
                doc-url="/en-US/docs/Web/HTTP/Guides/Caching"
                doc-title="HTTP caching"
              ></mdn-collection-save-button>
        <mdn-color-theme><template shadowroot="open" shadowrootmode="open"><style>.color-theme{--color-theme-light-dark:url(/static/ssr/contrast.d86e85c43de8dee8.svg);--color-theme-light:url(/static/ssr/sun.1d7c3ad7bf6fc390.svg);--color-theme-dark:url(/static/ssr/moon.74026b9da82b0694.svg);position:relative}.color-theme__button{align-items:center;background-color:initial;border:none;color:inherit;column-gap:.25rem;cursor:pointer;display:flex;font:inherit;margin:0;padding:0 .5rem}.color-theme__button:is(:hover,:focus,[aria-expanded=true]){background-color:var(--color-background-secondary)}@media (width <= 769px){.color-theme__button>span{display:none}}.color-theme__button:before{background-color:currentcolor;content:"";height:1.25rem;mask-size:cover;width:1.25rem}.color-theme__button[data-mode="light dark"]:before{mask-image:var(--color-theme-light-dark)}.color-theme__button[data-mode=light]:before{mask-image:var(--color-theme-light)}.color-theme__button[data-mode=dark]:before{mask-image:var(--color-theme-dark)}.color-theme__dropdown{border:1px solid var(--color-border-primary);padding:.75rem;position:absolute;right:0;z-index:1}.color-theme__dropdown,.color-theme__list{background-color:var(--color-background-primary);margin:0;width:max-content}.color-theme__list{list-style:none;padding:0}.color-theme__option{align-items:center;background-color:initial;border:none;color:var(--color-text-primary);column-gap:.25rem;cursor:pointer;display:flex;font:inherit;margin:0;padding:.25rem;width:100%}.color-theme__option:hover{background-color:var(--color-background-secondary)}.color-theme__option:before{background-color:currentcolor;content:"";height:1.25rem;mask-size:cover;width:1.25rem}.color-theme__option[data-mode="light dark"]:before{mask-image:var(--color-theme-light-dark)}.color-theme__option[data-mode=light]:before{mask-image:var(--color-theme-light)}.color-theme__option[data-mode=dark]:before{mask-image:var(--color-theme-dark)}.color-theme__option[data-current]{background:var(--color-background-secondary)}</style><!--lit-part qfulPQ/1soM=--><div class="color-theme">
      <!--lit-node 1--><mdn-dropdown  defer-hydration><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
        <!--lit-node 2--><button
          part="button"
          slot="button"
          class="color-theme__button"
          data-mode="light dark"
          type="button"
          aria-label="Switch color theme"
        >
          <span><!--lit-part-->Theme<!--/lit-part--></span>
        </button>
        <div
          slot="dropdown"
          class="color-theme__dropdown"
          id="color-theme__dropdown"
        >
          <ul class="color-theme__list">
            <!--lit-part--><!--lit-part oXzlp8XhpzI=--><li>
                  <!--lit-node 1--><button
                    class="color-theme__option"
                    data-mode="light dark"
                    data-current
                    type="button"
                    
                  >
                    <!--lit-part-->OS default<!--/lit-part-->
                  </button>
                </li><!--/lit-part--><!--lit-part oXzlp8XhpzI=--><li>
                  <!--lit-node 1--><button
                    class="color-theme__option"
                    data-mode="light"
                    
                    type="button"
                    
                  >
                    <!--lit-part-->Light<!--/lit-part-->
                  </button>
                </li><!--/lit-part--><!--lit-part oXzlp8XhpzI=--><li>
                  <!--lit-node 1--><button
                    class="color-theme__option"
                    data-mode="dark"
                    
                    type="button"
                    
                  >
                    <!--lit-part-->Dark<!--/lit-part-->
                  </button>
                </li><!--/lit-part--><!--/lit-part-->
          </ul>
        </div>
      </mdn-dropdown>
    </div><!--/lit-part--></template></mdn-color-theme>
        <mdn-language-switcher
      
      
      
      
      
     locale="en-US" native="English (US)" translations="[{&quot;locale&quot;:&quot;en-US&quot;,&quot;title&quot;:&quot;HTTP caching&quot;,&quot;native&quot;:&quot;English (US)&quot;},{&quot;locale&quot;:&quot;de&quot;,&quot;title&quot;:&quot;HTTP-Caching&quot;,&quot;native&quot;:&quot;Deutsch&quot;},{&quot;locale&quot;:&quot;es&quot;,&quot;title&quot;:&quot;HTTP caching&quot;,&quot;native&quot;:&quot;Español&quot;},{&quot;locale&quot;:&quot;fr&quot;,&quot;title&quot;:&quot;Mise en cache HTTP&quot;,&quot;native&quot;:&quot;Français&quot;},{&quot;locale&quot;:&quot;ja&quot;,&quot;title&quot;:&quot;HTTP キャッシュ&quot;,&quot;native&quot;:&quot;日本語&quot;},{&quot;locale&quot;:&quot;ko&quot;,&quot;title&quot;:&quot;HTTP 캐싱&quot;,&quot;native&quot;:&quot;한국어&quot;},{&quot;locale&quot;:&quot;pt-BR&quot;,&quot;title&quot;:&quot;HTTP caching&quot;,&quot;native&quot;:&quot;Português (do Brasil)&quot;},{&quot;locale&quot;:&quot;ru&quot;,&quot;title&quot;:&quot;HTTP-кеширование&quot;,&quot;native&quot;:&quot;Русский&quot;},{&quot;locale&quot;:&quot;zh-CN&quot;,&quot;title&quot;:&quot;HTTP 缓存&quot;,&quot;native&quot;:&quot;中文 (简体)&quot;},{&quot;locale&quot;:&quot;zh-TW&quot;,&quot;title&quot;:&quot;HTTP caching&quot;,&quot;native&quot;:&quot;正體中文 (繁體)&quot;}]" url="/en-US/docs/Web/HTTP/Guides/Caching"><template shadowroot="open" shadowrootmode="open"><style>*,:after,:before{box-sizing:border-box}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}img{height:auto;max-width:100%}a{color:var(--color-link-normal)}[hidden]{display:none!important}#content{scroll-margin-block-start:var(--sticky-header-height)}.language-switcher{position:relative}.language-switcher__button{align-items:center;background-color:initial;border:none;color:inherit;column-gap:.25rem;cursor:pointer;display:flex;font:inherit;margin:0;padding:0 .5rem}.language-switcher__button:is(:hover,:focus,[aria-expanded=true]){background-color:var(--color-background-secondary)}@media screen and (width <= 480px){.language-switcher__button>span{display:none}}.language-switcher__button:before{background-color:currentcolor;content:"";height:1.25rem;mask-image:url(/static/ssr/languages.dcba936080e5be86.svg);mask-size:cover;width:1.25rem}.language-switcher__dropdown{background-color:var(--color-background-primary);border:1px solid var(--color-border-primary);margin:0;padding:.75rem;position:absolute;right:0;width:max-content;z-index:1}.language_switcher__remember{border-bottom:1px solid var(--color-border-primary);display:flex;font-size:var(--font-size-small);place-items:center;width:100%}.language_switcher__remember mdn-switch{padding:.25rem}:is(.language_switcher__remember mdn-switch):hover{background-color:var(--color-background-secondary)}.language-switcher__list{background-color:var(--color-background-primary);list-style:none;margin:0;padding:0;width:100%}.language-switcher__option{align-items:center;background-color:initial;border:none;color:var(--color-text-primary);column-gap:.25rem;display:flex;font:inherit;margin:0;padding:.25rem;-webkit-text-decoration:none;text-decoration:none;width:100%}.language-switcher__option:hover,.language-switcher__option[data-current]{background-color:var(--color-background-secondary)}</style><!--lit-part chc5lPcfcrc=--><div class="language-switcher">
      <!--lit-node 1--><mdn-dropdown defer-hydration><template shadowroot="open" shadowrootmode="open"><style>:host{display:contents}:host(:not([loaded],:focus-within)) slot[name=dropdown]{display:none}</style><!--lit-part NrjKVwpqTpA=-->
      <!--lit-node 0--><slot name="button" ></slot>
      <!--lit-node 1--><slot name="dropdown" ></slot>
    <!--/lit-part--></template>
        <button
          part="button"
          slot="button"
          class="language-switcher__button"
          type="button"
          aria-labelledby="current-locale"
        >
          <span id="current-locale"><!--lit-part-->English (US)<!--/lit-part--></span>
        </button>
        <div
          slot="dropdown"
          class="language-switcher__dropdown"
          id="language-switcher__dropdown"
        >
          <div class="language_switcher__remember">
            <!--lit-node 7--><mdn-switch
              
              
               defer-hydration><template shadowroot="open" shadowrootmode="open"><style>@property --switch-position{syntax:"<percentage>";inherits:false;initial-value:0}.switch{cursor:pointer;display:flex;gap:.5em;place-items:center}.switch__input{--switch-size:1.25em;appearance:none;background-color:var(--color-text-secondary);background-image:radial-gradient(circle at calc(var(--switch-size)/2),var(--color-background-primary) calc((var(--switch-size)/2)*.8),#0000 calc((var(--switch-size)/2)*.8 + 1px));background-position:var(--switch-position) 0;background-repeat:no-repeat;background-size:var(--switch-size);border-radius:var(--radius-full);display:inline-block;height:var(--switch-size);margin:0;transition:--switch-position .2s;width:calc(var(--switch-size)*1.6)}.switch__input:checked{--switch-position:100%;background-color:var(--color-link-normal)}.switch__input:focus-visible{outline:2px solid var(--color-link-normal);outline-offset:2px}.switch__input:active:not(:disabled){filter:brightness(1.2)}.switch__input:disabled{opacity:.7}</style><!--lit-part 5r9QLJvcF6A=--> <label class="switch">
      <!--lit-node 1--><input
        class="switch__input"
        type="checkbox"
        
        
        
      />
      <slot></slot>
    </label><!--/lit-part--></template><!--lit-part-->Remember language<!--/lit-part--></mdn-switch
            >
            <!--lit-node 9--><mdn-button
              
              
              
              
              
              
               variant="plain" icon-only href="https://github.com/orgs/mdn/discussions/739" target="_blank" title="Enable this setting to always switch to the current language when available. (Click to learn more.)" defer-hydration><template shadowroot="open" shadowrootmode="open"><style>.button{align-items:center;background-color:initial;border:1px solid #0000;border-radius:.25rem;color:var(--color-text-primary);column-gap:.3125em;cursor:pointer;display:inline-flex;font-family:var(--font-family-text);font-size:.875em;font-weight:450;justify-content:center;line-height:var(--font-line-ui);margin:0;padding:.5em;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle}.button[data-variant=primary]{--csstools-light-dark-toggle-33eaa513-0:var(--csstools-color-scheme--light) var(--color-black);color:var(--csstools-light-dark-toggle-33eaa513-0,var(--color-white));--csstools-light-dark-toggle-33eaa513-1:var(--csstools-color-scheme--light) var(--color-white);background-color:var(--csstools-light-dark-toggle-33eaa513-1,var(--color-black))}@supports (color:light-dark(red,red)){.button[data-variant=primary]{background-color:light-dark(var(--color-black),var(--color-white));color:light-dark(var(--color-white),var(--color-black))}}.button[data-variant=primary]:hover{--csstools-light-dark-toggle-33eaa513-2:var(--csstools-color-scheme--light) var(--color-gray-60);background-color:var(--csstools-light-dark-toggle-33eaa513-2,var(--color-gray-40))}@supports (color:light-dark(red,red)){.button[data-variant=primary]:hover{background-color:light-dark(var(--color-gray-40),var(--color-gray-60))}}.button[data-variant=primary][data-action=positive]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-3:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-3,var(--color-green-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]{background-color:light-dark(var(--color-green-50),var(--color-green-20))}}.button[data-variant=primary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-4:var(--csstools-color-scheme--light) var(--color-green-50);background-color:var(--csstools-light-dark-toggle-33eaa513-4,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]:hover{background-color:light-dark(var(--color-green-20),var(--color-green-50))}}.button[data-variant=primary][data-action=negative]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-5:var(--csstools-color-scheme--light) var(--color-red-20);background-color:var(--csstools-light-dark-toggle-33eaa513-5,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]{background-color:light-dark(var(--color-red-50),var(--color-red-20))}}.button[data-variant=primary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-6:var(--csstools-color-scheme--light) var(--color-red-50);background-color:var(--csstools-light-dark-toggle-33eaa513-6,var(--color-red-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]:hover{background-color:light-dark(var(--color-red-20),var(--color-red-50))}}.button[data-variant=secondary]{border-color:currentcolor}.button[data-variant=secondary]:hover{--csstools-light-dark-toggle-33eaa513-7:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-7,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=secondary]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=secondary][data-action=positive]{--csstools-light-dark-toggle-33eaa513-8:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-8,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=secondary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-9:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-9,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=secondary][data-action=negative]{--csstools-light-dark-toggle-33eaa513-10:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-10,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=secondary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-11:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-11,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-12:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-12,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[data-variant=plain]:hover{--csstools-light-dark-toggle-33eaa513-13:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-13,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=plain]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=plain][data-action=positive]{--csstools-light-dark-toggle-33eaa513-14:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-14,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=plain][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-15:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-15,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=plain][data-action=negative]{--csstools-light-dark-toggle-33eaa513-16:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-16,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=plain][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-17:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-17,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-18:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-18,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[aria-disabled=true],.button[disabled]{--csstools-light-dark-toggle-33eaa513-19:var(--csstools-color-scheme--light) var(--color-gray-60)!important;color:var(--csstools-light-dark-toggle-33eaa513-19,var(--color-gray-40))!important;cursor:not-allowed;--csstools-light-dark-toggle-33eaa513-20:var(--csstools-color-scheme--light) var(--color-gray-20)!important;background-color:var(--csstools-light-dark-toggle-33eaa513-20,var(--color-gray-80))!important;border-color:#0000}@supports (color:light-dark(red,red)){.button[aria-disabled=true],.button[disabled]{background-color:light-dark(var(--color-gray-80),var(--color-gray-20))!important;color:light-dark(var(--color-gray-40),var(--color-gray-60))!important}}.button .icon{display:flex}.button svg{height:1.25em;width:1.25em}.button .label{padding-block:.125em;padding-inline:.0625em}:host{display:inline-flex;vertical-align:middle}.button{box-sizing:border-box;height:100%;width:100%}</style><!--lit-part QWlwWBHAx44=-->
        <!--lit-node 0--><a
          class="button"
          href="https://github.com/orgs/mdn/discussions/739"
          target="_blank"
          
          aria-labelledby="label-14s1ls9ruz9j"
          
          
          data-variant="plain"
          
          part="button"
        >
          <!--lit-part--><!--lit-part bRP2a5ux/uw=--><span class="icon" part="icon"><!--lit-part quQU0uIDm5U=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4m0-4h.01"/></svg><!--/lit-part--></span><!--/lit-part--><!--lit-part rI2hX8LXYZM=-->
    <!--lit-node 0--><span id="label-14s1ls9ruz9j" class="label" hidden part="label"
      ><!--lit-part Pz0gobCCM4E=--><slot></slot><!--/lit-part--></span
    >
  <!--/lit-part--><!--/lit-part-->
        </a>
      <!--/lit-part--></template><!--lit-part-->Learn more<!--/lit-part--></mdn-button
            >
          </div>
          <ul class="language-switcher__list">
            <!--lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/de/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; de"
              ><!--lit-part-->Deutsch<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              data-current
              
              href="/en-US/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; en-US"
              ><!--lit-part-->English (US)<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/es/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; es"
              ><!--lit-part-->Español<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/fr/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; fr"
              ><!--lit-part-->Français<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/ja/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; ja"
              ><!--lit-part-->日本語<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/ko/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; ko"
              ><!--lit-part-->한국어<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/pt-BR/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; pt-BR"
              ><!--lit-part-->Português (do Brasil)<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/ru/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; ru"
              ><!--lit-part-->Русский<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/zh-CN/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; zh-CN"
              ><!--lit-part-->中文 (简体)<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--lit-part hnlaESZfzGU=-->
          <li>
            <!--lit-node 1--><a
              class="language-switcher__option"
              
              
              href="/zh-TW/docs/Web/HTTP/Guides/Caching"
              data-glean-id="language: en-US -&gt; zh-TW"
              ><!--lit-part-->正體中文 (繁體)<!--/lit-part--></a
            >
          </li>
        <!--/lit-part--><!--/lit-part-->
          </ul>
        </div>
      </mdn-dropdown>
    </div><!--/lit-part--></template></mdn-language-switcher>
      </div>
    
        </header>
        <div class="page-layout__main">
      <div class="layout__2-sidebars-inline reference-layout">
        <main id="content" class="layout__content">
          <div class="layout__header reference-layout__header">
            
            
            <mdn-survey></mdn-survey>
            <h1>HTTP caching</h1>
             <section
    class="content-section"
    
  >
    
    <p>The HTTP cache stores a response associated with a request and reuses the stored response for subsequent requests.</p>
<p>There are several advantages to reusability. First, since there is no need to deliver the request to the origin server, then the closer the client and cache are, the faster the response will be. The most typical example is when the browser itself stores a cache for browser requests.</p>
<p>Also, when a response is reusable, the origin server does not need to process the request — so it does not need to parse and route the request, restore the session based on the cookie, query the DB for results, or render the template engine. That reduces the load on the server.</p>
<p>Proper operation of the cache is critical to the health of the system.</p>
  </section>
          </div>
          <aside class="layout__right-sidebar reference-layout__toc">
            <nav class="reference-toc">
      <h2>In this article</h2>
      <ul>
        <li>
              <a href="#types_of_caches" data-glean-id="toc_click: #types_of_caches"
                >Types of caches</a
              >
            </li><li>
              <a href="#heuristic_caching" data-glean-id="toc_click: #heuristic_caching"
                >Heuristic caching</a
              >
            </li><li>
              <a href="#fresh_and_stale_based_on_age" data-glean-id="toc_click: #fresh_and_stale_based_on_age"
                >Fresh and stale based on age</a
              >
            </li><li>
              <a href="#expires_or_max-age" data-glean-id="toc_click: #expires_or_max-age"
                >Expires or max-age</a
              >
            </li><li>
              <a href="#vary" data-glean-id="toc_click: #vary"
                >Vary</a
              >
            </li><li>
              <a href="#validation" data-glean-id="toc_click: #validation"
                >Validation</a
              >
            </li><li>
              <a href="#dont_cache" data-glean-id="toc_click: #dont_cache"
                >Don't cache</a
              >
            </li><li>
              <a href="#reload_and_force_reload" data-glean-id="toc_click: #reload_and_force_reload"
                >Reload and force reload</a
              >
            </li><li>
              <a href="#deleting_stored_responses" data-glean-id="toc_click: #deleting_stored_responses"
                >Deleting stored responses</a
              >
            </li><li>
              <a href="#request_collapse" data-glean-id="toc_click: #request_collapse"
                >Request collapse</a
              >
            </li><li>
              <a href="#common_caching_patterns" data-glean-id="toc_click: #common_caching_patterns"
                >Common caching patterns</a
              >
            </li><li>
              <a href="#see_also" data-glean-id="toc_click: #see_also"
                >See also</a
              >
            </li>
      </ul>
    </nav>
            <mdn-placement-sidebar></mdn-placement-sidebar>
          </aside>
          <div class="layout__body reference-layout__body">
            <section
    class="content-section"
    aria-labelledby="types_of_caches"
  >
    <!--lit-part 2oqfYqRFp6s=--><!--lit-node 0--><h2 id="types_of_caches" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#types_of_caches">Types of caches</a></h2><!--/lit-part-->
    <p>In the <a href="https://httpwg.org/specs/rfc9111.html" class="external" target="_blank" title="External link (opens in new tab)">HTTP Caching</a> spec, there are two main types of caches: <strong>private caches</strong> and <strong>shared caches</strong>.</p>
  </section><section
    class="content-section"
    aria-labelledby="private_caches"
  >
    <!--lit-part +utIxctw8SE=--><!--lit-node 0--><h3 id="private_caches" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#private_caches">Private caches</a></h3><!--/lit-part-->
    <p>A private cache is a cache tied to a specific client — typically a browser cache. Since the stored response is not shared with other clients, a private cache can store a personalized response for that user.</p>
<p>On the other hand, if personalized contents are stored in a cache other than a private cache, then other users may be able to retrieve those contents — which may cause unintentional information leakage.</p>
<p>If a response contains personalized content and you want to store the response only in the private cache, you must specify a <code>private</code> directive.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: private
</code></pre></div>
<p>Personalized contents are usually controlled by cookies, but the presence of a cookie does not always indicate that it is private, and thus a cookie alone does not make the response private.</p>
  </section><section
    class="content-section"
    aria-labelledby="shared_cache"
  >
    <!--lit-part vN8FABqbglY=--><!--lit-node 0--><h3 id="shared_cache" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#shared_cache">Shared cache</a></h3><!--/lit-part-->
    <p>The shared cache is located between the client and the server and can store responses that can be shared among users. And shared caches can be further sub-classified into <strong>proxy caches</strong> and <strong>managed caches</strong>.</p>
<h4 id="proxy_caches">Proxy caches</h4>
<p>In addition to the function of access control, some proxies implement caching to reduce traffic out of the network. This is usually not managed by the service developer, so it must be controlled by appropriate HTTP headers and so on. However, in the past, outdated proxy-cache implementations — such as implementations that do not properly understand the HTTP Caching standard — have often caused problems for developers.</p>
<p><strong>Kitchen-sink headers</strong> like the following are used to try to work around "old and not updated proxy cache" implementations that do not understand current HTTP Caching spec directives like <code>no-store</code>.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate
</code></pre></div>
<p>However, in recent years, as HTTPS has become more common and client/server communication has become encrypted, proxy caches in the path can only tunnel a response and can't behave as a cache, in many cases. So in that scenario, there is no need to worry about outdated proxy cache implementations that cannot even see the response.</p>
<p>On the other hand, if a <a href="/en-US/docs/Glossary/TLS">TLS</a> bridge proxy decrypts all communications in a person-in-the-middle manner by installing a certificate from a <a href="/en-US/docs/Glossary/Certificate_authority">CA (certificate authority)</a> managed by the organization on the PC, and performs access control, etc. — it is possible to see the contents of the response and cache it. However, since <a href="/en-US/docs/Web/Security/Defenses/Certificate_Transparency">CT (certificate transparency)</a> has become widespread in recent years, and some browsers only allow certificates issued with an SCT (signed certificate timestamp), this method requires the application of an enterprise policy. In such a controlled environment, there is no need to worry about the proxy cache being "out of date and not updated".</p>
<h4 id="managed_caches">Managed caches</h4>
<p>Managed caches are explicitly deployed by service developers to offload the origin server and to deliver content efficiently. Examples include reverse proxies, CDNs, and service workers in combination with the Cache API.</p>
<p>The characteristics of managed caches vary depending on the product deployed. In most cases, you can control the cache's behavior through the <a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control"><code>Cache-Control</code></a> header and your own configuration files or dashboards.</p>
<p>For example, the HTTP Caching specification essentially does not define a way to explicitly delete a cache — but with a managed cache, the stored response can be deleted at any time through dashboard operations, API calls, restarts, and so on. That allows for a more proactive caching strategy.</p>
<p>It is also possible to ignore the standard HTTP Caching spec protocols in favor of explicit manipulation. For example, the following can be specified to opt-out of a private cache or proxy cache, while using your own strategy to cache only in a managed cache.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-store
</code></pre></div>
<p>For example, Varnish Cache uses VCL (Varnish Configuration Language, a type of <a href="/en-US/docs/Glossary/DSL/Domain_specific_language">DSL</a>) logic to handle cache storage, while service workers in combination with the Cache API allow you to create that logic in JavaScript.</p>
<p>That means if a managed cache intentionally ignores a <a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#no-store"><code>no-store</code></a> directive, there is no need to perceive it as being "non-compliant" with the standard. What you should do is, avoid using kitchen-sink headers, but carefully read the documentation of whatever managed-cache mechanism you're using, and ensure you're controlling the cache properly in the ways provided by the mechanism you've chosen to use.</p>
<p>Note that some CDNs provide their own headers that are effective only for that CDN (for example, <code>Surrogate-Control</code>). Currently, work is underway to define a <a href="https://httpwg.org/specs/rfc9213.html" class="external" target="_blank" title="External link (opens in new tab)"><code>CDN-Cache-Control</code></a> header to standardize those.</p>
<p><img src="https://mdn.github.io/shared-assets/images/diagrams/http/cache/type-of-cache.svg" alt="Types of caches, including a private cache in the browser, a shared (proxy) cache, a reverse proxy cache, and a shared (managed) cache in a CDN, leading to the origin server's cache" loading="lazy"></p>
  </section><section
    class="content-section"
    aria-labelledby="heuristic_caching"
  >
    <!--lit-part 9ee7brHfV70=--><!--lit-node 0--><h2 id="heuristic_caching" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#heuristic_caching">Heuristic caching</a></h2><!--/lit-part-->
    <p>HTTP is designed to cache as much as possible, so even if no <code>Cache-Control</code> is given, responses will get stored and reused if certain conditions are met. This is called <strong>heuristic caching</strong>.</p>
<p>For example, take the following response. This response was last updated 1 year ago.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Date: Tue, 22 Feb 2022 22:22:22 GMT
Last-Modified: Tue, 22 Feb 2021 22:22:22 GMT

&lt;!doctype html&gt;
…
</code></pre></div>
<p>It is heuristically known that content which has not been updated for a full year will not be updated for some time after that. Therefore, the client stores this response (despite the lack of <code>max-age</code>) and reuses it for a while. How long to reuse is up to the implementation, but the specification recommends about 10% (in this case 0.1 year) of the time after storing.</p>
<p>Heuristic caching is a workaround that came before <code>Cache-Control</code> support became widely adopted, and basically all responses should explicitly specify a <code>Cache-Control</code> header.</p>
  </section><section
    class="content-section"
    aria-labelledby="fresh_and_stale_based_on_age"
  >
    <!--lit-part R65enzlQAfo=--><!--lit-node 0--><h2 id="fresh_and_stale_based_on_age" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#fresh_and_stale_based_on_age">Fresh and stale based on age</a></h2><!--/lit-part-->
    <p>Stored HTTP responses have two states: <strong>fresh</strong> and <strong>stale</strong>. The <em>fresh</em> state usually indicates that the response is still valid and can be reused, while the <em>stale</em> state means that the cached response has already expired.</p>
<p>The criterion for determining when a response is fresh and when it is stale is <strong>age</strong>. In HTTP, age is the time elapsed since the response was generated. This is similar to the <a href="/en-US/docs/Glossary/TTL">TTL</a> in other caching mechanisms.</p>
<p>Take the following example response (604800 seconds is one week):</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Date: Tue, 22 Feb 2022 22:22:22 GMT
Cache-Control: max-age=604800

&lt;!doctype html&gt;
…
</code></pre></div>
<p>The cache that stored the example response calculates the time elapsed since the response was generated and uses the result as the response's <em>age</em>.</p>
<p>For the example response, the meaning of <code>max-age</code> is the following:</p>
<ul>
<li>If the age of the response is <em>less</em> than one week, the response is <em>fresh</em>.</li>
<li>If the age of the response is <em>more</em> than one week, the response is <em>stale</em>.</li>
</ul>
<p>As long as the stored response remains fresh, it will be used to fulfill client requests.</p>
<p>When a response is stored in a shared cache, it is possible to tell the client the age of the response. Continuing with the example, if the shared cache stored the response for one day, the shared cache would send the following response to subsequent client requests.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Date: Tue, 22 Feb 2022 22:22:22 GMT
Cache-Control: max-age=604800
Age: 86400

&lt;!doctype html&gt;
…
</code></pre></div>
<p>The client which receives that response will find it to be fresh for the remaining 518400 seconds, the difference between the response's <code>max-age</code> and <code>Age</code>.</p>
  </section><section
    class="content-section"
    aria-labelledby="expires_or_max-age"
  >
    <!--lit-part U3p7sHdpvco=--><!--lit-node 0--><h2 id="expires_or_max-age" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#expires_or_max-age">Expires or max-age</a></h2><!--/lit-part-->
    <p>In HTTP/1.0, freshness used to be specified by the <code>Expires</code> header.</p>
<p>The <code>Expires</code> header specifies the lifetime of the cache using an explicit time rather than by specifying an elapsed time.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Expires: Tue, 28 Feb 2022 22:22:22 GMT
</code></pre></div>
<p>However, the time format is difficult to parse, many implementation bugs were found, and it is possible to induce problems by intentionally shifting the system clock; therefore, <code>max-age</code> — for specifying an elapsed time — was adopted for <code>Cache-Control</code> in HTTP/1.1.</p>
<p>If both <a href="/en-US/docs/Web/HTTP/Reference/Headers/Expires"><code>Expires</code></a> and <a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#max-age"><code>Cache-Control: max-age</code></a> are available, <code>max-age</code> is defined to be preferred. So it is not necessary to provide <code>Expires</code> now that HTTP/1.1 is widely used.</p>
  </section><section
    class="content-section"
    aria-labelledby="vary"
  >
    <!--lit-part Z6J0zBioxfc=--><!--lit-node 0--><h2 id="vary" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#vary">Vary</a></h2><!--/lit-part-->
    <p>The way that responses are distinguished from one another is essentially based on their URLs:</p>
<figure class="table-container"><table>
<thead>
<tr>
<th>URL</th>
<th>Response body</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>https://example.com/index.html</code></td>
<td><code>&lt;!doctype html&gt;...</code></td>
</tr>
<tr>
<td><code>https://example.com/style.css</code></td>
<td><code>body { ...</code></td>
</tr>
<tr>
<td><code>https://example.com/script.js</code></td>
<td><code>function main () { ...</code></td>
</tr>
</tbody>
</table></figure>
<p>But the contents of responses are not always the same, even if they have the same URL. Especially when content negotiation is performed, the response from the server can depend on the values of the <code>Accept</code>, <code>Accept-Language</code>, and <code>Accept-Encoding</code> request headers.</p>
<p>For example, for English content returned with an <a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language"><code>Accept-Language: en</code></a> header and cached, it is undesirable to then reuse that cached response for requests that have an <code>Accept-Language: ja</code> request header. In this case, you can cause the responses to be cached separately — based on language — by adding <code>Accept-Language</code> to the value of the <a href="/en-US/docs/Web/HTTP/Reference/Headers/Vary"><code>Vary</code></a> header.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Vary: Accept-Language
</code></pre></div>
<p>That causes the cache to be keyed based on a composite of the response URL and the <code>Accept-Language</code> request header — rather than being based just on the response URL.</p>
<figure class="table-container"><table>
<thead>
<tr>
<th>URL</th>
<th><code>Accept-Language</code></th>
<th>Response body</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>https://example.com/index.html</code></td>
<td><code>ja-JP</code></td>
<td><code>&lt;!doctype html&gt;...</code></td>
</tr>
<tr>
<td><code>https://example.com/index.html</code></td>
<td><code>en-US</code></td>
<td><code>&lt;!doctype html&gt;...</code></td>
</tr>
<tr>
<td><code>https://example.com/style.css</code></td>
<td><code>ja-JP</code></td>
<td><code>body { ...</code></td>
</tr>
<tr>
<td><code>https://example.com/script.js</code></td>
<td><code>ja-JP</code></td>
<td><code>function main () { ...</code></td>
</tr>
</tbody>
</table></figure>
<p>Also, if you are providing content optimization (for example, for responsive design) based on the user agent, you may be tempted to include <code>User-Agent</code> in the value of the <code>Vary</code> header. However, the <code>User-Agent</code> request header generally has a very large number of variations, which drastically reduces the chance that the cache will be reused. So if possible, instead consider a way to vary behavior based on feature detection rather than based on the <code>User-Agent</code> request header.</p>
<p>For applications that employ cookies to prevent others from reusing cached personalized content, you should specify <a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#private"><code>Cache-Control: private</code></a> instead of specifying a cookie for <code>Vary</code>.</p>
  </section><section
    class="content-section"
    aria-labelledby="validation"
  >
    <!--lit-part ppv8LQ5zXHU=--><!--lit-node 0--><h2 id="validation" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#validation">Validation</a></h2><!--/lit-part-->
    <p>Stale responses are not immediately discarded. HTTP has a mechanism to transform a stale response into a fresh one by asking the origin server. This is called <strong>validation</strong>, or sometimes, <strong>revalidation</strong>.</p>
<p>Validation is done by using a <strong>conditional request</strong> that includes an <a href="/en-US/docs/Web/HTTP/Reference/Headers/If-Modified-Since"><code>If-Modified-Since</code></a> or <a href="/en-US/docs/Web/HTTP/Reference/Headers/If-None-Match"><code>If-None-Match</code></a> request header.</p>
  </section><section
    class="content-section"
    aria-labelledby="if-modified-since"
  >
    <!--lit-part T6bFCjA2I/4=--><!--lit-node 0--><h3 id="if-modified-since" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#if-modified-since">If-Modified-Since</a></h3><!--/lit-part-->
    <p>The following response was generated at 22:22:22 and has a <code>max-age</code> of 1 hour, so you know that it is fresh until 23:22:22.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Date: Tue, 22 Feb 2022 22:22:22 GMT
Last-Modified: Tue, 22 Feb 2022 22:00:00 GMT
Cache-Control: max-age=3600

&lt;!doctype html&gt;
…
</code></pre></div>
<p>At 23:22:22, the response becomes stale and the cache cannot be reused. So the request below shows a client sending a request with an <code>If-Modified-Since</code> request header, to ask the server if there have been any changes made since the specified time.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>GET /index.html HTTP/1.1
Host: example.com
Accept: text/html
If-Modified-Since: Tue, 22 Feb 2022 22:00:00 GMT
</code></pre></div>
<p>The server will respond with <code>304 Not Modified</code> if the content has not changed since the specified time.</p>
<p>Since this response only indicates "no change", there is no response body — there's just a status code — so the transfer size is extremely small.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 304 Not Modified
Content-Type: text/html
Date: Tue, 22 Feb 2022 23:22:22 GMT
Last-Modified: Tue, 22 Feb 2022 22:00:00 GMT
Cache-Control: max-age=3600
</code></pre></div>
<p>Upon receiving that response, the client reverts the stored stale response back to being fresh and can reuse it during the remaining 1 hour.</p>
<p>The server can obtain the modification time from the operating-system file system, which is relatively easy to do for the case of serving static files. However, there are some problems; for example, the time format is complex and difficult to parse, and distributed servers have difficulty synchronizing file-update times.</p>
<p>To solve such problems, the <a href="/en-US/docs/Web/HTTP/Reference/Headers/ETag"><code>ETag</code></a> response header was standardized as an alternative.</p>
  </section><section
    class="content-section"
    aria-labelledby="etagif-none-match"
  >
    <!--lit-part oNpaKQ1k6jw=--><!--lit-node 0--><h3 id="etagif-none-match" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#etagif-none-match">ETag/If-None-Match</a></h3><!--/lit-part-->
    <p>The value of the <code>ETag</code> response header is an arbitrary value generated by the server. There are no restrictions on how the server must generate the value, so servers are free to set the value based on whatever means they choose — such as a hash of the body contents or a version number.</p>
<p>As an example, if a hash value is used for the <code>ETag</code> header and the hash value of the <code>index.html</code> resource is <code>33a64df5</code>, the response will be as follows:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Date: Tue, 22 Feb 2022 22:22:22 GMT
ETag: "33a64df5"
Cache-Control: max-age=3600

&lt;!doctype html&gt;
…
</code></pre></div>
<p>If that response is stale, the client takes the value of the <code>ETag</code> response header for the cached response, and puts it into the <code>If-None-Match</code> request header, to ask the server if the resource has been modified:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>GET /index.html HTTP/1.1
Host: example.com
Accept: text/html
If-None-Match: "33a64df5"
</code></pre></div>
<p>The server will return <code>304 Not Modified</code> if the value of the <code>ETag</code> header it determines for the requested resource is the same as the <code>If-None-Match</code> value in the request.</p>
<p>But if the server determines the requested resource should now have a different <code>ETag</code> value, the server will instead respond with a <code>200 OK</code> and the latest version of the resource.</p>
<div class="notecard note">
<p><strong>Note:</strong>
RFC9110 prefers that servers send both <code>ETag</code> and <code>Last-Modified</code> for a <code>200</code> response if possible.
During cache revalidation, if both <code>If-Modified-Since</code> and <code>If-None-Match</code> are present, then <code>If-None-Match</code> takes precedence for the validator.
If you are only considering caching, you may think that <code>Last-Modified</code> is unnecessary.
However, <code>Last-Modified</code> is not just useful for caching; it is a standard HTTP header that is also used by content-management (CMS) systems to display the last-modified time, by crawlers to adjust crawl frequency, and for other various purposes.
So considering the overall HTTP ecosystem, it is better to provide both <code>ETag</code> and <code>Last-Modified</code>.</p>
</div>
  </section><section
    class="content-section"
    aria-labelledby="force_revalidation"
  >
    <!--lit-part ZESGGAZHMWo=--><!--lit-node 0--><h3 id="force_revalidation" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#force_revalidation">Force Revalidation</a></h3><!--/lit-part-->
    <p>If you do not want a response to be reused, but instead want to always fetch the latest content from the server, you can use the <code>no-cache</code> directive to force validation.</p>
<p>By adding <a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#no-cache"><code>Cache-Control: no-cache</code></a> to the response along with <a href="/en-US/docs/Web/HTTP/Reference/Headers/Last-Modified"><code>Last-Modified</code></a> and <code>ETag</code> — as shown below — the client will receive a <code>200 OK</code> response if the requested resource has been updated, or will otherwise receive a <code>304 Not Modified</code> response if the requested resource has not been updated.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Date: Tue, 22 Feb 2022 22:22:22 GMT
Last-Modified: Tue, 22 Feb 2022 22:00:00 GMT
ETag: "deadbeef"
Cache-Control: no-cache

&lt;!doctype html&gt;
…
</code></pre></div>
<div class="notecard note">
<p><strong>Note:</strong>
The <code>no-cache</code> directive (or equivalent, such as <code>max-age=0, must-revalidate</code>) does not guarantee revalidation for history navigations — such as those made using the <kbd>Back</kbd> button.
If the back/forward cache (<a href="/en-US/docs/Glossary/bfcache">bfcache</a>) is used, the browser restores a snapshot of the page without revalidating.
Even when bfcache is not used, the browser may still serve the cached response without revalidating.
This is <a href="https://httpwg.org/specs/rfc7234.html#history.lists" class="external" target="_blank" title="External link (opens in new tab)">allowed by the specification</a> because history navigations are usually treated as restoring a snapshot of a historical session and not a new request for a previously visited page.</p>
</div>
<p>It is often stated that the combination of <code>max-age=0</code> and <code>must-revalidate</code> has the same meaning as <code>no-cache</code>.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: max-age=0, must-revalidate
</code></pre></div>
<p><code>max-age=0</code> means that the response is immediately stale, and <code>must-revalidate</code> means that it must not be reused without revalidation once it is stale — so, in combination, the semantics seem to be the same as <code>no-cache</code>.</p>
<p>However, that usage of <code>max-age=0</code> is a remnant of the fact that many implementations prior to HTTP/1.1 were unable to handle the <code>no-cache</code> directive — and so to deal with that limitation, <code>max-age=0</code> was used as a workaround.</p>
<p>But now that HTTP/1.1-conformant servers are widely deployed, there's no reason to ever use that <code>max-age=0</code> and <code>must-revalidate</code> combination — you should instead just use <code>no-cache</code>.</p>
  </section><section
    class="content-section"
    aria-labelledby="dont_cache"
  >
    <!--lit-part w9Gr/DokSsA=--><!--lit-node 0--><h2 id="dont_cache" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#dont_cache">Don't cache</a></h2><!--/lit-part-->
    <p>The <code>no-cache</code> directive does not prevent the storing of responses but instead prevents the reuse of responses without revalidation.</p>
<p>If you don't want a response stored in any cache, use <code>no-store</code>.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-store
</code></pre></div>
<p>However, in general, a "do not cache" requirement in practice amounts to the following set of circumstances:</p>
<ul>
<li>Don't want the response stored by anyone other than the specific client, for privacy reasons.</li>
<li>Want to provide up-to-date information always.</li>
<li>Don't know what could happen in outdated implementations.</li>
</ul>
<p>Under that set of circumstances, <code>no-store</code> is not always the most-appropriate directive.</p>
<p>The following sections look at the circumstances in more detail.</p>
  </section><section
    class="content-section"
    aria-labelledby="do_not_share_with_others"
  >
    <!--lit-part x6o4ZqKkTVU=--><!--lit-node 0--><h3 id="do_not_share_with_others" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#do_not_share_with_others">Do not share with others</a></h3><!--/lit-part-->
    <p>It would be problematic if a response with personalized content is unexpectedly visible to other users of a cache.</p>
<p>In such a case, using the <code>private</code> directive will cause the personalized response to only be stored with the specific client and not be leaked to any other user of the cache.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: private
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="provide_up-to-date_content_every_time"
  >
    <!--lit-part cVvFnurZMKA=--><!--lit-node 0--><h3 id="provide_up-to-date_content_every_time" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#provide_up-to-date_content_every_time">Provide up-to-date content every time</a></h3><!--/lit-part-->
    <p>The <code>no-store</code> directive prevents a response from being stored, but does not delete any already-stored response for the same URL.</p>
<p>In other words, if there is an old response already stored for a particular URL, returning <code>no-store</code> will not prevent the old response from being reused.</p>
<p>However, a <code>no-cache</code> directive will force the client to send a validation request before reusing any stored response.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-cache
</code></pre></div>
<p>If the server does not support conditional requests, you can force the client to access the server every time and always get the latest response with <code>200 OK</code>.</p>
  </section><section
    class="content-section"
    aria-labelledby="dealing_with_outdated_implementations"
  >
    <!--lit-part 9HFLfGY+fEs=--><!--lit-node 0--><h3 id="dealing_with_outdated_implementations" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#dealing_with_outdated_implementations">Dealing with outdated implementations</a></h3><!--/lit-part-->
    <p>As a workaround for outdated implementations that ignore <code>no-store</code>, you may see kitchen-sink headers such as the following being used.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate
</code></pre></div>
<p>It is <a href="https://learn.microsoft.com/en-us/previous-versions/troubleshoot/browsers/connectivity-navigation/how-to-prevent-caching" class="external" target="_blank" title="External link (opens in new tab)">recommended</a> to use <code>no-cache</code> as an alternative for dealing with such outdated implementations, and it is not a problem if <code>no-cache</code> is given from the beginning, since the server will always receive the request.</p>
<p>If it is the shared cache that you are concerned about, you can make sure to prevent unintended caching by also adding <code>private</code>:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-cache, private
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="whats_lost_by_no-store"
  >
    <!--lit-part 4NiPRn74smk=--><!--lit-node 0--><h3 id="whats_lost_by_no-store" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#whats_lost_by_no-store">What's lost by <code>no-store</code></a></h3><!--/lit-part-->
    <p>You may think adding <code>no-store</code> would be the right way to opt-out of caching.</p>
<p>However, it's not recommended to grant <code>no-store</code> liberally, because you lose many advantages that HTTP and browsers have, including the browser's back/forward cache.</p>
<p>Therefore, to get the advantages of the full feature set of the web platform, prefer the use of <code>no-cache</code> in combination with <code>private</code>.</p>
  </section><section
    class="content-section"
    aria-labelledby="reload_and_force_reload"
  >
    <!--lit-part C30eGV4bs48=--><!--lit-node 0--><h2 id="reload_and_force_reload" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#reload_and_force_reload">Reload and force reload</a></h2><!--/lit-part-->
    <p>Validation can be performed for requests as well as responses.</p>
<p>The <strong>reload</strong> and <strong>force reload</strong> actions are common examples of validation performed from the browser side.</p>
  </section><section
    class="content-section"
    aria-labelledby="reload"
  >
    <!--lit-part vYSHzK/n3p8=--><!--lit-node 0--><h3 id="reload" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#reload">Reload</a></h3><!--/lit-part-->
    <p>For recovering from window corruption or updating to the latest version of the resource, browsers provide a reload function for users.</p>
<p>A simplified view of the HTTP request sent during a browser reload looks as follows:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>GET / HTTP/1.1
Host: example.com
Cache-Control: max-age=0
If-None-Match: "deadbeef"
If-Modified-Since: Tue, 22 Feb 2022 20:20:20 GMT
</code></pre></div>
<p>(The requests from Chrome, Edge, and Firefox look very much like the above; the requests from Safari will look a bit different.)</p>
<p>The <code>max-age=0</code> directive in the request specifies "reuse of responses with an age of 0 or less" — so, in effect, intermediately stored responses are not reused.</p>
<p>As a result, a request is validated by <code>If-None-Match</code> and <code>If-Modified-Since</code>.</p>
<p>That behavior is also defined in the <a href="https://fetch.spec.whatwg.org/#http-network-or-cache-fetch" class="external" target="_blank" title="External link (opens in new tab)">Fetch</a> standard and can be reproduced in JavaScript by calling <code>fetch()</code> with the cache mode set to <code>no-cache</code> (note that <code>reload</code> is not the right mode for this case):</p>
<div class="code-example"><div class="example-header"><span class="language-name">js</span></div><pre class="brush: js notranslate"><code>// Note: "reload" is not the right mode for a normal reload; "no-cache" is
fetch("/", { cache: "no-cache" });
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="force_reload"
  >
    <!--lit-part bKhIaeMktvA=--><!--lit-node 0--><h3 id="force_reload" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#force_reload">Force reload</a></h3><!--/lit-part-->
    <p>Browsers use <code>max-age=0</code> during reloads for backward-compatibility reasons — because many outdated implementations prior to HTTP/1.1 did not understand <code>no-cache</code>. But <code>no-cache</code> is fine now in this use case, and <strong>force reload</strong> is an additional way to bypass cached responses.</p>
<p>The HTTP Request during a browser <strong>force reload</strong> looks as follows:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>GET / HTTP/1.1
Host: example.com
Pragma: no-cache
Cache-Control: no-cache
</code></pre></div>
<p>(The requests from Chrome, Edge, and Firefox look very much like the above; the requests from Safari will look a bit different.)</p>
<p>Since that's not a conditional request with <code>no-cache</code>, you can be sure you'll get a <code>200 OK</code> from the origin server.</p>
<p>That behavior is also defined in the <a href="https://fetch.spec.whatwg.org/#http-network-or-cache-fetch" class="external" target="_blank" title="External link (opens in new tab)">Fetch</a> standard and can be reproduced in JavaScript by calling <code>fetch()</code> with the cache mode set to <code>reload</code> (note that it's not <code>force-reload</code>):</p>
<div class="code-example"><div class="example-header"><span class="language-name">js</span></div><pre class="brush: js notranslate"><code>// Note: "reload" — rather than "no-cache" — is the right mode for a "force reload"
fetch("/", { cache: "reload" });
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="avoiding_revalidation"
  >
    <!--lit-part t429Rp1NEAw=--><!--lit-node 0--><h3 id="avoiding_revalidation" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#avoiding_revalidation">Avoiding revalidation</a></h3><!--/lit-part-->
    <p>Content that never changes should be given a long <code>max-age</code> by using cache busting — that is, by including a version number, hash value, etc., in the request URL.</p>
<p>However, when the user reloads, a revalidation request is sent even though the server knows that the content is immutable.</p>
<p>To prevent that, the <code>immutable</code> directive can be used to explicitly indicate that revalidation is not required because the content never changes.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: max-age=31536000, immutable
</code></pre></div>
<p>That prevents unnecessary revalidation during reloads.</p>
<p>Note that, instead of implementing that directive, <a href="https://blog.chromium.org/2017/01/reload-reloaded-faster-and-leaner-page_26.html" class="external" target="_blank" title="External link (opens in new tab)">Chrome has changed its implementation</a> so that revalidation is not performed during reloads for subresources.</p>
  </section><section
    class="content-section"
    aria-labelledby="deleting_stored_responses"
  >
    <!--lit-part Rv0xlrJ1L/E=--><!--lit-node 0--><h2 id="deleting_stored_responses" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#deleting_stored_responses">Deleting stored responses</a></h2><!--/lit-part-->
    <p>There is no way to delete responses on an intermediate server that have been stored with a long <code>max-age</code>.</p>
<p>Imagine that the following response from <code>https://example.com/</code> was stored.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Cache-Control: max-age=31536000

&lt;!doctype html&gt;
…
</code></pre></div>
<p>You may want to overwrite that response once it expired on the server, but there is nothing the server can do once the response is stored — since no more requests reach the server due to caching.</p>
<p>One of the methods mentioned in the specification is to send a request for the same URL with an unsafe method such as <code>POST</code>, but for many clients that is difficult to do.</p>
<p>The <a href="/en-US/docs/Web/HTTP/Reference/Headers/Clear-Site-Data#cache"><code>Clear-Site-Data: cache</code></a> header and directive value can be used to clear browser caches — but has no effect on intermediate caches.
Otherwise responses will remain in the browser cache until <code>max-age</code> expires, unless the user manually performs a reload, force-reload, or clear-history action.</p>
<p>Caching reduces access to the server, which means that the server loses control of that URL. If the server does not want to lose control of a URL — for example, in the case that a resource is frequently updated — you should add <code>no-cache</code> so that the server will always receive requests and send the intended responses.</p>
  </section><section
    class="content-section"
    aria-labelledby="request_collapse"
  >
    <!--lit-part bBRBVdU7j5M=--><!--lit-node 0--><h2 id="request_collapse" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#request_collapse">Request collapse</a></h2><!--/lit-part-->
    <p>The shared cache is primarily located before the origin server and is intended to reduce traffic to the origin server.</p>
<p>Thus, if multiple identical requests arrive at a shared cache at the same time, the intermediate cache will forward a single request on behalf of itself to the origin, which can then reuse the result for all clients. This is called <em><strong>request collapse</strong></em>.</p>
<p>Request collapse occurs when requests are arriving at the same time, so even if <code>max-age=0</code> or <code>no-cache</code> is given in the response, it will be reused.</p>
<p>If the response is personalized to a particular user and you do not want it to be shared in collapse, you should add the <code>private</code> directive:</p>
<p><img src="https://mdn.github.io/shared-assets/images/diagrams/http/cache/request-collapse.svg" alt="Request collapse shown as multiple clients sending GET requests and a cache consolidating them into one GET to the origin. The origin server responds with a 200 OK that the cache shares back to all clients." loading="lazy"></p>
  </section><section
    class="content-section"
    aria-labelledby="common_caching_patterns"
  >
    <!--lit-part qhIwJHbk7TM=--><!--lit-node 0--><h2 id="common_caching_patterns" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#common_caching_patterns">Common caching patterns</a></h2><!--/lit-part-->
    <p>There are many directives in the <code>Cache-Control</code> spec, and it may be difficult to understand all of them. But most websites can be covered by a combination of a handful of patterns.</p>
<p>This section describes the common patterns in designing caches.</p>
  </section><section
    class="content-section"
    aria-labelledby="default_settings"
  >
    <!--lit-part 6L5TbWUv/lU=--><!--lit-node 0--><h3 id="default_settings" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#default_settings">Default settings</a></h3><!--/lit-part-->
    <p>As mentioned above, the default behavior for caching (that is, for a response without <code>Cache-Control</code>) is not simply "don't cache" but implicit caching according to so-called "heuristic caching".</p>
<p>To avoid that heuristic caching, it's preferable to explicitly give all responses a default <code>Cache-Control</code> header.</p>
<p>To ensure that by default the latest versions of resources will always be transferred, it's common practice to make the default <code>Cache-Control</code> value include <code>no-cache</code>:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-cache
</code></pre></div>
<p>In addition, if the service implements cookies or other login methods, and the content is personalized for each user, <code>private</code> must be given too, to prevent sharing with other users:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: no-cache, private
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="cache_busting"
  >
    <!--lit-part wlpJkB0gQMk=--><!--lit-node 0--><h3 id="cache_busting" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#cache_busting">Cache Busting</a></h3><!--/lit-part-->
    <p>The resources that work best with caching are static immutable files whose contents never change. And for resources that <em>do</em> change, it is a common best practice to change the URL each time the content changes, so that the URL unit can be cached for a longer period.</p>
<p>As an example, consider the following HTML:</p>
<div class="code-example"><div class="example-header"><span class="language-name">html</span></div><pre class="brush: html notranslate"><code>&lt;script src="bundle.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="build.css" /&gt;
&lt;body&gt;
  hello
&lt;/body&gt;
</code></pre></div>
<p>In modern web development, JavaScript and CSS resources are frequently updated as development progresses. Also, if the versions of JavaScript and CSS resources that a client uses are out of sync, the display will break.</p>
<p>So the HTML above makes it difficult to cache <code>bundle.js</code> and <code>build.css</code> with <code>max-age</code>.</p>
<p>Therefore, you can serve the JavaScript and CSS with URLs that include a changing part based on a version number or hash value. Some of the ways to do that are shown below.</p>
<pre class="brush: plain notranslate"># version in filename
bundle.v123.js

# version in query
bundle.js?v=123

# hash in filename
bundle.YsAIAAAA-QG4G6kCMAMBAAAAAAAoK.js

# hash in query
bundle.js?v=YsAIAAAA-QG4G6kCMAMBAAAAAAAoK
</pre>
<p>Since the cache distinguishes resources from one another based on their URLs, the cache will not be reused again if the URL changes when a resource is updated.</p>
<div class="code-example"><div class="example-header"><span class="language-name">html</span></div><pre class="brush: html notranslate"><code>&lt;script src="bundle.v123.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="build.v123.css" /&gt;
&lt;body&gt;
  hello
&lt;/body&gt;
</code></pre></div>
<p>With that design, both JavaScript and CSS resources can be cached for a long time. So how long should <code>max-age</code> be set to? The QPACK specification provides an answer to that question.</p>
<p><a href="https://datatracker.ietf.org/doc/html/rfc9204" class="external" target="_blank" title="External link (opens in new tab)">QPACK</a> is a standard for compressing HTTP header fields, with tables of commonly-used field values defined.</p>
<p>Some commonly-used cache-header values are shown below.</p>
<pre class="brush: plain notranslate">36 cache-control max-age=0
37 cache-control max-age=604800
38 cache-control max-age=2592000
39 cache-control no-cache
40 cache-control no-store
41 cache-control public, max-age=31536000
</pre>
<p>If you select one of those numbered options, you can compress values in 1 byte when transferred via HTTP3.</p>
<p>Numbers <code>37</code>, <code>38</code>, and <code>41</code> are for periods of one week, one month, and one year.</p>
<p>Because the cache removes old entries when new entries are saved, the probability that a stored response still exists after one week is not that high — even if <code>max-age</code> is set to 1 week. Therefore, in practice, it does not make much difference which one you choose.</p>
<p>Note that number <code>41</code> has the longest <code>max-age</code> (1 year), but with <code>public</code>.</p>
<p>The <code>public</code> value has the effect of making the response storable even if the <code>Authorization</code> header is present.</p>
<div class="notecard note">
<p><strong>Note:</strong>
The <code>public</code> directive should only be used if there is a need to store the response when the <code>Authorization</code> header is set.
It is not required otherwise, because a response will be stored in the shared cache as long as <code>max-age</code> is given.</p>
</div>
<p>So if the response is personalized with basic authentication, the presence of <code>public</code> may cause problems. If you are concerned about that, you can choose the second-longest value, <code>38</code> (1 month).</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code># response for bundle.v123.js

# If you never personalize responses via Authorization
Cache-Control: public, max-age=31536000

# If you can't be certain
Cache-Control: max-age=2592000
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="validation_2"
  >
    <!--lit-part 5zvObA9zXHU=--><!--lit-node 0--><h3 id="validation_2" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#validation_2">Validation</a></h3><!--/lit-part-->
    <p>Don't forget to set the <code>Last-Modified</code> and <code>ETag</code> headers, so that you don't have to re-transmit a resource when reloading. It's easy to generate those headers for pre-built static files.</p>
<p>The <code>ETag</code> value here may be a hash of the file.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code># response for bundle.v123.js
Last-Modified: Tue, 22 Feb 2022 20:20:20 GMT
ETag: "YsAIAAAA-QG4G6kCMAMBAAAAAAAoK"
</code></pre></div>
<p>In addition, <code>immutable</code> can be added to prevent validation on reload.</p>
<p>The combined result is shown below.</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code># bundle.v123.js
HTTP/1.1 200 OK
Content-Type: text/javascript
Content-Length: 1024
Cache-Control: public, max-age=31536000, immutable
Last-Modified: Tue, 22 Feb 2022 20:20:20 GMT
ETag: "YsAIAAAA-QG4G6kCMAMBAAAAAAAoK"
</code></pre></div>
<p><strong>Cache busting</strong> is a technique to make a response cacheable over a long period by changing the URL when the content changes. The technique can be applied to all subresources, such as images.</p>
<div class="notecard note">
<p><strong>Note:</strong>
When evaluating the use of <code>immutable</code> and QPACK:
If you're concerned that <code>immutable</code> changes the predefined value provided by QPACK, consider that
in this case, the <code>immutable</code> part can be encoded separately by splitting the <code>Cache-Control</code> value into two lines — though this is dependent on the encoding algorithm a particular QPACK implementation uses.</p>
</div>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>Cache-Control: public, max-age=31536000
Cache-Control: immutable
</code></pre></div>
  </section><section
    class="content-section"
    aria-labelledby="main_resources"
  >
    <!--lit-part e5N8pcoXpb8=--><!--lit-node 0--><h3 id="main_resources" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#main_resources">Main resources</a></h3><!--/lit-part-->
    <p>Unlike subresources, main resources cannot be cache busted because their URLs can't be decorated in the same way that subresource URLs can be.</p>
<p>If the following HTML itself is stored, the latest version cannot be displayed even if the content is updated on the server side.</p>
<div class="code-example"><div class="example-header"><span class="language-name">html</span></div><pre class="brush: html notranslate"><code>&lt;script src="bundle.v123.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="build.v123.css" /&gt;
&lt;body&gt;
  hello
&lt;/body&gt;
</code></pre></div>
<p>For that case, <code>no-cache</code> would be appropriate — rather than <code>no-store</code> — since we don't want to store HTML, but instead just want it to always be up-to-date.</p>
<p>Furthermore, adding <code>Last-Modified</code> and <code>ETag</code> will allow clients to send conditional requests, and a <code>304 Not Modified</code> can be returned if there have been no updates to the HTML:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Cache-Control: no-cache
Last-Modified: Tue, 22 Feb 2022 20:20:20 GMT
ETag: "AAPuIbAOdvAGEETbgAAAAAAABAAE"
</code></pre></div>
<p>That setting is appropriate for non-personalized HTML, but for a response that gets personalized using cookies — for example, after a login — don't forget to also specify <code>private</code>:</p>
<div class="code-example"><div class="example-header"><span class="language-name">http</span></div><pre class="brush: http notranslate"><code>HTTP/1.1 200 OK
Content-Type: text/html
Content-Length: 1024
Cache-Control: no-cache, private
Last-Modified: Tue, 22 Feb 2022 20:20:20 GMT
ETag: "AAPuIbAOdvAGEETbgAAAAAAABAAE"
Set-Cookie: __Host-SID=AHNtAyt3fvJrUL5g5tnGwER; Secure; Path=/; HttpOnly
</code></pre></div>
<p>The same can be used for <code>favicon.ico</code>, <code>manifest.json</code>, <code>.well-known</code>, and API endpoints whose URLs cannot be changed using cache busting.</p>
<p>Most web content can be covered by a combination of the two patterns described above.</p>
  </section><section
    class="content-section"
    aria-labelledby="more_about_managed_caches"
  >
    <!--lit-part T3V5z+5uHo0=--><!--lit-node 0--><h3 id="more_about_managed_caches" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#more_about_managed_caches">More about managed caches</a></h3><!--/lit-part-->
    <p>With the method described in previous sections, subresources can be cached for a long time by using cache busting, but main resources (which are usually HTML documents) can't be.</p>
<p>Caching main resources is difficult because, using just standard directives from the HTTP Caching specification, there's no way to actively delete cache contents when content is updated on the server.</p>
<p>However, it is possible by deploying a managed cache such as a CDN or service worker.</p>
<p>For example, a CDN that allows cache purging via an API or dashboard operation would allow for a more aggressive caching strategy by storing the main resource and explicitly purging the relevant cache only when an update occurs on the server.</p>
<p>A service worker could do the same if it could delete the contents in the Cache API when an update occurs on the server.</p>
<p>For more information, see the documentation for your CDN, and consult the <a href="/en-US/docs/Web/API/Service_Worker_API">service worker documentation</a>.</p>
  </section><section
    class="content-section"
    aria-labelledby="see_also"
  >
    <!--lit-part p88DAUaBJzA=--><!--lit-node 0--><h2 id="see_also" class="heading"><!--lit-node 1--><a class="heading-anchor" href="#see_also">See also</a></h2><!--/lit-part-->
    <ul>
<li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control"><code>Cache-Control</code> HTTP header</a></li>
<li><a href="https://datatracker.ietf.org/doc/html/RFC9111" class="external" target="_blank" title="External link (opens in new tab)">RFC 9111: Hypertext Transfer Protocol (HTTP/1.1): Caching</a></li>
<li><a href="https://mnot.net/cache_docs/" class="external" target="_blank" title="External link (opens in new tab)">Caching Tutorial - Mark Nottingham</a></li>
</ul>
  </section> 
      <section
        class="content-section article-footer"
        aria-labelledby="feedback"
      >
        <div class="article-footer__inner">
          <div class="article-footer__svg-container"><!--lit-part OWLzZqRMsCU=--><svg xmlns="http://www.w3.org/2000/svg" width="162" height="162" fill="none" viewBox="0 0 162 162"><mask id="b" fill="#fff"><path d="M97.203 47.04c8.113-7.886 18.004-13.871 28.906-17.492a78 78 0 0 1 33.969-3.39c11.443 1.39 22.401 5.295 32.024 11.411s17.656 14.28 23.476 23.86c5.819 9.579 9.269 20.318 10.083 31.385a69.85 69.85 0 0 1-5.387 32.44c-4.358 10.272-11.115 19.443-19.747 26.801-8.632 7.359-18.908 12.709-30.034 15.637l-6.17-21.698c7.666-2.017 14.746-5.703 20.694-10.773 5.948-5.071 10.603-11.389 13.606-18.467a48.14 48.14 0 0 0 3.712-22.352c-.561-7.625-2.938-15.025-6.948-21.625s-9.544-12.226-16.175-16.44-14.181-6.904-22.065-7.863a53.75 53.75 0 0 0-23.405 2.336c-7.513 2.495-14.327 6.62-19.918 12.053z"/></mask><path stroke="url(#a)" stroke-dasharray="6, 6" stroke-width="2" d="M97.203 47.04c8.113-7.886 18.004-13.871 28.906-17.492a78 78 0 0 1 33.969-3.39c11.443 1.39 22.401 5.295 32.024 11.411s17.656 14.28 23.476 23.86c5.819 9.579 9.269 20.318 10.083 31.385a69.85 69.85 0 0 1-5.387 32.44c-4.358 10.272-11.115 19.443-19.747 26.801-8.632 7.359-18.908 12.709-30.034 15.637l-6.17-21.698c7.666-2.017 14.746-5.703 20.694-10.773 5.948-5.071 10.603-11.389 13.606-18.467a48.14 48.14 0 0 0 3.712-22.352c-.561-7.625-2.938-15.025-6.948-21.625s-9.544-12.226-16.175-16.44-14.181-6.904-22.065-7.863a53.75 53.75 0 0 0-23.405 2.336c-7.513 2.495-14.327 6.62-19.918 12.053z" mask="url(#b)" style="stroke:url(#a)" transform="translate(-63.992 -25.587)"/><ellipse cx="8.066" cy="111.597" fill="currentColor" rx="53.677" ry="53.699" transform="matrix(.71707 -.697 .7243 .6895 0 0)"/><g clip-path="url(#c)" transform="translate(-63.992 -25.587)"><path fill="#9abff5" d="m144.256 137.379 32.906 12.434a4.41 4.41 0 0 1 2.559 5.667l-9.326 24.679a4.41 4.41 0 0 1-5.667 2.559l-8.226-3.108-2.332 6.17c-.466 1.233-.375 1.883-1.609 1.417l-2.253-.527c-.411-.155-.95-.594-1.206-1.161l-4.734-10.484-12.545-4.741a4.41 4.41 0 0 1-2.559-5.667l9.325-24.679a4.41 4.41 0 0 1 5.667-2.559m9.961 29.617 8.227 3.108 3.264-8.638-.498-6.768-4.113-1.555.548 7.258-4.319-1.632zm-12.339-4.663 8.226 3.108 3.264-8.637-.498-6.769-4.113-1.554.548 7.257-4.319-1.632z"/></g><g clip-path="url(#d)" transform="translate(-63.992 -25.587)"><path fill="#81b0f3" d="M135.35 60.136 86.67 41.654c-3.346-1.27-7.124.428-8.394 3.775L64.414 81.938c-1.27 3.347.428 7.125 3.774 8.395l12.17 4.62-3.465 9.128c-.693 1.826-1.432 2.457.394 3.15l3.014 1.625c.609.231 1.637.274 2.477-.104l15.53-6.983 18.56 7.047c3.346 1.27 7.124-.428 8.395-3.775l13.862-36.51c1.27-3.346-.428-7.124-3.775-8.395M95.261 83.207l-12.17-4.62 4.852-12.779 7.19-7.017 6.085 2.31-7.725 7.51 6.389 2.426zm18.255 6.93-12.17-4.62 4.852-12.778 7.189-7.017 6.085 2.31-7.725 7.51 6.39 2.426z"/></g><defs><clipPath id="c"><path fill="#fff" d="m198.638 146.586-65.056-24.583-24.583 65.057 65.056 24.582z"/></clipPath><clipPath id="d"><path fill="#fff" d="m66.438 14.055 96.242 36.54-36.54 96.243-96.243-36.54z"/></clipPath><linearGradient id="a" x1="97.203" x2="199.995" y1="47.04" y2="152.793" gradientUnits="userSpaceOnUse"><stop stop-color="#086dfc"/><stop offset=".246" stop-color="#2c81fa"/><stop offset=".516" stop-color="#5497f8"/><stop offset=".821" stop-color="#80b0f6"/><stop offset="1" stop-color="#9abff5"/></linearGradient></defs></svg><!--/lit-part--></div>
          <h2 id="feedback">
            Help improve MDN
          </h2>
          <mdn-content-feedback  locale="en-US"><template shadowroot="open" shadowrootmode="open"><style>.content-feedback{border:none;margin:0 0 .25rem;padding:0}.content-feedback>label{display:block;margin-bottom:.25rem}.content-feedback .thank-you{display:block;margin-bottom:calc(2.75rem + 2px)}.content-feedback mdn-button{flex:1;min-width:0}.content-feedback--buttons{display:inline-flex;gap:.75rem;margin:.25rem 0}.content-feedback--radios{align-items:center;display:flex;gap:.25rem;margin:.25rem 0}</style><!--lit-part wnhNI9MhleE=--><fieldset class="content-feedback">
      <!--lit-part abqF9JTZmM8=--><label
        ><!--lit-part-->Was this page helpful to you?<!--/lit-part-->
      </label>
      <div class="content-feedback--buttons">
        <!--lit-node 3--><mdn-button
          
          
          
          
          
         data-vote="yes" variant="secondary" action="positive" defer-hydration><template shadowroot="open" shadowrootmode="open"><style>.button{align-items:center;background-color:initial;border:1px solid #0000;border-radius:.25rem;color:var(--color-text-primary);column-gap:.3125em;cursor:pointer;display:inline-flex;font-family:var(--font-family-text);font-size:.875em;font-weight:450;justify-content:center;line-height:var(--font-line-ui);margin:0;padding:.5em;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle}.button[data-variant=primary]{--csstools-light-dark-toggle-33eaa513-0:var(--csstools-color-scheme--light) var(--color-black);color:var(--csstools-light-dark-toggle-33eaa513-0,var(--color-white));--csstools-light-dark-toggle-33eaa513-1:var(--csstools-color-scheme--light) var(--color-white);background-color:var(--csstools-light-dark-toggle-33eaa513-1,var(--color-black))}@supports (color:light-dark(red,red)){.button[data-variant=primary]{background-color:light-dark(var(--color-black),var(--color-white));color:light-dark(var(--color-white),var(--color-black))}}.button[data-variant=primary]:hover{--csstools-light-dark-toggle-33eaa513-2:var(--csstools-color-scheme--light) var(--color-gray-60);background-color:var(--csstools-light-dark-toggle-33eaa513-2,var(--color-gray-40))}@supports (color:light-dark(red,red)){.button[data-variant=primary]:hover{background-color:light-dark(var(--color-gray-40),var(--color-gray-60))}}.button[data-variant=primary][data-action=positive]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-3:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-3,var(--color-green-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]{background-color:light-dark(var(--color-green-50),var(--color-green-20))}}.button[data-variant=primary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-4:var(--csstools-color-scheme--light) var(--color-green-50);background-color:var(--csstools-light-dark-toggle-33eaa513-4,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]:hover{background-color:light-dark(var(--color-green-20),var(--color-green-50))}}.button[data-variant=primary][data-action=negative]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-5:var(--csstools-color-scheme--light) var(--color-red-20);background-color:var(--csstools-light-dark-toggle-33eaa513-5,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]{background-color:light-dark(var(--color-red-50),var(--color-red-20))}}.button[data-variant=primary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-6:var(--csstools-color-scheme--light) var(--color-red-50);background-color:var(--csstools-light-dark-toggle-33eaa513-6,var(--color-red-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]:hover{background-color:light-dark(var(--color-red-20),var(--color-red-50))}}.button[data-variant=secondary]{border-color:currentcolor}.button[data-variant=secondary]:hover{--csstools-light-dark-toggle-33eaa513-7:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-7,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=secondary]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=secondary][data-action=positive]{--csstools-light-dark-toggle-33eaa513-8:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-8,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=secondary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-9:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-9,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=secondary][data-action=negative]{--csstools-light-dark-toggle-33eaa513-10:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-10,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=secondary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-11:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-11,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-12:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-12,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[data-variant=plain]:hover{--csstools-light-dark-toggle-33eaa513-13:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-13,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=plain]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=plain][data-action=positive]{--csstools-light-dark-toggle-33eaa513-14:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-14,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=plain][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-15:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-15,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=plain][data-action=negative]{--csstools-light-dark-toggle-33eaa513-16:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-16,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=plain][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-17:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-17,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-18:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-18,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[aria-disabled=true],.button[disabled]{--csstools-light-dark-toggle-33eaa513-19:var(--csstools-color-scheme--light) var(--color-gray-60)!important;color:var(--csstools-light-dark-toggle-33eaa513-19,var(--color-gray-40))!important;cursor:not-allowed;--csstools-light-dark-toggle-33eaa513-20:var(--csstools-color-scheme--light) var(--color-gray-20)!important;background-color:var(--csstools-light-dark-toggle-33eaa513-20,var(--color-gray-80))!important;border-color:#0000}@supports (color:light-dark(red,red)){.button[aria-disabled=true],.button[disabled]{background-color:light-dark(var(--color-gray-80),var(--color-gray-20))!important;color:light-dark(var(--color-gray-40),var(--color-gray-60))!important}}.button .icon{display:flex}.button svg{height:1.25em;width:1.25em}.button .label{padding-block:.125em;padding-inline:.0625em}:host{display:inline-flex;vertical-align:middle}.button{box-sizing:border-box;height:100%;width:100%}</style><!--lit-part O1S+ZMb7umU=-->
        <!--lit-node 0--><button
          class="button"
          aria-labelledby="label-v8mei7j7u5f"
          
          
          
          
          data-variant="secondary"
          data-action="positive"
          part="button"
        >
          <!--lit-part--><!--lit-part bRP2a5ux/uw=--><span class="icon" part="icon"><!--lit-part GjE5cW6UBoM=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="M7 10v12m8-16.12L14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88"/></svg><!--/lit-part--></span><!--/lit-part--><!--lit-part rI2hX8LXYZM=-->
    <!--lit-node 0--><span id="label-v8mei7j7u5f" class="label"  part="label"
      ><!--lit-part Pz0gobCCM4E=--><slot></slot><!--/lit-part--></span
    >
  <!--/lit-part--><!--/lit-part-->
        </button>
      <!--/lit-part--></template>
          <!--lit-part-->Yes<!--/lit-part-->
        </mdn-button>
        <!--lit-node 5--><mdn-button
          
          
          
          
          
         data-vote="no" variant="secondary" action="negative" defer-hydration><template shadowroot="open" shadowrootmode="open"><style>.button{align-items:center;background-color:initial;border:1px solid #0000;border-radius:.25rem;color:var(--color-text-primary);column-gap:.3125em;cursor:pointer;display:inline-flex;font-family:var(--font-family-text);font-size:.875em;font-weight:450;justify-content:center;line-height:var(--font-line-ui);margin:0;padding:.5em;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle}.button[data-variant=primary]{--csstools-light-dark-toggle-33eaa513-0:var(--csstools-color-scheme--light) var(--color-black);color:var(--csstools-light-dark-toggle-33eaa513-0,var(--color-white));--csstools-light-dark-toggle-33eaa513-1:var(--csstools-color-scheme--light) var(--color-white);background-color:var(--csstools-light-dark-toggle-33eaa513-1,var(--color-black))}@supports (color:light-dark(red,red)){.button[data-variant=primary]{background-color:light-dark(var(--color-black),var(--color-white));color:light-dark(var(--color-white),var(--color-black))}}.button[data-variant=primary]:hover{--csstools-light-dark-toggle-33eaa513-2:var(--csstools-color-scheme--light) var(--color-gray-60);background-color:var(--csstools-light-dark-toggle-33eaa513-2,var(--color-gray-40))}@supports (color:light-dark(red,red)){.button[data-variant=primary]:hover{background-color:light-dark(var(--color-gray-40),var(--color-gray-60))}}.button[data-variant=primary][data-action=positive]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-3:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-3,var(--color-green-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]{background-color:light-dark(var(--color-green-50),var(--color-green-20))}}.button[data-variant=primary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-4:var(--csstools-color-scheme--light) var(--color-green-50);background-color:var(--csstools-light-dark-toggle-33eaa513-4,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]:hover{background-color:light-dark(var(--color-green-20),var(--color-green-50))}}.button[data-variant=primary][data-action=negative]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-5:var(--csstools-color-scheme--light) var(--color-red-20);background-color:var(--csstools-light-dark-toggle-33eaa513-5,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]{background-color:light-dark(var(--color-red-50),var(--color-red-20))}}.button[data-variant=primary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-6:var(--csstools-color-scheme--light) var(--color-red-50);background-color:var(--csstools-light-dark-toggle-33eaa513-6,var(--color-red-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]:hover{background-color:light-dark(var(--color-red-20),var(--color-red-50))}}.button[data-variant=secondary]{border-color:currentcolor}.button[data-variant=secondary]:hover{--csstools-light-dark-toggle-33eaa513-7:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-7,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=secondary]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=secondary][data-action=positive]{--csstools-light-dark-toggle-33eaa513-8:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-8,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=secondary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-9:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-9,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=secondary][data-action=negative]{--csstools-light-dark-toggle-33eaa513-10:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-10,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=secondary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-11:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-11,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-12:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-12,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[data-variant=plain]:hover{--csstools-light-dark-toggle-33eaa513-13:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-13,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=plain]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=plain][data-action=positive]{--csstools-light-dark-toggle-33eaa513-14:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-14,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=plain][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-15:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-15,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=plain][data-action=negative]{--csstools-light-dark-toggle-33eaa513-16:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-16,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=plain][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-17:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-17,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-18:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-18,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[aria-disabled=true],.button[disabled]{--csstools-light-dark-toggle-33eaa513-19:var(--csstools-color-scheme--light) var(--color-gray-60)!important;color:var(--csstools-light-dark-toggle-33eaa513-19,var(--color-gray-40))!important;cursor:not-allowed;--csstools-light-dark-toggle-33eaa513-20:var(--csstools-color-scheme--light) var(--color-gray-20)!important;background-color:var(--csstools-light-dark-toggle-33eaa513-20,var(--color-gray-80))!important;border-color:#0000}@supports (color:light-dark(red,red)){.button[aria-disabled=true],.button[disabled]{background-color:light-dark(var(--color-gray-80),var(--color-gray-20))!important;color:light-dark(var(--color-gray-40),var(--color-gray-60))!important}}.button .icon{display:flex}.button svg{height:1.25em;width:1.25em}.button .label{padding-block:.125em;padding-inline:.0625em}:host{display:inline-flex;vertical-align:middle}.button{box-sizing:border-box;height:100%;width:100%}</style><!--lit-part O1S+ZMb7umU=-->
        <!--lit-node 0--><button
          class="button"
          aria-labelledby="label-wmsgo8prhxb"
          
          
          
          
          data-variant="secondary"
          data-action="negative"
          part="button"
        >
          <!--lit-part--><!--lit-part bRP2a5ux/uw=--><span class="icon" part="icon"><!--lit-part IggRHjbPj/Q=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="M17 14V2M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88"/></svg><!--/lit-part--></span><!--/lit-part--><!--lit-part rI2hX8LXYZM=-->
    <!--lit-node 0--><span id="label-wmsgo8prhxb" class="label"  part="label"
      ><!--lit-part Pz0gobCCM4E=--><slot></slot><!--/lit-part--></span
    >
  <!--/lit-part--><!--/lit-part-->
        </button>
      <!--/lit-part--></template>
          <!--lit-part-->No<!--/lit-part-->
        </mdn-button>
      </div><!--/lit-part-->
    </fieldset><!--/lit-part--></template></mdn-content-feedback>
          <a
    class="article-footer__contribute"
    href="/en-US/docs/MDN/Community/Getting_started"
    >Learn how to contribute</a
  > <p class="article-footer__last-modified">
    This page was last modified on <time datetime="2026-08-14T01:08:03.000Z">Aug 14, 2026</time> by <a href="/en-US/docs/Web/HTTP/Guides/Caching/contributors.txt">MDN contributors</a>.
  </p> <div class="article-footer__links">
    <a
    class="external"
    href="https://github.com/mdn/content/blob/main/files/en-us/web/http/guides/caching/index.md?plain=1"
    title="Folder: en-us/web/http/guides/caching (Opens in a new tab)"
    target="_blank"
    rel="noopener"
    >View this page on GitHub</a
  > • <a
    class="external"
    href="https://github.com/mdn/content/issues/new?template=page-report.yml&amp;mdn-url=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTTP%2FGuides%2FCaching&amp;metadata=%3C%21--+Do+not+make+changes+below+this+line+--%3E%0A%3Cdetails%3E%0A%3Csummary%3EPage+report+details%3C%2Fsummary%3E%0A%0A*+Folder%3A+%60en-us%2Fweb%2Fhttp%2Fguides%2Fcaching%60%0A*+MDN+URL%3A+https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FHTTP%2FGuides%2FCaching%0A*+GitHub+URL%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fblob%2Fmain%2Ffiles%2Fen-us%2Fweb%2Fhttp%2Fguides%2Fcaching%2Findex.md%0A*+Last+commit%3A+https%3A%2F%2Fgithub.com%2Fmdn%2Fcontent%2Fcommit%2Fb13e73fdf1fedcb837aebdd842f1a9a6adc76e10%0A*+Document+last+modified%3A+2026-08-14T01%3A08%3A03.000Z%0A%0A%3C%2Fdetails%3E"
    title="This will take you to GitHub to file a new issue."
    target="_blank"
    rel="noopener"
    >Report a problem with this content</a
  >
  </div>
        </div>
      </section>
    
          </div>
        </main>
        <aside class="layout__left-sidebar" id="main-sidebar">
          <nav class="left-sidebar">
      <div class="left-sidebar__header">
        <mdn-sidebar-filter><template shadowroot="open" shadowrootmode="open"><style>.visually-hidden{border:0!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}*,:after,:before{box-sizing:border-box}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}img{height:auto;max-width:100%}a{color:var(--color-link-normal)}[hidden]{display:none!important}#content{scroll-margin-block-start:var(--sticky-header-height)}:host{align-items:center;display:grid;grid-template-areas:"icon input button";grid-template-columns:2.2rem 1fr min-content}.icon{background-color:var(--color-text-secondary);content:"";grid-area:icon;height:1.25rem;justify-self:center;margin-left:.4rem;mask-image:url(/static/ssr/filter.b77a4ccbfb57e2ef.svg);mask-size:cover;width:1.25rem}.input{background-color:initial;border:1px solid var(--color-border-primary);border-radius:var(--radius-full);grid-area:1/1/-1/-1;margin:0;padding:.3rem 4.2rem .3rem 2.2rem;width:100%}.input::placeholder{color:var(--color-text-secondary)}.input:focus{border-color:#0000}.counter{background-color:var(--color-background-yellow);border-radius:var(--radius-normal);font-size:var(--font-size-small);grid-area:input;justify-self:end;line-height:var(--font-line-ui);padding:.25rem;white-space:nowrap}.button{grid-area:button}.button::part(button){border-radius:50%}.button::part(button):hover{background-color:initial}:placeholder-shown~.button{visibility:hidden}</style><!--lit-part VUPWU8nR4ho=-->
      <label class="icon" for="input">
        <span class="visually-hidden"
          ><!--lit-part-->Filter sidebar<!--/lit-part--></span
        >
      </label>
      <!--lit-node 3--><input
        id="input"
        autocomplete="off"
        class="input"
        type="text"
        placeholder="Filter"
        value=""
        
        
      />
      <!--lit-part--><!--/lit-part-->
      <!--lit-node 5--><mdn-button
        
        
        
        
        
         class="button" variant="plain" icon-only defer-hydration><template shadowroot="open" shadowrootmode="open"><style>.button{align-items:center;background-color:initial;border:1px solid #0000;border-radius:.25rem;color:var(--color-text-primary);column-gap:.3125em;cursor:pointer;display:inline-flex;font-family:var(--font-family-text);font-size:.875em;font-weight:450;justify-content:center;line-height:var(--font-line-ui);margin:0;padding:.5em;-webkit-text-decoration:none;text-decoration:none;vertical-align:middle}.button[data-variant=primary]{--csstools-light-dark-toggle-33eaa513-0:var(--csstools-color-scheme--light) var(--color-black);color:var(--csstools-light-dark-toggle-33eaa513-0,var(--color-white));--csstools-light-dark-toggle-33eaa513-1:var(--csstools-color-scheme--light) var(--color-white);background-color:var(--csstools-light-dark-toggle-33eaa513-1,var(--color-black))}@supports (color:light-dark(red,red)){.button[data-variant=primary]{background-color:light-dark(var(--color-black),var(--color-white));color:light-dark(var(--color-white),var(--color-black))}}.button[data-variant=primary]:hover{--csstools-light-dark-toggle-33eaa513-2:var(--csstools-color-scheme--light) var(--color-gray-60);background-color:var(--csstools-light-dark-toggle-33eaa513-2,var(--color-gray-40))}@supports (color:light-dark(red,red)){.button[data-variant=primary]:hover{background-color:light-dark(var(--color-gray-40),var(--color-gray-60))}}.button[data-variant=primary][data-action=positive]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-3:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-3,var(--color-green-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]{background-color:light-dark(var(--color-green-50),var(--color-green-20))}}.button[data-variant=primary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-4:var(--csstools-color-scheme--light) var(--color-green-50);background-color:var(--csstools-light-dark-toggle-33eaa513-4,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=positive]:hover{background-color:light-dark(var(--color-green-20),var(--color-green-50))}}.button[data-variant=primary][data-action=negative]{color:var(--color-white);--csstools-light-dark-toggle-33eaa513-5:var(--csstools-color-scheme--light) var(--color-red-20);background-color:var(--csstools-light-dark-toggle-33eaa513-5,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]{background-color:light-dark(var(--color-red-50),var(--color-red-20))}}.button[data-variant=primary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-6:var(--csstools-color-scheme--light) var(--color-red-50);background-color:var(--csstools-light-dark-toggle-33eaa513-6,var(--color-red-20))}@supports (color:light-dark(red,red)){.button[data-variant=primary][data-action=negative]:hover{background-color:light-dark(var(--color-red-20),var(--color-red-50))}}.button[data-variant=secondary]{border-color:currentcolor}.button[data-variant=secondary]:hover{--csstools-light-dark-toggle-33eaa513-7:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-7,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=secondary]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=secondary][data-action=positive]{--csstools-light-dark-toggle-33eaa513-8:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-8,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=secondary][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-9:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-9,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=secondary][data-action=negative]{--csstools-light-dark-toggle-33eaa513-10:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-10,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=secondary][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-11:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-11,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-12:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-12,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=secondary][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[data-variant=plain]:hover{--csstools-light-dark-toggle-33eaa513-13:var(--csstools-color-scheme--light) var(--color-gray-40);background-color:var(--csstools-light-dark-toggle-33eaa513-13,var(--color-gray-80))}@supports (color:light-dark(red,red)){.button[data-variant=plain]:hover{background-color:light-dark(var(--color-gray-80),var(--color-gray-40))}}.button[data-variant=plain][data-action=positive]{--csstools-light-dark-toggle-33eaa513-14:var(--csstools-color-scheme--light) var(--color-green-80);color:var(--csstools-light-dark-toggle-33eaa513-14,var(--color-green-20))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]{color:light-dark(var(--color-green-20),var(--color-green-80))}}.button[data-variant=plain][data-action=positive]:hover{--csstools-light-dark-toggle-33eaa513-15:var(--csstools-color-scheme--light) var(--color-green-20);background-color:var(--csstools-light-dark-toggle-33eaa513-15,var(--color-green-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=positive]:hover{background-color:light-dark(var(--color-green-90),var(--color-green-20))}}.button[data-variant=plain][data-action=negative]{--csstools-light-dark-toggle-33eaa513-16:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-16,var(--color-red-50))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]{color:light-dark(var(--color-red-50),var(--color-red-80))}}.button[data-variant=plain][data-action=negative]:hover{--csstools-light-dark-toggle-33eaa513-17:var(--csstools-color-scheme--light) var(--color-red-80);color:var(--csstools-light-dark-toggle-33eaa513-17,var(--color-red-20));--csstools-light-dark-toggle-33eaa513-18:var(--csstools-color-scheme--light) var(--color-red-10);background-color:var(--csstools-light-dark-toggle-33eaa513-18,var(--color-red-90))}@supports (color:light-dark(red,red)){.button[data-variant=plain][data-action=negative]:hover{background-color:light-dark(var(--color-red-90),var(--color-red-10));color:light-dark(var(--color-red-20),var(--color-red-80))}}.button[aria-disabled=true],.button[disabled]{--csstools-light-dark-toggle-33eaa513-19:var(--csstools-color-scheme--light) var(--color-gray-60)!important;color:var(--csstools-light-dark-toggle-33eaa513-19,var(--color-gray-40))!important;cursor:not-allowed;--csstools-light-dark-toggle-33eaa513-20:var(--csstools-color-scheme--light) var(--color-gray-20)!important;background-color:var(--csstools-light-dark-toggle-33eaa513-20,var(--color-gray-80))!important;border-color:#0000}@supports (color:light-dark(red,red)){.button[aria-disabled=true],.button[disabled]{background-color:light-dark(var(--color-gray-80),var(--color-gray-20))!important;color:light-dark(var(--color-gray-40),var(--color-gray-60))!important}}.button .icon{display:flex}.button svg{height:1.25em;width:1.25em}.button .label{padding-block:.125em;padding-inline:.0625em}:host{display:inline-flex;vertical-align:middle}.button{box-sizing:border-box;height:100%;width:100%}</style><!--lit-part O1S+ZMb7umU=-->
        <!--lit-node 0--><button
          class="button"
          aria-labelledby="label-meyjhk9cx7"
          
          
          
          
          data-variant="plain"
          
          part="button"
        >
          <!--lit-part--><!--lit-part bRP2a5ux/uw=--><span class="icon" part="icon"><!--lit-part 67EVkvpPdvk=--><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="M18 6 6 18M6 6l12 12"/></svg><!--/lit-part--></span><!--/lit-part--><!--lit-part rI2hX8LXYZM=-->
    <!--lit-node 0--><span id="label-meyjhk9cx7" class="label" hidden part="label"
      ><!--lit-part Pz0gobCCM4E=--><slot></slot><!--/lit-part--></span
    >
  <!--/lit-part--><!--/lit-part-->
        </button>
      <!--/lit-part--></template><!--lit-part-->Clear filter input<!--/lit-part--></mdn-button
      >
    <!--/lit-part--></template></mdn-sidebar-filter>
      </div>
      <div class="left-sidebar__content"><ol><li class="section"><a href="/en-US/docs/Web/HTTP">HTTP</a></li><li class="section"><a href="/en-US/docs/Web/HTTP/Guides">Guides</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Overview">Overview of HTTP</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Evolution_of_HTTP">Evolution of HTTP</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Session">A typical HTTP session</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Messages">HTTP messages</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/MIME_types">Media types</a><ol><li><a href="/en-US/docs/Web/HTTP/Guides/MIME_types/Common_types">Common types</a></li></ol></li><li><a href="/en-US/docs/Web/HTTP/Guides/Compression">Compression in HTTP</a></li><li><em><a href="/en-US/docs/Web/HTTP/Guides/Caching" aria-current="page">HTTP caching</a></em></li><li><a href="/en-US/docs/Web/HTTP/Guides/Authentication">HTTP authentication</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Cookies">Using HTTP cookies</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Redirections">Redirections in HTTP</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Conditional_requests">Conditional requests</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Range_requests">Range requests</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Client_hints">Client hints</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/User-agent_reduction">User-Agent reduction</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Compression_dictionary_transport">Compression Dictionary Transport<span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Network_Error_Logging">Network Error Logging<span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Content_negotiation">Content negotiation</a><ol><li><a href="/en-US/docs/Web/HTTP/Guides/Content_negotiation/List_of_default_Accept_values">Default Accept values</a></li></ol></li><li><a href="/en-US/docs/Web/HTTP/Guides/Browser_detection_using_the_user_agent">Browser detection using the UA string</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Connection_management_in_HTTP_1.x">Connection management in HTTP/1.x</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Protocol_upgrade_mechanism">Protocol upgrade mechanism</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Proxy_servers_and_tunneling">Proxy servers and tunneling</a><ol><li><a href="/en-US/docs/Web/HTTP/Guides/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file">Proxy Auto-Configuration (PAC) file</a></li></ol></li><li><details><summary><span>Security and privacy</span></summary><ol><li><a href="/en-US/observatory">HTTP Observatory</a></li><li><a href="/en-US/docs/Web/Security/Practical_implementation_guides">Practical implementation guides</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Permissions_Policy">Permissions Policy<span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/IFrame_credentialless">IFrame credentialless<span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/Fetch_metadata">Fetch metadata</a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS">Cross-Origin Resource Sharing (CORS)</a></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors">CORS errors</a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSDisabled"><code>Reason: CORS disabled</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSAllowOriginNotMatchingOrigin"><code>Reason: CORS header 'Access-Control-Allow-Origin' does not match 'xyz'</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSMissingAllowOrigin"><code>Reason: CORS header 'Access-Control-Allow-Origin' missing</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSOriginHeaderNotAdded"><code>Reason: CORS header 'Origin' cannot be added</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSPreflightDidNotSucceed"><code>Reason: CORS preflight channel did not succeed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSDidNotSucceed"><code>Reason: CORS request did not succeed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSExternalRedirectNotAllowed"><code>Reason: CORS request external redirect not allowed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSRequestNotHttp"><code>Reason: CORS request not HTTP</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSNotSupportingCredentials"><code>Reason: Credential is not supported if the CORS header 'Access-Control-Allow-Origin' is '*'</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSMethodNotFound"><code>Reason: Did not find method in CORS header 'Access-Control-Allow-Methods'</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSMissingAllowCredentials"><code>Reason: expected 'true' in CORS header 'Access-Control-Allow-Credentials'</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSInvalidAllowHeader"><code>Reason: invalid token 'xyz' in CORS header 'Access-Control-Allow-Headers'</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSInvalidAllowMethod"><code>Reason: invalid token 'xyz' in CORS header 'Access-Control-Allow-Methods'</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSMissingAllowHeaderFromPreflight"><code>Reason: missing token 'xyz' in CORS header 'Access-Control-Allow-Headers' from CORS preflight channel</code></a></li><li><a href="/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSMultipleAllowOriginNotAllowed"><code>Reason: Multiple CORS header 'Access-Control-Allow-Origin' not allowed</code></a></li></ol></details></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Guides/CSP">Content Security Policy (CSP)</a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Guides/CSP/Errors">Errors and warnings</a></li></ol></details></li></ol></details></li><li class="section"><a href="/en-US/docs/Web/HTTP/Reference">Reference</a></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Reference/Headers">HTTP headers</a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept"><code>Accept</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-CH"><code>Accept-CH</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Encoding"><code>Accept-Encoding</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language"><code>Accept-Language</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Patch"><code>Accept-Patch</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Post"><code>Accept-Post</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Query"><code>Accept-Query</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Accept-Ranges"><code>Accept-Ranges</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Credentials"><code>Access-Control-Allow-Credentials</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Headers"><code>Access-Control-Allow-Headers</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Methods"><code>Access-Control-Allow-Methods</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin"><code>Access-Control-Allow-Origin</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Expose-Headers"><code>Access-Control-Expose-Headers</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Max-Age"><code>Access-Control-Max-Age</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Request-Headers"><code>Access-Control-Request-Headers</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Request-Method"><code>Access-Control-Request-Method</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Activate-Storage-Access"><code>Activate-Storage-Access</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Age"><code>Age</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Allow"><code>Allow</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Alt-Svc"><code>Alt-Svc</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Alt-Used"><code>Alt-Used</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Attribution-Reporting-Eligible"><code>Attribution-Reporting-Eligible</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Attribution-Reporting-Register-Source"><code>Attribution-Reporting-Register-Source</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Attribution-Reporting-Register-Trigger"><code>Attribution-Reporting-Register-Trigger</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Authorization"><code>Authorization</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Available-Dictionary"><code>Available-Dictionary</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control"><code>Cache-Control</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Clear-Site-Data"><code>Clear-Site-Data</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Connection"><code>Connection</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Digest"><code>Content-Digest</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Disposition"><code>Content-Disposition</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-DPR"><code>Content-DPR</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Encoding"><code>Content-Encoding</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Language"><code>Content-Language</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Length"><code>Content-Length</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Location"><code>Content-Location</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Range"><code>Content-Range</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy"><code>Content-Security-Policy</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy-Report-Only"><code>Content-Security-Policy-Report-Only</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Type"><code>Content-Type</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cookie"><code>Cookie</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Critical-CH"><code>Critical-CH</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Embedder-Policy"><code>Cross-Origin-Embedder-Policy</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Embedder-Policy-Report-Only"><code>Cross-Origin-Embedder-Policy-Report-Only</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Opener-Policy"><code>Cross-Origin-Opener-Policy</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Resource-Policy"><code>Cross-Origin-Resource-Policy</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Date"><code>Date</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Device-Memory"><code>Device-Memory</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Dictionary-ID"><code>Dictionary-ID</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/DNT"><code>DNT</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Downlink"><code>Downlink</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/DPR"><code>DPR</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Early-Data"><code>Early-Data</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/ECT"><code>ECT</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/ETag"><code>ETag</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Expect"><code>Expect</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Expect-CT"><code>Expect-CT</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Expires"><code>Expires</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Forwarded"><code>Forwarded</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/From"><code>From</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Host"><code>Host</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Idempotency-Key"><code>Idempotency-Key</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/If-Match"><code>If-Match</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/If-Modified-Since"><code>If-Modified-Since</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/If-None-Match"><code>If-None-Match</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/If-Range"><code>If-Range</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/If-Unmodified-Since"><code>If-Unmodified-Since</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Integrity-Policy"><code>Integrity-Policy</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Integrity-Policy-Report-Only"><code>Integrity-Policy-Report-Only</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Keep-Alive"><code>Keep-Alive</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Last-Modified"><code>Last-Modified</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Link"><code>Link</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Location"><code>Location</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Max-Forwards"><code>Max-Forwards</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/NEL"><code>NEL</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/No-Vary-Search"><code>No-Vary-Search</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Observe-Browsing-Topics"><code>Observe-Browsing-Topics</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Origin"><code>Origin</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Origin-Agent-Cluster"><code>Origin-Agent-Cluster</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy"><code>Permissions-Policy</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy-Report-Only"><code>Permissions-Policy-Report-Only</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Pragma"><code>Pragma</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Prefer"><code>Prefer</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Preference-Applied"><code>Preference-Applied</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Priority"><code>Priority</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Proxy-Authenticate"><code>Proxy-Authenticate</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Proxy-Authorization"><code>Proxy-Authorization</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Range"><code>Range</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Referer"><code>Referer</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy"><code>Referrer-Policy</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Refresh"><code>Refresh</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Report-To"><code>Report-To</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Reporting-Endpoints"><code>Reporting-Endpoints</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Repr-Digest"><code>Repr-Digest</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Retry-After"><code>Retry-After</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/RTT"><code>RTT</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Save-Data"><code>Save-Data</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Browsing-Topics"><code>Sec-Browsing-Topics</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Device-Memory"><code>Sec-CH-Device-Memory</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-DPR"><code>Sec-CH-DPR</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Prefers-Color-Scheme"><code>Sec-CH-Prefers-Color-Scheme</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Prefers-Reduced-Motion"><code>Sec-CH-Prefers-Reduced-Motion</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Prefers-Reduced-Transparency"><code>Sec-CH-Prefers-Reduced-Transparency</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA"><code>Sec-CH-UA</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Arch"><code>Sec-CH-UA-Arch</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Bitness"><code>Sec-CH-UA-Bitness</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Form-Factors"><code>Sec-CH-UA-Form-Factors</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Full-Version"><code>Sec-CH-UA-Full-Version</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Full-Version-List"><code>Sec-CH-UA-Full-Version-List</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Mobile"><code>Sec-CH-UA-Mobile</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Model"><code>Sec-CH-UA-Model</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Platform"><code>Sec-CH-UA-Platform</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-Platform-Version"><code>Sec-CH-UA-Platform-Version</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-UA-WoW64"><code>Sec-CH-UA-WoW64</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Viewport-Height"><code>Sec-CH-Viewport-Height</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Viewport-Width"><code>Sec-CH-Viewport-Width</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-CH-Width"><code>Sec-CH-Width</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Dest"><code>Sec-Fetch-Dest</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Mode"><code>Sec-Fetch-Mode</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site"><code>Sec-Fetch-Site</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Storage-Access"><code>Sec-Fetch-Storage-Access</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-User"><code>Sec-Fetch-User</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-GPC"><code>Sec-GPC</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Private-State-Token"><code>Sec-Private-State-Token</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Private-State-Token-Crypto-Version"><code>Sec-Private-State-Token-Crypto-Version</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Private-State-Token-Lifetime"><code>Sec-Private-State-Token-Lifetime</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Purpose"><code>Sec-Purpose</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Redemption-Record"><code>Sec-Redemption-Record</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-Speculation-Tags"><code>Sec-Speculation-Tags</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-WebSocket-Accept"><code>Sec-WebSocket-Accept</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-WebSocket-Extensions"><code>Sec-WebSocket-Extensions</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-WebSocket-Key"><code>Sec-WebSocket-Key</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-WebSocket-Protocol"><code>Sec-WebSocket-Protocol</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Sec-WebSocket-Version"><code>Sec-WebSocket-Version</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Server"><code>Server</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Server-Timing"><code>Server-Timing</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Service-Worker"><code>Service-Worker</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Service-Worker-Allowed"><code>Service-Worker-Allowed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Service-Worker-Navigation-Preload"><code>Service-Worker-Navigation-Preload</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie"><code>Set-Cookie</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Set-Login"><code>Set-Login</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/SourceMap"><code>SourceMap</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Speculation-Rules"><code>Speculation-Rules</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security"><code>Strict-Transport-Security</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Supports-Loading-Mode"><code>Supports-Loading-Mode</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/TE"><code>TE</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Timing-Allow-Origin"><code>Timing-Allow-Origin</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Tk"><code>Tk</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Trailer"><code>Trailer</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Transfer-Encoding"><code>Transfer-Encoding</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Upgrade"><code>Upgrade</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Upgrade-Insecure-Requests"><code>Upgrade-Insecure-Requests</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Use-As-Dictionary"><code>Use-As-Dictionary</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/User-Agent"><code>User-Agent</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Vary"><code>Vary</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Via"><code>Via</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Viewport-Width"><code>Viewport-Width</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Want-Content-Digest"><code>Want-Content-Digest</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Want-Repr-Digest"><code>Want-Repr-Digest</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Warning"><code>Warning</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Width"><code>Width</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/WWW-Authenticate"><code>WWW-Authenticate</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Content-Type-Options"><code>X-Content-Type-Options</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-DNS-Prefetch-Control"><code>X-DNS-Prefetch-Control</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For"><code>X-Forwarded-For</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Host"><code>X-Forwarded-Host</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-Proto"><code>X-Forwarded-Proto</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Frame-Options"><code>X-Frame-Options</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Permitted-Cross-Domain-Policies"><code>X-Permitted-Cross-Domain-Policies</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Powered-By"><code>X-Powered-By</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-Robots-Tag"><code>X-Robots-Tag</code><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/X-XSS-Protection"><code>X-XSS-Protection</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li></ol></details></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Reference/Methods">HTTP request methods</a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/CONNECT"><code>CONNECT</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/DELETE"><code>DELETE</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/GET"><code>GET</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/HEAD"><code>HEAD</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/OPTIONS"><code>OPTIONS</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/PATCH"><code>PATCH</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/POST"><code>POST</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/PUT"><code>PUT</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/QUERY"><code>QUERY</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Methods/TRACE"><code>TRACE</code></a></li></ol></details></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Reference/Status">HTTP response status codes</a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Reference/Status/100"><code>100 Continue</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/101"><code>101 Switching Protocols</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/103"><code>103 Early Hints</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/200"><code>200 OK</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/201"><code>201 Created</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/202"><code>202 Accepted</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/203"><code>203 Non-Authoritative Information</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/204"><code>204 No Content</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/205"><code>205 Reset Content</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/206"><code>206 Partial Content</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/207"><code>207 Multi-Status</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/208"><code>208 Already Reported</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/226"><code>226 IM Used</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/300"><code>300 Multiple Choices</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/301"><code>301 Moved Permanently</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/302"><code>302 Found</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/303"><code>303 See Other</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/304"><code>304 Not Modified</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/307"><code>307 Temporary Redirect</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/308"><code>308 Permanent Redirect</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/400"><code>400 Bad Request</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/401"><code>401 Unauthorized</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/402"><code>402 Payment Required</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/403"><code>403 Forbidden</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/404"><code>404 Not Found</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/405"><code>405 Method Not Allowed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/406"><code>406 Not Acceptable</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/407"><code>407 Proxy Authentication Required</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/408"><code>408 Request Timeout</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/409"><code>409 Conflict</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/410"><code>410 Gone</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/411"><code>411 Length Required</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/412"><code>412 Precondition Failed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/413"><code>413 Content Too Large</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/414"><code>414 URI Too Long</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/415"><code>415 Unsupported Media Type</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/416"><code>416 Range Not Satisfiable</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/417"><code>417 Expectation Failed</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/418"><code>418 I'm a teapot</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/421"><code>421 Misdirected Request</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/422"><code>422 Unprocessable Content</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/423"><code>423 Locked</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/424"><code>424 Failed Dependency</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/425"><code>425 Too Early</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/426"><code>426 Upgrade Required</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/428"><code>428 Precondition Required</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/429"><code>429 Too Many Requests</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/431"><code>431 Request Header Fields Too Large</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/451"><code>451 Unavailable For Legal Reasons</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/500"><code>500 Internal Server Error</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/501"><code>501 Not Implemented</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/502"><code>502 Bad Gateway</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/503"><code>503 Service Unavailable</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/504"><code>504 Gateway Timeout</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/505"><code>505 HTTP Version Not Supported</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/506"><code>506 Variant Also Negotiates</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/507"><code>507 Insufficient Storage</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/508"><code>508 Loop Detected</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/510"><code>510 Not Extended</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Status/511"><code>511 Network Authentication Required</code></a></li></ol></details></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy#directives">CSP directives</a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/base-uri"><code>base-uri</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/block-all-mixed-content"><code>block-all-mixed-content</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/child-src"><code>child-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/connect-src"><code>connect-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/default-src"><code>default-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/fenced-frame-src"><code>fenced-frame-src</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/font-src"><code>font-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/form-action"><code>form-action</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-ancestors"><code>frame-ancestors</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-src"><code>frame-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/img-src"><code>img-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/manifest-src"><code>manifest-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/media-src"><code>media-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/object-src"><code>object-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/prefetch-src"><code>prefetch-src</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/report-to"><code>report-to</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/report-uri"><code>report-uri</code><span role="img" class="icon icon-baseline discouraged" title="Deprecated. Not for use in new websites." aria-label="Deprecated"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/require-trusted-types-for"><code>require-trusted-types-for</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/sandbox"><code>sandbox</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/script-src"><code>script-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/script-src-attr"><code>script-src-attr</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/script-src-elem"><code>script-src-elem</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/style-src"><code>style-src</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/style-src-attr"><code>style-src-attr</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/style-src-elem"><code>style-src-elem</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/trusted-types"><code>trusted-types</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/upgrade-insecure-requests"><code>upgrade-insecure-requests</code></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/worker-src"><code>worker-src</code></a></li></ol></details></li><li><details><summary><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy#directives">Permissions-Policy directives<span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></summary><ol><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/accelerometer"><code>accelerometer</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/ambient-light-sensor"><code>ambient-light-sensor</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/aria-notify"><code>aria-notify</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/attribution-reporting"><code>attribution-reporting</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/autoplay"><code>autoplay</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/bluetooth"><code>bluetooth</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/browsing-topics"><code>browsing-topics</code><span role="img" class="icon icon-baseline removing" title="Deprecated. Pending removal from browsers." aria-label="Deprecated, pending removal"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/camera"><code>camera</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/captured-surface-control"><code>captured-surface-control</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/ch-ua-high-entropy-values"><code>ch-ua-high-entropy-values</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/compute-pressure"><code>compute-pressure</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/cross-origin-isolated"><code>cross-origin-isolated</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/deferred-fetch"><code>deferred-fetch</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/deferred-fetch-minimal"><code>deferred-fetch-minimal</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/display-capture"><code>display-capture</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/encrypted-media"><code>encrypted-media</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/fullscreen"><code>fullscreen</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/gamepad"><code>gamepad</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/geolocation"><code>geolocation</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/gyroscope"><code>gyroscope</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/hid"><code>hid</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/identity-credentials-get"><code>identity-credentials-get</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/idle-detection"><code>idle-detection</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/language-detector"><code>language-detector</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/language-model"><code>language-model</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/local-fonts"><code>local-fonts</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/local-network"><code>local-network</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/local-network-access"><code>local-network-access</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/loopback-network"><code>loopback-network</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/magnetometer"><code>magnetometer</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/microphone"><code>microphone</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/midi"><code>midi</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/on-device-speech-recognition"><code>on-device-speech-recognition</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/otp-credentials"><code>otp-credentials</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/payment"><code>payment</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/picture-in-picture"><code>picture-in-picture</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/private-state-token-issuance"><code>private-state-token-issuance</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/private-state-token-redemption"><code>private-state-token-redemption</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/publickey-credentials-create"><code>publickey-credentials-create</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/publickey-credentials-get"><code>publickey-credentials-get</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/screen-wake-lock"><code>screen-wake-lock</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/serial"><code>serial</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/speaker-selection"><code>speaker-selection</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/storage-access"><code>storage-access</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/summarizer"><code>summarizer</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/translator"><code>translator</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/unload"><code>unload</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span><span role="img" class="icon icon-nonstandard" title="Non-standard. Check cross-browser support before using." aria-label="Non-standard"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/usb"><code>usb</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/web-share"><code>web-share</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/window-management"><code>window-management</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li><li><a href="/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/xr-spatial-tracking"><code>xr-spatial-tracking</code><span role="img" class="icon icon-experimental" title="Experimental. Expect behavior to change in the future." aria-label="Experimental"></span></a></li></ol></details></li><li><a href="/en-US/docs/Web/HTTP/Reference/Resources_and_specifications">HTTP resources and specifications</a></li></ol></div>
    </nav>
        </aside>
      </div>
    </div>
        <div class="page-layout__footer">
      <mdn-placement-bottom></mdn-placement-bottom>
      <footer class="footer">
        <div class="footer__mdn">
          <div class="footer__intro">
            <a
              class="footer__logo"
              href="/"
              aria-label="MDN logo"
              ><!--lit-part anjj6IBmI8g=--><svg xmlns="http://www.w3.org/2000/svg" width="83" height="24" viewBox="0 0 83 24"><title>MDN</title><path d="M9.4 0 2.81 21.17H.12L6.69 0zm2.38 0v21.17H9.4V0h2.4Zm9.27 0-6.56 21.17H11.8L18.36 0zm2.39 0v21.17h-2.4V0zm22.11 16.83h-3.93v-1.27h.87v-3.63c0-.85-.16-1.45-.48-1.82a1.65 1.65 0 0 0-1.3-.52c-.74 0-1.3.25-1.66.78a3 3 0 0 0-.58 1.58v3.59h1.38v1.26h-3.93v-1.26h.87v-3.6c0-.88-.16-1.48-.48-1.83a1.7 1.7 0 0 0-1.29-.52 1.93 1.93 0 0 0-1.65.75 2.85 2.85 0 0 0-.58 1.6v3.62h1.59v1.27h-4.64v-1.27h1.37V9.75h-1.4V8.46h3.08v1.47c.28-.48.62-.87 1.08-1.2a3 3 0 0 1 1.68-.45c.67 0 1.22.16 1.73.48.5.32.85.8 1.03 1.47.25-.57.62-1.03 1.13-1.4.5-.37 1.1-.55 1.81-.55.8 0 1.5.25 2.05.75.55.51.85 1.3.85 2.35v4.18h1.4zm9.77 0H52.3v-1.66c-.27.51-.66.95-1.13 1.29-.56.4-1.23.59-1.9.55-1.11 0-2-.37-2.67-1.12a4.4 4.4 0 0 1-1-3.06c0-1.15.3-2.2.93-3.15.6-.94 1.58-1.43 2.94-1.43s2.25.5 2.83 1.5V5.22h-2V3.93h3.63v11.63h1.38v1.27Zm-3.06-3.86v-1.02a2.28 2.28 0 0 0-.73-1.67 2.4 2.4 0 0 0-1.66-.65 2.18 2.18 0 0 0-1.88.9 3.63 3.63 0 0 0-.65 2.2c0 .95.23 1.68.7 2.19.45.5 1.03.76 1.7.76.73 0 1.33-.3 1.79-.88.48-.6.71-1.21.73-1.83m14.14 3.86h-4.43v-1.27h1.37v-3.63c0-.85-.16-1.45-.5-1.82a1.68 1.68 0 0 0-1.31-.52c-.71 0-1.29.23-1.7.69a2.52 2.52 0 0 0-.67 1.6v3.66h1.38v1.26H56.1v-1.26h1.38v-5.8h-1.42V8.47h3.12V9.9c.6-1.06 1.57-1.6 2.92-1.6.83 0 1.54.26 2.12.77.57.5.85 1.28.85 2.34v4.19h1.38v1.24h-.05Zm1.31 5.15H83V24H67.71z"/></svg><!--/lit-part--></a
            >
            <p>
              Your blueprint for a better internet.
            </p>
          </div>

          <ul class="footer__socials">
            
                <li>
                  <a
                    href="https://github.com/mdn/"
                    target="_blank"
                    rel="noopener"
                    aria-label="MDN on GitHub"
                    data-icon="github"
                    data-glean-id="footer: social -&gt; github"
                  ></a>
                </li>
              
                <li>
                  <a
                    href="https://bsky.app/profile/developer.mozilla.org"
                    target="_blank"
                    rel="noopener"
                    aria-label="MDN on Bluesky"
                    data-icon="bluesky"
                    data-glean-id="footer: social -&gt; bluesky"
                  ></a>
                </li>
              
                <li>
                  <a
                    href="https://x.com/mozdevnet"
                    target="_blank"
                    rel="noopener"
                    aria-label="MDN on X"
                    data-icon="x"
                    data-glean-id="footer: social -&gt; x"
                  ></a>
                </li>
              
                <li>
                  <a
                    href="https://mastodon.social/@mdn"
                    target="_blank"
                    rel="noopener"
                    aria-label="MDN on Mastodon"
                    data-icon="mastodon"
                    data-glean-id="footer: social -&gt; mastodon"
                  ></a>
                </li>
              
                <li>
                  <a
                    href="/en-US/blog/rss.xml"
                    target="_blank"
                    rel="noopener"
                    aria-label="MDN blog RSS feed"
                    data-icon="rss"
                    data-glean-id="footer: social -&gt; rss"
                  ></a>
                </li>
              
          </ul>

          
              <dl class="footer__links">
                <dt>MDN</dt>
                <dd>
                  <ul>
                    
                        <li>
                          <a
                            href="/en-US/about"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/about"
                          >
                            About
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/blog/"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/blog/"
                          >
                            Blog
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="https://www.mozilla.org/en-US/careers/listings/"
                            class="external"
                            target="_blank"
                            rel="noopener"
                            data-glean-id="footer: link -&gt; https://www.mozilla.org/en-US/careers/listings/"
                          >
                            Mozilla careers
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/advertising"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/advertising"
                          >
                            Advertise with us
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/plus"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/plus"
                          >
                            MDN Plus
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="https://support.mozilla.org/products/mdn-plus"
                            class="external"
                            target="_blank"
                            rel="noopener"
                            data-glean-id="footer: link -&gt; https://support.mozilla.org/products/mdn-plus"
                          >
                            Product help
                          </a>
                        </li>
                      
                  </ul>
                </dd>
              </dl>
            
              <dl class="footer__links">
                <dt>Contribute</dt>
                <dd>
                  <ul>
                    
                        <li>
                          <a
                            href="/en-US/community"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/community"
                          >
                            MDN Community
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/docs/MDN/Community"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/MDN/Community"
                          >
                            Community resources
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/docs/MDN/Writing_guidelines"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/MDN/Writing_guidelines"
                          >
                            Writing guidelines
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/discord"
                            class="external"
                            target="_blank"
                            rel="noopener"
                            data-glean-id="footer: link -&gt; /discord"
                          >
                            MDN Discord
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="https://github.com/mdn"
                            class="external"
                            target="_blank"
                            rel="noopener"
                            data-glean-id="footer: link -&gt; https://github.com/mdn"
                          >
                            MDN on GitHub
                          </a>
                        </li>
                      
                  </ul>
                </dd>
              </dl>
            
              <dl class="footer__links">
                <dt>Developers</dt>
                <dd>
                  <ul>
                    
                        <li>
                          <a
                            href="/en-US/docs/Web"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/Web"
                          >
                            Web technologies
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/docs/Learn_web_development"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/Learn_web_development"
                          >
                            Learn web development
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/docs/MDN/Guides"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/MDN/Guides"
                          >
                            Guides
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/docs/MDN/Tutorials"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/MDN/Tutorials"
                          >
                            Tutorials
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="/en-US/docs/Glossary"
                            class=""
                            target=""
                            rel=""
                            data-glean-id="footer: link -&gt; /en-US/docs/Glossary"
                          >
                            Glossary
                          </a>
                        </li>
                      
                        <li>
                          <a
                            href="https://hacks.mozilla.org/"
                            class="external"
                            target="_blank"
                            rel="noopener"
                            data-glean-id="footer: link -&gt; https://hacks.mozilla.org/"
                          >
                            Hacks blog
                          </a>
                        </li>
                      
                  </ul>
                </dd>
              </dl>
            
        </div>

        <div class="footer__mozilla">
          <a
            class="footer__logo"
            href="https://www.mozilla.org/"
            aria-label="Mozilla logo"
            ><!--lit-part lm0Fgmo9xYQ=--><svg xmlns="http://www.w3.org/2000/svg" width="128" height="30" viewBox="0 0 256 60"><title>Mozilla</title><path d="m13.32 22.1 5.1 24.3h2.1l5.1-24.3H39.3v37.34h-7.26V28.46h-2.1l-6.96 30.98h-7.02L9.02 28.46h-2.1v31H-.35V22.1h13.66Zm45.12 8.74c8.73 0 13.8 5.15 13.8 14.57S67.14 60 58.44 60c-8.73 0-13.8-5.17-13.8-14.59 0-9.43 5.07-14.57 13.8-14.57m0 23.34c4.1 0 6.16-2.1 6.16-6.73v-4.12c0-4.62-2.06-6.73-6.16-6.73s-6.15 2.1-6.15 6.73v4.12c0 4.63 2.05 6.73 6.15 6.73m17.68-.14 14.82-17.26H76.32v-5.41h23.31v5.4L84.84 54.05h15.03v5.4H76.13v-5.41Zm28.07-22.67h10.7v28.07h-7.25V36.77h-3.48v-5.4zm3.44-9.27h7.26v5.4h-7.25v-5.4Zm12.62 0h10.72v37.34h-7.24V27.5h-3.48zm16.08 0h10.7v37.34h-7.25V27.5h-3.48v-5.4zm27.8 8.74c4.24 0 7.08 2.05 7.87 5.63h2.1v-5.1h8.88v5.4h-3.47v17.28h3.47v5.4h-4.25c-3 0-4.63-1.63-4.63-4.62v-.48H172c-.78 3.58-3.63 5.63-7.88 5.63-6.68 0-11.4-5.59-11.4-14.58 0-9 4.72-14.55 11.4-14.55m2.2 23.34c4.1 0 5.93-2.1 5.93-6.73v-4.12c0-4.62-1.82-6.73-5.94-6.73-3.99 0-5.92 2.1-5.92 6.73v4.13c0 4.62 1.92 6.72 5.93 6.72m46.28 5.27h-7.26V0h7.26zm6.3-28.41h30.8v-2.1l-20.4-7.32v-5.88l20.4-7.33v-2.1h-24.27V0h30.79v12l-16.62 5.63v2.11l16.61 5.64v12H218.9zm0-24.73h6.5v6.52h-6.5z"/></svg><!--/lit-part--></a
          >
          <ul>
            
                <li>
                  <a
                    href="https://www.mozilla.org/privacy/websites/"
                    class="external"
                    data-glean-id="footer: mozilla -&gt; https://www.mozilla.org/privacy/websites/"
                    >Website Privacy Notice</a
                  >
                </li>
              
                <li>
                  <a
                    href="https://www.mozilla.org/en-US/privacy/websites/data-preferences/"
                    class="external"
                    data-glean-id="footer: mozilla -&gt; https://www.mozilla.org/en-US/privacy/websites/data-preferences/"
                    >Telemetry Settings</a
                  >
                </li>
              
                <li>
                  <a
                    href="https://www.mozilla.org/about/legal/terms/mozilla"
                    class="external"
                    data-glean-id="footer: mozilla -&gt; https://www.mozilla.org/about/legal/terms/mozilla"
                    >Legal</a
                  >
                </li>
              
                <li>
                  <a
                    href="https://www.mozilla.org/about/governance/policies/participation/"
                    class="external"
                    data-glean-id="footer: mozilla -&gt; https://www.mozilla.org/about/governance/policies/participation/"
                    >Community Participation Guidelines</a
                  >
                </li>
              
          </ul>
          <p>
            Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under <a href="/docs/MDN/Writing_guidelines/Attrib_copyright_license">a Creative Commons license</a>.
          </p>
        </div>
      </footer>
    </div>
      </body>
    
      </html>