Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/RMerl/asuswrt-merlin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sauvageau <rmerl@lostrealm.ca>2016-12-09 10:24:48 +0300
committerEric Sauvageau <rmerl@lostrealm.ca>2016-12-09 10:24:48 +0300
commit09800e617f4765084594225bc44879d440e37f80 (patch)
tree67496ce44620ae8ded60e40d170faa95318ce13d
parenteced2c3420cbb4c7c9f263884252c93cbaa3692d (diff)
httpd: caching actually must be specifically specified - fix previous commit
-rw-r--r--release/src/router/httpd/web.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/src/router/httpd/web.c b/release/src/router/httpd/web.c
index 45082ec7d2..6437754dc9 100644
--- a/release/src/router/httpd/web.c
+++ b/release/src/router/httpd/web.c
@@ -10216,9 +10216,9 @@ struct mime_handler mime_handlers[] = {
{ "ure_success.htm", "text/html", no_cache_IE7, do_html_post_and_get, do_ej, NULL },
{ "ureip.asp", "text/html", no_cache_IE7, do_html_post_and_get, do_ej, NULL },
{ "remote.asp", "text/html", no_cache_IE7, do_html_post_and_get, do_ej, NULL },
- { "js/jquery.js", "text/javascript", NULL, NULL, do_file, NULL }, // 2010.09 James.
- { "js/ouiDB.js", "text/javascript", NULL, NULL, do_file, NULL },
- { "js/chart.min.js", "text/javascript", NULL, NULL, do_file, NULL },
+ { "js/jquery.js", "text/javascript", cache_object, NULL, do_file, NULL }, // 2010.09 James.
+ { "js/ouiDB.js", "text/javascript", cache_object, NULL, do_file, NULL },
+ { "js/chart.min.js", "text/javascript", cache_object, NULL, do_file, NULL },
{ "require/require.min.js", "text/javascript", no_cache_IE7, NULL, do_file, NULL },
{ "httpd_check.xml", "text/xml", no_cache_IE7, do_html_post_and_get, do_ej, NULL },
{ "httpd_check.json", "application/json", no_cache_IE7, do_html_post_and_get, do_ej, NULL },