{"id":27,"date":"2006-03-13T10:55:59","date_gmt":"2006-03-13T09:55:59","guid":{"rendered":"http:\/\/blog.pczone.be\/?p=27"},"modified":"2006-03-13T10:56:29","modified_gmt":"2006-03-13T09:56:29","slug":"never-put-an-image-or-static-file-into-a-db","status":"publish","type":"post","link":"http:\/\/blog.pczone.be\/?p=27","title":{"rendered":"Never put an image (or static file) into a db"},"content":{"rendered":"<p><a href=\"http:\/\/mysqldump.azundris.com\/archives\/36-Serving-Images-From-A-Database.html\">Here&#8217;s a nice article<\/a> on what exactly happens if you put static content in a database. Okay, it may look nice and stuff, but just check here what actually has to happen to just serve that static file.<br \/>\nJust a confirmation of what I&#8217;m always saying to people who do want to do it! So read it, if you want to store or in a former project stored images in the db!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a nice article on what exactly happens if you put static content in a database. Okay, it may look nice and stuff, but just check here what actually has to happen to just serve that static file. Just a confirmation of what I&#8217;m always saying to people who do want to do it! So &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.pczone.be\/?p=27\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Never put an image (or static file) into a db&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[4,7],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-informatics","category-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3U9nk-r","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":0,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.pczone.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}