diff --git a/angular.json b/angular.json index 4036b3bce35e7201d2604667614a400a9901e70e..b0c7a547dabc7e1e8c5c8b8b62d970d06b800877 100644 --- a/angular.json +++ b/angular.json @@ -20,6 +20,7 @@ "src/assets", "src/locale", "src/favicon.ico", + "src/.htaccess", { "glob": "**/*.json", "input": "src/", "output": "/" }, { "glob": "**/*.md", "input": "src/", "output": "/" }, { "glob": "**/*.png", "input": "src/", "output": "/" } diff --git a/src/.htaccess b/src/.htaccess new file mode 100644 index 0000000000000000000000000000000000000000..34b87a8bc622a8df238f06f0644a8a74641d1579 --- /dev/null +++ b/src/.htaccess @@ -0,0 +1,9 @@ +<filesMatch "\.json$"> + FileETag None + <ifModule mod_headers.c> + Header unset ETag + Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" + Header set Pragma "no-cache" + Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" + </ifModule> +</filesMatch>