Anna.info website technical test: Difference between revisions

From annawiki
Line 19: Line 19:
*** X-Frame-Options +5 X-Frame-Options (XFO) implemented via the CSP frame-ancestors directive
*** 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.
**Page is mobile-friendly | This page is easy to use on a mobile device
*https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fanna.info%2F
*https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fanna.info%2F
**mobile 100 / 100 Speed, 100 / 100 User Experience; desktop 100 / 100 Suggestions Summary
**mobile 100 / 100 Speed, 100 / 100 User Experience; desktop 100 / 100 Suggestions Summary

Revision as of 2018-02-20T19:42:54

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