{"id":10446,"date":"2020-02-17T06:15:28","date_gmt":"2020-02-16T21:15:28","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=10446"},"modified":"2020-02-17T05:19:42","modified_gmt":"2020-02-16T20:19:42","slug":"amp-increases-css-limit-from-50000-bytes-to-75-bytes","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/amp-increases-css-limit-from-50000-bytes-to-75-bytes\/","title":{"rendered":"AMP\u306eCSS\u30b5\u30a4\u30ba\u4e0a\u9650\u304c50000\u30d0\u30a4\u30c8\u304b\u308975000\u30d0\u30a4\u30c8\u307850%\u5897\u91cf&#x2b06;"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e0a\u7d1a]<\/p>\n<p>AMP \u3067\u5229\u7528\u3067\u304d\u308b CSS \u306e\u30b5\u30a4\u30ba\u4e0a\u9650\u304c 50,000 \u30d0\u30a4\u30c8 (\u7d04 50KB) \u304b\u3089 75,000 \u30d0\u30a4\u30c8 (\u7d04 75KB) \u306b\u5897\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"p60-b p30-t\">\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Behold: proposal (with pull request) to increase the <a href=\"https:\/\/twitter.com\/AMPhtml?ref_src=twsrc%5Etfw\">@AMPhtml<\/a> custom CSS budget\/limit from 50KB to 75KB: <a href=\"https:\/\/t.co\/tWoEK8a8Lx\">https:\/\/t.co\/tWoEK8a8Lx<\/a><\/p>\n<p>&mdash; Weston Ruter (@westonruter) <a href=\"https:\/\/twitter.com\/westonruter\/status\/1220860786127462400?ref_src=twsrc%5Etfw\">January 25, 2020<\/a><\/p><\/blockquote>\n<p> <script defer src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<blockquote class=\"twitter-tweet\" data-conversation=\"none\">\n<p lang=\"en\" dir=\"ltr\">And the pull request to raise AMP&#39;s custom CSS limit from 50KB to 75KB has been merged! &#x1f389;<\/p>\n<p>It should be live by the end of February. (We&#39;ll make sure to release an update to the WordPress AMP plugin as soon as this happens.) PR: <a href=\"https:\/\/t.co\/1zy49OqXqu\">https:\/\/t.co\/1zy49OqXqu<\/a><\/p>\n<p>&mdash; Weston Ruter (@westonruter) <a href=\"https:\/\/twitter.com\/westonruter\/status\/1225946272206446592?ref_src=twsrc%5Etfw\">February 8, 2020<\/a><\/p><\/blockquote>\n<\/div>\n<h2>50 % \u5897\u91cf\u3067 50000 \u30d0\u30a4\u30c8\u304b\u3089 75000 \u30d0\u30a4\u30c8\u3078<\/h2>\n<p>\u8aad\u307f\u8fbc\u307f\u6642\u9593\u3092\u9ad8\u901f\u5316\u3059\u308b\u76ee\u7684\u3067\u3001AMP \u3067\u306f CSS \u306e\u30b5\u30a4\u30ba\u306b\u4e0a\u9650\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u3053\u306e\u4e0a\u9650\u5024\u3092\u8d85\u3048\u3066\u3057\u307e\u3046\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u3001\u6709\u52b9\u306a AMP \u30da\u30fc\u30b8\u3068\u3057\u3066\u306f\u307f\u306a\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" itemprop=\"image\" loading=\"lazy\" class=\"bdr\" src=\"https:\/\/www.suzukikenichi.com\/images\/too-big-amp-css1.png\" alt=\"\u30bf\u30b0\u300cstyle amp-custom\u300d\u3067\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u4f5c\u6210\u8005\u306e\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u304c\u9577\u3059\u304e\u307e\u3059\" width=\"714\" height=\"639\" \/><\/p>\n<p>\u4e0a\u306e AMP \u30c6\u30b9\u30c8\u3067\u306e\u691c\u8a3c\u7d50\u679c\u3067\u306f\u300c\u4e0a\u9650\u306f 75000 \u30d0\u30a4\u30c8\u3067\u3059\u300d\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u308c\u307e\u3067\u306f 50000 \u30d0\u30a4\u30c8\u3067\u3057\u305f\u3002<br \/>50 % \u5897\u91cf\u3067\u3059\u3002<\/p>\n<p>2 \u6708\u4e2d\u306b\u306f CSS \u30b5\u30a4\u30ba\u304c\u62e1\u5f35\u3055\u308c\u308b\u3068\u306e\u3053\u3068\u3067\u3057\u305f\u3002<br \/>\u30c4\u30fc\u30eb\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u898b\u3066\u308f\u304b\u308b\u3088\u3046\u306b\u3001\u3059\u3067\u306b\u5909\u66f4\u306f\u5b8c\u4e86\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/amp.dev\/documentation\/guides-and-tutorials\/learn\/spec\/amphtml\/#maximum-size\">\u95a2\u9023\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3082\u66f4\u65b0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>It is a validation error if the author stylesheet or inline styles together are larger than <strong><mark>75,000 bytes<\/mark><\/strong>.<\/p><\/blockquote>\n<p>\u203b\u3059\u305a\u304d\u6ce8: \u305f\u3060\u3057\u3001\u3053\u306e\u8a18\u4e8b\u3092\u516c\u958b\u3059\u308b\u6642\u70b9\u3067\u306f\u307e\u3060\u66f4\u65b0\u304c\u5165\u3063\u3066\u304a\u3089\u305a\u300150,000 \u30d0\u30a4\u30c8\u306e\u307e\u307e\u306e\u8a18\u8ff0\u3082\u6b8b\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>WordPress \u306e AMP \u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3082\u306a\u308b\u3079\u304f\u65e9\u304f\u4e0a\u9650\u5897\u52a0\u3092\u53cd\u6620\u3055\u305b\u308b\u3068\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\u3010UPDATE\u3011<a href=\"https:\/\/github.com\/ampproject\/amp-wp\/pull\/4313\">v1.4.4 \u3067<\/a> 75,000 \u30d0\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p class=\"p60-t\">\u901a\u5e38\u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3067\u3042\u308c\u3070\u300125KB \u30d0\u30a4\u30c8\u304f\u3089\u3044\u5897\u3048\u3066\u3082\u4f55\u306e\u8db3\u3057\u306b\u3082\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002<br \/>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u5236\u9650\u304c\u53b3\u3057\u3044 AMP \u30da\u30fc\u30b8\u3067\u306f\u305f\u3068\u3048 25KB \u3067\u3042\u3063\u3066\u3082\u5229\u7528\u4fa1\u5024\u304c\u3042\u308b\u5897\u52a0\u306b\u306a\u308b\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\u30c1\u30fc\u30e0\u5185\u306e\u30a6\u30a7\u30d6\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u3055\u3093\u306b\u3082\u6559\u3048\u3066\u3042\u3052\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AMP \u3067\u5229\u7528\u3067\u304d\u308b CSS \u306e\u30b5\u30a4\u30ba\u4e0a\u9650\u304c 50,000 \u30d0\u30a4\u30c8 (\u7d04 50KB) \u304b\u3089 75,000 \u30d0\u30a4\u30c8 (\u7d04 75KB) \u306b\u5897\u52a0\u3057\u305f\u3002AMP \u3067\u306f\u3001CSS \u30b5\u30a4\u30ba\u304c\u4e0a\u9650\u5024\u3092\u8d85\u3048\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":10447,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1179],"tags":[1228],"class_list":{"0":"post-10446","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-mobile-seo","8":"tag-amp-accelerated-mobile-pages"},"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/comments?post=10446"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/10446\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media\/10447"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=10446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=10446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=10446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}