]> Devoid-pointer.net GitWeb - Nine-Q.git/commitdiff
Remove the no-cache meta tags
authorMichal Malý <madcatxster@devoid-pointer.net>
Sat, 20 Dec 2014 02:51:33 +0000 (03:51 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sat, 20 Dec 2014 02:51:33 +0000 (03:51 +0100)
bin/templates/header.html
src/face_generators/face_generator.adb
src/face_generators/face_generator.ads

index a5583d38387a7695a6ae90e180a88562d332ca15..ba638cbced7051f97b97c8d6d71b1e80406a079c 100644 (file)
@@ -5,8 +5,6 @@
 <head>
   <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
   <meta http-equiv="content-language" content="cs" />
-  @_META_EXPIRE_NOW_@
-  @_META_NO_CACHE_@
   <link rel="stylesheet" type="text/css" href="/main_stylesheet" /> 
   <title>TGen_Prototype</title>
 </head>
index 29bef218a87612d1a2f81ffdbc40eac206ab259a..8503835f7852feaad515757be90730c524a8c752 100644 (file)
@@ -119,8 +119,6 @@ package body Face_Generator is
     Temp: HTML_Code;
   begin
     Insert(Translations_Hdr, Assoc(HEADER_CAPTION_KEY, "&lt;&nbsp;" & Acidobazic_Suite.PROBLEM_NAME_READABLE));
-    Insert(Translations_Hdr, Assoc(META_EXPIRE_NOW_KEY, META_EXPIRE_NOW_TEXT));
-    Insert(Translations_Hdr, Assoc(META_NO_CACHE_KEY, META_NO_CACHE_TEXT));
     HTML := Parse(Filename => "templates/header.html", Translations => Translations_Hdr);
     -- Add JavaScripts
     Temp := Parse(Filename => "scripts/expand_collapse.js", Cached => True);
@@ -220,8 +218,6 @@ package body Face_Generator is
     P_Subtype: UB_Text;
   begin
     Insert(Translations_Hdr, Assoc(HEADER_CAPTION_KEY, "&lt;&nbsp;" & Solubility_Suite.PROBLEM_NAME_READABLE));
-    Insert(Translations_Hdr, Assoc(META_EXPIRE_NOW_KEY, META_EXPIRE_NOW_TEXT));
-    Insert(Translations_Hdr, Assoc(META_NO_CACHE_KEY, META_NO_CACHE_TEXT));
     HTML := Parse(Filename => "templates/header.html", Translations => Translations_Hdr);
     -- Add JavaScripts
     Temp := Parse(Filename => "scripts/expand_collapse.js", Cached => True);
@@ -425,8 +421,6 @@ package body Face_Generator is
     Temp: HTML_Code;
   begin
     Insert(Translations_Hdr, Assoc(HEADER_CAPTION_KEY, "&lt;&nbsp;" & Titration_Curve_Suite.PROBLEM_NAME_READABLE));
-    Insert(Translations_Hdr, Assoc(META_EXPIRE_NOW_KEY, META_EXPIRE_NOW_TEXT));
-    Insert(Translations_Hdr, Assoc(META_NO_CACHE_KEY, META_NO_CACHE_TEXT));
     HTML := Parse(Filename => "templates/header.html", Translations => Translations_Hdr);
     -- Add JavaScripts
     Temp := Parse(Filename => "scripts/expand_collapse.js", Cached => True);
index ba5138852d9f5bd28f7fa9617b2045f57bdee64a..e1b6fc9a677996c347bb9210db222da033542435 100644 (file)
@@ -46,9 +46,5 @@ private
   ERROR_MESSAGE_KEY: constant String := "ERROR_MESSAGE";
   HEADER_CAPTION_KEY: constant String := "HEADER_CAPTION";
   HINTS_SECTION_KEY: constant String := "HINTS_SECTION";
-  META_EXPIRE_NOW_KEY: constant String := "META_EXPIRE_NOW";
-    META_EXPIRE_NOW_TEXT: constant String := "<meta http-equiv=""expires"" content=""0"" />";
-  META_NO_CACHE_KEY: constant String := "META_NO_CACHE";
-    META_NO_CACHE_TEXT: constant String := "<meta http-equiv=""cache-control"" content=""no-cache"" />";
 
 end Face_Generator;