Anna.info website technical test: Difference between revisions

From annawiki
Line 12: Line 12:
** A+; Score: 125/100, Tests Passed: 11/11
** A+; Score: 125/100, Tests Passed: 11/11
** Note: One can get a score higher than 100, e.g.  
** Note: One can get a score higher than 100, e.g.  
*** +5 Content Security Policy - if no unsafe-inline is present, anna.info having "Content Security Policy (CSP) implemented with 'unsafe-inline' inside style-src" gets 0 for "Content Security Policy"
*** Content Security Policy
*** +5 HTTP Strict Transport Security - if preload is present
**** +10 Content Security Policy (CSP) implemented with default-src 'none' and no 'unsafe'
**** +5 Content Security Policy - if no unsafe-inline is present, anna.info having "Content Security Policy (CSP) implemented with 'unsafe-inline' inside style-src" gets 0 for "Content Security Policy"
*** HTTP Strict Transport Security +5 Preloaded via the HTTP Strict Transport Security (HSTS) preloading process
*** Referrer Policy +5 Referrer-Policy header set to "no-referrer", "same-origin", "strict-origin" or "strict-origin-when-cross-origin"
*** X-Frame-Options +5 X-Frame-Options (XFO) implemented via the CSP frame-ancestors directive
*https://www.google.com/webmasters/tools/mobile-friendly/?url=https%3A%2F%2Fanna.info%2F
*https://www.google.com/webmasters/tools/mobile-friendly/?url=https%3A%2F%2Fanna.info%2F
**Awesome! This page is mobile-friendly.
**Awesome! This page is mobile-friendly.

Revision as of 2018-02-20T17:48:03

Links

Issues

Content-Security-Policy	default-src 'self'; style-src 'self' 'unsafe-inline'

The "style-src 'unsafe-inline'" prevents getting +5 points. Inline CSS is used

  • for getting 100/100 on Goolge speed test, which does not seem to be possible with external CSS
  • to to CSS marking in MediaWiki, e.g. cells in tables

Other