{"id":15,"date":"2008-11-09T15:16:46","date_gmt":"2008-11-09T21:16:46","guid":{"rendered":"http:\/\/idubbs.com\/blog\/?p=15"},"modified":"2008-11-09T15:16:46","modified_gmt":"2008-11-09T21:16:46","slug":"web-parts-close-vs-delete","status":"publish","type":"post","link":"https:\/\/www.idubbs.com\/blog\/2008\/web-parts-close-vs-delete\/","title":{"rendered":"Web Parts &#8211; Close vs. Delete"},"content":{"rendered":"<p>Another quick reminder post about a topic easily forgotten:\u00a0 Closing web parts as opposed to deleting them.\u00a0 Deleting does just that and removes them from the page.\u00a0 Closing may seem like the web part is removed, but its still loaded as part of the page.\u00a0 Users unaccustomed to this may inadvertently add web parts to a page that they don&#8217;t think are there, but are still being loaded &#8211; and possibly contributing to poor performance of the page.\u00a0<\/p>\n<p>Even when not in edit mode, web parts can be closed, though not deleted as shown here:<\/p>\n<p><a href=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/closepart.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-147\" title=\"closepart\" src=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/closepart.png\" alt=\"\" width=\"230\" height=\"126\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Once the page is in edit mode, a few more options are available, including delete.<\/p>\n<p><a href=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/deletepart.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-148\" title=\"deletepart\" src=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/deletepart.png\" alt=\"\" width=\"236\" height=\"277\" \/><\/a><\/p>\n<p>There are a few ways to check the current list of closed web parts.\u00a0 If you&#8217;re working with a publishing page, you can use the page menu and open the browse web part interface.\u00a0<\/p>\n<p><a href=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/publishingbrowsewebparts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-149\" title=\"publishingbrowsewebparts\" src=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/publishingbrowsewebparts.png\" alt=\"\" width=\"297\" height=\"285\" \/><\/a><\/p>\n<p>The web part interface then shows a Closed web part in the gallery listing.<\/p>\n<p><a href=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/closedparts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-150\" title=\"closedparts\" src=\"http:\/\/209.95.55.158\/~idubbsco\/blog\/wp-content\/uploads\/2008\/11\/closedparts.png\" alt=\"\" width=\"298\" height=\"263\" \/><\/a><\/p>\n<p>More than a few times I&#8217;ve helped\u00a0someone troubleshoot poor performance on a page or site and open this page to find a bunch of closed web parts.\u00a0 Once they were cleaned up and deleted, the page then performed much better.\u00a0<\/p>\n<p>Another\u00a0method to identify your closed web parts was highlighted by\u00a0Joel\u00a0not too long\u00a0ago\u00a0with a <a href=\"http:\/\/www.sharepointjoel.com\/Lists\/Posts\/Post.aspx?ID=63\" target=\"_blank\">post<\/a> about the\u00a0SharePoint Web Part Maintenance Page, which will also list\u00a0closed web parts.\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>There are a number of ways to manage the web parts on your pages, just remember to be aware of closed web parts as one of those items to check when needed.\u00a0\u00a0\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another quick reminder post about a topic easily forgotten:\u00a0 Closing web parts as opposed to deleting them.\u00a0 Deleting does just that and removes them from the page.\u00a0 Closing may seem [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_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,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11,31],"tags":[],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-sharepoint","category-troubleshooting"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgWQ1-f","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":0,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}