{"id":141625,"date":"2021-05-28T00:33:02","date_gmt":"2021-05-28T00:33:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/static-404\/"},"modified":"2021-08-20T15:47:41","modified_gmt":"2021-08-20T15:47:41","slug":"static-404","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/static-404\/","author":8764678,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"5.8.13","requires":"5.2","requires_php":"5.6","requires_plugins":"","header_name":"Static 404","header_author":"Brad Parbs","header_description":"Quickly output a 404 for static files that aren't found, rather than loading the normal 404 page.","assets_banners_color":"b7b7b7","last_updated":"2021-08-20 15:47:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/bradparbs.com\/","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":4795,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"bradparbs","date":"2021-05-28 00:32:45"},"1.0.1":{"tag":"1.0.1","author":"bradparbs","date":"2021-05-28 00:45:05"},"1.0.2":{"tag":"1.0.2","author":"bradparbs","date":"2021-05-28 01:48:07"},"1.0.3":{"tag":"1.0.3","author":"bradparbs","date":"2021-05-28 13:06:10"},"1.1.0":{"tag":"1.1.0","author":"bradparbs","date":"2021-08-20 15:47:41"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2586072,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2586072,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2586072,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2586072,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[905,93,247],"plugin_category":[59],"plugin_contributors":[80879,199824],"plugin_business_model":[],"class_list":["post-141625","plugin","type-plugin","status-publish","hentry","plugin_tags-905","plugin_tags-errors","plugin_tags-performance","plugin_category-utilities-and-tools","plugin_contributors-bradparbs","plugin_contributors-surfboards","plugin_committers-bradparbs","plugin_committers-surfboards"],"banners":{"banner":"https:\/\/ps.w.org\/static-404\/assets\/banner-772x250.png?rev=2586072","banner_2x":"https:\/\/ps.w.org\/static-404\/assets\/banner-1544x500.png?rev=2586072","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/static-404\/assets\/icon-128x128.jpg?rev=2586072","icon_2x":"https:\/\/ps.w.org\/static-404\/assets\/icon-256x256.jpg?rev=2586072","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Quickly output a 404 for static files that aren't found, rather than loading the normal 404 page.<\/p>\n\n<p>Any static files ( images, text, pdfs, etc ) that don't exist will 404 as soon as possible, rather than loading the entire WordPress application.<\/p>\n\n<h3>Details<\/h3>\n\n<p>By default, the list of extensions to check are the results of <code>wp_get_ext_types<\/code>, but can be filtered with <code>static_404_extensions<\/code>.<\/p>\n\n<p>The output is a static page with the text <code>404 Not Found<\/code>, this text can be edited by filtering <code>static_404_message<\/code>.<\/p>\n\n<p>A 404 status code will be used, but can be filtered with <code>static_404_response_code<\/code>.<\/p>\n\n<p>Passing true to <code>static_404_should_process_request<\/code> will short-circuit and skip processing the request. This filter gets passed the current request.<\/p>\n\n<!--section=installation-->\n<ul>\n<li>Install the plugin.\n\n<ul>\n<li>Magically have faster and less expensive 404s!<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.1.00<\/h4>\n\n<ul>\n<li>Added more filters<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A WordPress plugin to quickly send a 404 for missing static files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/141625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=141625"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bradparbs"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=141625"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=141625"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=141625"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=141625"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=141625"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=141625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}