Permalink
Browse files

Docs: Add full `web.config` example

Ref #1100
Close #1224
  • Loading branch information...
molant authored and alrra committed Aug 8, 2018
1 parent fb647c6 commit 4ac86c3110efea9cd9fcf4219f28e802b56af95b
@@ -379,6 +379,8 @@ Note that:
* The above snippet works with IIS 7+.
* You should use the above snippet in the `web.config` of your
application.
* For the complete set of configurations, not just for this rule, see
[this IIS server configuration related docs][IIS config].
</details>
@@ -457,6 +459,7 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
[required media type]: https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache#Referencing_a_cache_manifest_file
[server configs]: https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Configuring_server_MIME_types
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
[IIS config]: https://webhint.io/docs/user-guide/server-configurations/iis/
<!-- Apache links -->
@@ -333,6 +333,8 @@ Note that:
* The above snippet works with IIS 7+.
* You should use the above snippet in the `web.config` of your
application.
* For the complete set of configurations, not just for this rule, see
[this IIS server configuration related docs][IIS config].
</details>
@@ -401,8 +403,9 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
[chrome frame]: https://blog.chromium.org/2013/06/retiring-chrome-frame.html
[doc modes]: https://msdn.microsoft.com/en-us/library/cc288325.aspx
[ie complications]: https://hsivonen.fi/doctype/#ie8
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
[ie complications]: https://hsivonen.fi/doctype/#ie8
[IIS config]: https://webhint.io/docs/user-guide/server-configurations/iis/
[targeted browsers]: https://webhint.io/docs/user-guide/further-configuration/browser-context/
<!-- Apache links -->
@@ -332,6 +332,8 @@ Important notes:
* The above snippet works with IIS 7+.
* You should use the above snippet in the `web.config` of your
application.
* For the complete set of configurations, not just for this rule, see
[this IIS server configuration related docs][IIS config].
</details>
@@ -429,11 +431,12 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
[cache-control immutable]: https://bitsup.blogspot.ro/2016/05/cache-control-immutable.html
[caching best practices]: https://jakearchibald.com/2016/caching-best-practices/
[google http caching]: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
[how well you know the web]: https://youtu.be/vAgKZoGIvqs?t=12m20s
[IIS config]: https://webhint.io/docs/user-guide/server-configurations/iis/
[maxage0]: http://httparchive.org/about.php#maxage0
[maxage0 image]: https://chart.googleapis.com/chart?chd=t:-1%7C49,51,100,100,51,51,51,51,51,51,100,50,50,50,50,50,50,50,51,51,51,50,50,50&chxl=0:%7C+%7C12%2F16%7C+%7C1%2F17%7C+%7C2%2F17%7C+%7C3%2F17%7C+%7C4%2F17%7C+%7C5%2F17%7C+%7C6%2F17%7C+%7C7%2F17%7C+%7C8%2F17%7C+%7C9%2F17%7C+%7C10%2F17%7C+%7C11%2F17&chxt=x&chs=600x300&cht=lxy&chco=184852&chxs=0,676767,11.5,0,lt,676767&chxtc=0,8&chm=N**+%,184852,0,1::2,12,,h::8&chds=0,100,0,100&chts=184852,24&chtt=Cacheable+Resources&chls=2&chma=5,5,5,25
[revving files]: https://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
<!-- Apache links -->
@@ -963,6 +963,8 @@ Note that:
* The above snippet works with IIS 7+.
* You should use the above snippet in the `web.config` of your
application.
* For the complete set of configurations, not just for this rule, see
[this IIS server configuration related docs][IIS config].
</details>
@@ -1062,6 +1064,7 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
[gzip is not enough]: https://www.youtube.com/watch?v=whGwm0Lky2s
[gzip ratio]: https://www.youtube.com/watch?v=Mjab_aZsdxw&t=24s
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
[IIS config]: https://webhint.io/docs/user-guide/server-configurations/iis/
[unship sdch]: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/nQl0ORHy7sw
[wdmsc]: https://whatdoesmysitecost.com/
[zopfli blog post]: https://developers.googleblog.com/2013/02/compress-data-more-densely-with-zopfli.html
@@ -195,6 +195,8 @@ Note that:
* The above snippet works with IIS 7+.
* You should use the above snippet in the `web.config` of your
application.
* For the complete set of configurations, not just for this rule, see
[this IIS server configuration related docs][IIS config].
</details>
@@ -259,11 +261,12 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
<!-- Apache links -->
[apache directory]: https://httpd.apache.org/docs/current/mod/core.html#directory
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
[how to enable apache modules]: https://github.com/h5bp/server-configs-apache/wiki/How-to-enable-Apache-modules
[htaccess is slow]: https://httpd.apache.org/docs/current/howto/htaccess.html#when
[IIS config]: https://webhint.io/docs/user-guide/server-configurations/iis/
[main apache conf file]: https://httpd.apache.org/docs/current/configuring.html#main
[mod_headers]: https://httpd.apache.org/docs/current/mod/mod_headers.html
[hintrc]: https://webhint.io/docs/user-guide/further-configuration/hintrc-formats/
<!-- IIS links -->
@@ -170,6 +170,8 @@ Note that:
* The above snippet works with IIS 7+.
* You should use the above snippet in the `web.config` of your
application.
* For the complete set of configurations, not just for this rule, see
[this IIS server configuration related docs][IIS config].
</details>
@@ -257,6 +259,7 @@ And then activate it via the [`.hintrc`][hintrc] configuration file:
[hsts cheat sheat]: https://www.owasp.org/index.php/HTTP_Strict_Transport_Security_Cheat_Sheet
[hsts wiki]: https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security
[IIS config]: https://webhint.io/docs/user-guide/server-configurations/iis/
[pineapple]: https://www.troyhunt.com/the-beginners-guide-to-breaking-website/
[preload form]:https://hstspreload.org/
[preload list]:https://cs.chromium.org/codesearch/f/chromium/src/net/http/transport_security_state_static.json
Oops, something went wrong.

0 comments on commit 4ac86c3

Please sign in to comment.