{"id":695202,"date":"2024-08-30T17:28:15","date_gmt":"2024-08-31T00:28:15","guid":{"rendered":"https:\/\/www.esri.com\/about\/newsroom\/?post_type=arcuser&#038;p=695202"},"modified":"2024-08-30T18:42:54","modified_gmt":"2024-08-31T01:42:54","slug":"top-five-tips-to-improve-feature-layer-performance","status":"publish","type":"arcuser","link":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance","title":{"rendered":"Top Five Tips to Improve Feature Layer Performance"},"author":1031,"featured_media":0,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":false,"sync_status":"","episode_type":"","audio_file":"","castos_file_data":"","podmotor_file_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","_links_to":"","_links_to_target":""},"categories":[10412,25022],"tags":[178472],"arcuser_issues":[490002],"class_list":["post-695202","arcuser","type-arcuser","status-publish","format-standard","hentry","category-arcgis-pro","category-hands-on","tag-best-practices","arcuser_issues-au-summer-2024"],"acf":{"short_description":"These tips will optimized the performance of the layers in your map.","pdf":{"host_remotely":false,"file":695212,"file_url":""},"flexible_content":[{"acf_fc_layout":"blockquote","content":"Have you ever opened someone\u2019s web layer and watched as it struggled to draw or needed a few seconds to generate that pop-up? In contrast, layers like American Community Survey data from the US Census Bureau or hurricane forecast data appears as fast as lightning.\r\n\r\nWhile it can take some real skill to quickly display large, complex datasets, improving performance for simpler layers can be boiled down to five tips described in this article. They take only a few minutes to implement and will greatly improve the performance of your web layers."},{"acf_fc_layout":"content","content":"<h3>1. Strip It Down<\/h3>\r\n<div>Do you need all those fields? Does the data really need six decimal places? Make the data neat and compact. When possible, use integer instead of floating point for number formats. Round floating points to some reasonable precision. Reduce the maximum number of characters in a string length. If you imported data from Microsoft Excel, the fields default to 32,767 characters. This will choke your service. Also, remember that some fields can also be calculated on the fly with ArcGIS Arcade if the data is only needed for pop-ups or symbology. This technique makes the table smaller and easier to load.<\/div>\r\n<div><\/div>\r\n<h3>2. Add Attribute Indexes<\/h3>\r\n<div>Every time a pop-up is generated, the client queries the server. The same thing happens when symbology is drawn or changed, or a dashboard graphs data. Adding attribute indexes to any field a user might query, filter, or use in a pop-up or for symbology will greatly diminish performance. In layer settings, go to manage indexes and configure field indexes. You can also use the Add Attribute Index tool in ArcGIS Pro.<\/div>\r\n<div><\/div>\r\n<h3>3. Run Optimize Layer Drawing<\/h3>\r\n<div>You have a layer in ArcGIS Online that was either published from ArcGIS Pro or uploaded from a geodatabase. (Note: Do not publish from ArcMap.) Now what? After fully configuring its content item, head to the Settings tab. In the Feature Layer section, click the Optimize Layer Drawing option and let that run for a few minutes.<\/div>\r\n<div><\/div>\r\n<h3>4. Check Cache Control<\/h3>\r\n<div>After Optimize runs, scroll down to Cache Control at the end of the Settings page for the item. [Publicly shared data is cached by the Content Delivery Network (CDN) to decrease latency in content delivery.] You\u2019ll see the cache is set by default to 30 seconds. If your data is updating quickly, keep that setting. Typically, data updates aren\u2019t run every few minutes. For most layers, crank that interval up to one hour. That means that any view, zoom level, or query that someone makes will be held in memory for one hour.<\/div>\r\n<div><\/div>\r\n<h3>5. Be Careful with Custom Symbols<\/h3>\r\n<div>ArcGIS Online has some great symbol options, but sometimes you need to personalize the layer a bit more. If you go down this road, tread carefully. Here\u2019s a few best practices when using custom symbols:<\/div>\r\n<ul>\r\n \t<li>Don\u2019t use lots of different custom symbols that will require many queries to draw the layer.<\/li>\r\n \t<li>ArcGIS Online accepts SVG formats, which is your best choice. Otherwise, use raster images that are no larger than 120 \u00d7 120 pixels.<\/li>\r\n \t<li>Export raster images as 8-bit PNGs with transparency. Even better, if symbols have only two colors, export as 4-bit PNGs. Adobe Photoshop has an 8-bit export format available. Choose File &gt; Export &gt; Save for Web (Legacy). It works well if you\u2019re not familiar with programs such as ImageMagik.<\/li>\r\n \t<li>Apply the image on the Visualization tab of your layer or view of the item instead of the service itself. This trick prevents the image from being converted to a text-encoded image in the service.<\/li>\r\n \t<li>Make sure your image is simple and legible at different scales.<\/li>\r\n<\/ul>\r\n<div>Read \u201cShopping for the Map\u2019s Meaning\u201d (<a href=\"http:\/\/links.esri.com\/shoppingmap\">links.esri.com\/shoppingmap<\/a>) for more tips on styling point symbols.<\/div>\r\n<div>Go forth and update your layers with these tips to make everyone\u2019s maps and apps work better.<\/div>\r\n<div><\/div>\r\n<div><\/div>"}],"references":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Optimize layer performance<\/title>\n<meta name=\"description\" content=\"Adopt these five tips to improve the performance of your web layers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top Five Tips to Improve Feature Layer Performance\" \/>\n<meta property=\"og:description\" content=\"Adopt these five tips to improve the performance of your web layers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance\" \/>\n<meta property=\"og:site_name\" content=\"Esri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-31T01:42:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2024\/08\/layerperform_banner.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Esri\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\/\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance\",\n\t            \"name\": \"Optimize layer performance\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\"\n\t            },\n\t            \"datePublished\": \"2024-08-31T00:28:15+00:00\",\n\t            \"dateModified\": \"2024-08-31T01:42:54+00:00\",\n\t            \"description\": \"Adopt these five tips to improve the performance of your web layers.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance#breadcrumb\"\n\t            },\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance#breadcrumb\",\n\t            \"itemListElement\": [\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 1,\n\t                    \"name\": \"Home\",\n\t                    \"item\": \"https:\/\/www.esri.com\/about\/newsroom\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 2,\n\t                    \"name\": \"Top Five Tips to Improve Feature Layer Performance\"\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/\",\n\t            \"name\": \"Esri\",\n\t            \"description\": \"Esri Newsroom\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\/\/www.esri.com\/about\/newsroom\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/82e5143bcdebadf8fd64d84e503ca468\",\n\t            \"name\": \"Monica Pratt\",\n\t            \"image\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/\",\n\t                \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg\",\n\t                \"contentUrl\": \"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg\",\n\t                \"caption\": \"Monica Pratt\"\n\t            },\n\t            \"description\": \"Monica Pratt is the founding and current editor of ArcUser magazine, the executive editor of ArcNews magazine, the editor of Esri Globe and head of the Publications team at Esri. She has been writing on technology topics, specializing in GIS, for more than 30 years. Before joining Esri in 1997, she worked for newspapers and in the financial industry.\",\n\t            \"sameAs\": [\n\t                \"https:\/\/x.com\/ArcUser\"\n\t            ],\n\t            \"url\": \"\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Optimize layer performance","description":"Adopt these five tips to improve the performance of your web layers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance","og_locale":"en_US","og_type":"article","og_title":"Top Five Tips to Improve Feature Layer Performance","og_description":"Adopt these five tips to improve the performance of your web layers.","og_url":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance","og_site_name":"Esri","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-08-31T01:42:54+00:00","og_image":[{"url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2024\/08\/layerperform_banner.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@Esri","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance","url":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance","name":"Optimize layer performance","isPartOf":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/#website"},"datePublished":"2024-08-31T00:28:15+00:00","dateModified":"2024-08-31T01:42:54+00:00","description":"Adopt these five tips to improve the performance of your web layers.","breadcrumb":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/top-five-tips-to-improve-feature-layer-performance#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/about\/newsroom"},{"@type":"ListItem","position":2,"name":"Top Five Tips to Improve Feature Layer Performance"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/about\/newsroom\/#website","url":"https:\/\/www.esri.com\/about\/newsroom\/","name":"Esri","description":"Esri Newsroom","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/about\/newsroom\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/82e5143bcdebadf8fd64d84e503ca468","name":"Monica Pratt","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg","contentUrl":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/08\/MonicaMug_agol2.jpg","caption":"Monica Pratt"},"description":"Monica Pratt is the founding and current editor of ArcUser magazine, the executive editor of ArcNews magazine, the editor of Esri Globe and head of the Publications team at Esri. She has been writing on technology topics, specializing in GIS, for more than 30 years. Before joining Esri in 1997, she worked for newspapers and in the financial industry.","sameAs":["https:\/\/x.com\/ArcUser"],"url":""}]}},"sort_order":"15","_links":{"self":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser\/695202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser"}],"about":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/types\/arcuser"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/users\/1031"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser\/695202\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/media?parent=695202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/categories?post=695202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/tags?post=695202"},{"taxonomy":"arcuser_issues","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser_issues?post=695202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}