From 7055779426b7f7a65e5776b4da6ac7b6a4d8c13d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sat, 20 Dec 2014 03:51:33 +0100 Subject: [PATCH] Remove the no-cache meta tags --- bin/templates/header.html | 2 -- src/face_generators/face_generator.adb | 6 ------ src/face_generators/face_generator.ads | 4 ---- 3 files changed, 12 deletions(-) diff --git a/bin/templates/header.html b/bin/templates/header.html index a5583d3..ba638cb 100644 --- a/bin/templates/header.html +++ b/bin/templates/header.html @@ -5,8 +5,6 @@ - @_META_EXPIRE_NOW_@ - @_META_NO_CACHE_@ TGen_Prototype diff --git a/src/face_generators/face_generator.adb b/src/face_generators/face_generator.adb index 29bef21..8503835 100644 --- a/src/face_generators/face_generator.adb +++ b/src/face_generators/face_generator.adb @@ -119,8 +119,6 @@ package body Face_Generator is Temp: HTML_Code; begin Insert(Translations_Hdr, Assoc(HEADER_CAPTION_KEY, "< " & 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, "< " & 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, "< " & 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); diff --git a/src/face_generators/face_generator.ads b/src/face_generators/face_generator.ads index ba51388..e1b6fc9 100644 --- a/src/face_generators/face_generator.ads +++ b/src/face_generators/face_generator.ads @@ -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_NO_CACHE_KEY: constant String := "META_NO_CACHE"; - META_NO_CACHE_TEXT: constant String := ""; end Face_Generator; -- 2.43.5