diff options
author | Eric Sauvageau <rmerl@lostrealm.ca> | 2016-12-09 10:24:48 +0300 |
---|---|---|
committer | Eric Sauvageau <rmerl@lostrealm.ca> | 2016-12-09 10:24:48 +0300 |
commit | 09800e617f4765084594225bc44879d440e37f80 (patch) | |
tree | 67496ce44620ae8ded60e40d170faa95318ce13d | |
parent | eced2c3420cbb4c7c9f263884252c93cbaa3692d (diff) |
httpd: caching actually must be specifically specified - fix previous commit
-rw-r--r-- | release/src/router/httpd/web.c | 6 |
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 }, |