Pārlūkot izejas kodu

de-stomp earlier vars (oops)

George Baugh 2 gadi atpakaļ
vecāks
revīzija
d4d8bacae2
1 mainītis faili ar 13 papildinājumiem un 0 dzēšanām
  1. 13 0
      lib/Trog/Vars.pm

+ 13 - 0
lib/Trog/Vars.pm

@@ -6,3 +6,16 @@ use warnings;
 #1MB chunks
 our $CHUNK_SEP  = 'tCMSep666YOLO42069';
 our $CHUNK_SIZE = 1024000;
+
+our %content_types = (
+    plain => "text/plain;",
+    html  => "text/html; charset=UTF-8",
+    json  => "application/json;",
+    blob  => "application/octet-stream;",
+);
+
+our %cache_control = (
+    revalidate => "no-cache, max-age=0",
+    nocache    => "no-store",
+    static     => "public, max-age=604800, immutable",
+);