{"id":14716,"date":"2026-02-19T22:24:23","date_gmt":"2026-02-19T16:54:23","guid":{"rendered":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/"},"modified":"2026-03-02T13:33:06","modified_gmt":"2026-03-02T08:03:06","slug":"smart-seo-mode-cache","status":"publish","type":"docs","link":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/","title":{"rendered":"Smart SEO Mode &#038; Cache"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Smart SEO Mode<\/h2>\n\n\n\n<p>Smart SEO Mode uses a logarithmic formula based on actual sales data to make your sitemap tell search engines which products matter most \u2014 instead of assigning the same priority to everything.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How the Priority Formula Works<\/h3>\n\n\n\n<p>The formula calculates an importance score between <strong>0.7 and 1.0<\/strong> for each product:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Sales Volume<\/th><th>Score<\/th><\/tr><\/thead><tbody><tr><td>Zero sales (new product)<\/td><td><strong>0.7<\/strong> \u2014 never penalised for being new<\/td><\/tr><tr><td>~1% of store&#8217;s max sales<\/td><td>~0.8<\/td><\/tr><tr><td>~10% of store&#8217;s max sales<\/td><td>~0.9<\/td><\/tr><tr><td>Top seller (100% of max)<\/td><td><strong>1.0<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The formula uses a <strong>logarithmic scale<\/strong>, so the difference between 1 and 10 sales matters more than the difference between 100 and 110. This ensures both new products and mid-tier products get fair representation.<\/p>\n\n\n\n<p>This same score is used as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <code>&lt;priority><\/code> value in your XML sitemap<\/li>\n\n\n\n<li>The <code>importance_score<\/code> field in the AI JSON feed<\/li>\n<\/ul>\n\n\n\n<p>Both outputs always agree on product importance.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">When to Enable Smart SEO Mode<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable once you have at least a few months of sales data<\/li>\n\n\n\n<li>Especially valuable for stores with 50+ products where crawl budget matters<\/li>\n\n\n\n<li>Works best combined with the File Cache (cache stores the priority scores, avoiding recalculation on every request)<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\ud83d\udca1 <strong>Recommendation:<\/strong> Enable Smart SEO Mode for any store with more than 50 products. It ensures your best-performing products are crawled first, improving how quickly new bestsellers get indexed.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Static File Cache<\/h2>\n\n\n\n<p>Without a cache, every sitemap request regenerates the XML by querying the database. For stores with thousands of products, this is slow and resource-intensive. The file cache writes generated XML\/JSON to disk and serves subsequent requests directly from disk \u2014 <strong>zero database queries<\/strong> on cache hits.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sitemap Cache Settings<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Setting<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><strong>Enable Static File Cache<\/strong><\/td><td>Off<\/td><td>When enabled, sitemap XML files are stored in <code>system\/storage\/cache\/hbseo_sitemap\/<\/code>. Highly recommended for production.<\/td><\/tr><tr><td><strong>Cache Lifetime (seconds)<\/strong><\/td><td>3600<\/td><td>How long a cached file is considered fresh. 3600 = 1 hour. Increase to 86400 (24 hours) for stores with infrequent updates. Minimum: 60.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">AI Feed Cache Settings<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Setting<\/th><th>Default<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><strong>Enable AI Feed File Cache<\/strong><\/td><td>Off<\/td><td>When enabled, AI JSON feed files are stored in <code>system\/storage\/cache\/hbseo_ai_feed\/<\/code>. Recommended when AI feed is enabled.<\/td><\/tr><tr><td><strong>AI Feed Cache Lifetime (seconds)<\/strong><\/td><td>3600<\/td><td>How long a cached AI feed JSON file is considered fresh. Minimum: 60.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Cache Invalidation<\/h3>\n\n\n\n<p>The cache is automatically purged whenever you save settings. You can also manually purge at any time using:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>[Purge Sitemap Cache]<\/strong> \u2014 removes all cached sitemap XML files<\/li>\n\n\n\n<li><strong>[Purge AI Feed Cache]<\/strong> \u2014 removes all cached AI feed JSON files<\/li>\n<\/ul>\n\n\n\n<p>Both buttons display the number of files deleted.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP Caching Headers<\/h3>\n\n\n\n<p>The cache system sends proper <code>ETag<\/code>, <code>Last-Modified<\/code>, and <code>Cache-Control<\/code> headers and supports <code>304 Not Modified<\/code> responses. Well-behaved crawlers that send <code>If-None-Match<\/code> or <code>If-Modified-Since<\/code> headers receive a 304 response with no body \u2014 saving bandwidth on both sides.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Invalid Date Detection<\/h2>\n\n\n\n<p>Some OpenCart stores have product or category records with corrupt last-modified dates (e.g., <code>0000-00-00 00:00:00<\/code>). These cause problems in XML sitemaps and can trigger Google Search Console warnings.<\/p>\n\n\n\n<p>The extension detects these on the settings page and shows a warning. Use the <strong>Fix Incorrect Dates<\/strong> button in the <strong>Tools tab<\/strong> to automatically correct them.<\/p>\n","protected":false},"featured_media":0,"parent":245,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-14716","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Smart SEO Mode &amp; Cache - HuntBee Resources<\/title>\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.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Smart SEO Mode &amp; Cache - HuntBee Resources\" \/>\n<meta property=\"og:description\" content=\"Smart SEO Mode Smart SEO Mode uses a logarithmic formula based on actual sales data to make your sitemap tell search engines which products matter most \u2014 instead of assigning the same priority to everything. How the Priority Formula Works The formula calculates an importance score between 0.7 and 1.0 for each product: Sales Volume [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/\" \/>\n<meta property=\"og:site_name\" content=\"HuntBee Resources\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/huntbee.opencart\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-02T08:03:06+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/seo-xml-sitemap-generator-pro\\\/smart-seo-mode-cache\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/seo-xml-sitemap-generator-pro\\\/smart-seo-mode-cache\\\/\",\"name\":\"Smart SEO Mode & Cache - HuntBee Resources\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\"},\"datePublished\":\"2026-02-19T16:54:23+00:00\",\"dateModified\":\"2026-03-02T08:03:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/seo-xml-sitemap-generator-pro\\\/smart-seo-mode-cache\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/seo-xml-sitemap-generator-pro\\\/smart-seo-mode-cache\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/seo-xml-sitemap-generator-pro\\\/smart-seo-mode-cache\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XML Sitemap Generator + AI Feed JSON + IndexNow PRO\",\"item\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/docs\\\/seo-xml-sitemap-generator-pro\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Smart SEO Mode &#038; Cache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"name\":\"HuntBee Resources\",\"description\":\"OpenCart Extension Documentations - Guides - Blogs - Projects\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#organization\",\"name\":\"HuntBee OpenCart\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"contentUrl\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cropped-mobile-logo-new.png\",\"width\":945,\"height\":200,\"caption\":\"HuntBee OpenCart\"},\"image\":{\"@id\":\"https:\\\/\\\/www.huntbee.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/huntbee.opencart\",\"https:\\\/\\\/www.instagram.com\\\/opencart.huntbee\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Smart SEO Mode & Cache - HuntBee Resources","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.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/","og_locale":"en_US","og_type":"article","og_title":"Smart SEO Mode & Cache - HuntBee Resources","og_description":"Smart SEO Mode Smart SEO Mode uses a logarithmic formula based on actual sales data to make your sitemap tell search engines which products matter most \u2014 instead of assigning the same priority to everything. How the Priority Formula Works The formula calculates an importance score between 0.7 and 1.0 for each product: Sales Volume [&hellip;]","og_url":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/","og_site_name":"HuntBee Resources","article_publisher":"https:\/\/www.facebook.com\/huntbee.opencart","article_modified_time":"2026-03-02T08:03:06+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/","url":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/","name":"Smart SEO Mode & Cache - HuntBee Resources","isPartOf":{"@id":"https:\/\/www.huntbee.com\/resources\/#website"},"datePublished":"2026-02-19T16:54:23+00:00","dateModified":"2026-03-02T08:03:06+00:00","breadcrumb":{"@id":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/smart-seo-mode-cache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.huntbee.com\/resources\/"},{"@type":"ListItem","position":2,"name":"XML Sitemap Generator + AI Feed JSON + IndexNow PRO","item":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/"},{"@type":"ListItem","position":3,"name":"Smart SEO Mode &#038; Cache"}]},{"@type":"WebSite","@id":"https:\/\/www.huntbee.com\/resources\/#website","url":"https:\/\/www.huntbee.com\/resources\/","name":"HuntBee Resources","description":"OpenCart Extension Documentations - Guides - Blogs - Projects","publisher":{"@id":"https:\/\/www.huntbee.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.huntbee.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.huntbee.com\/resources\/#organization","name":"HuntBee OpenCart","url":"https:\/\/www.huntbee.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","contentUrl":"https:\/\/www.huntbee.com\/resources\/wp-content\/uploads\/2020\/04\/cropped-mobile-logo-new.png","width":945,"height":200,"caption":"HuntBee OpenCart"},"image":{"@id":"https:\/\/www.huntbee.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/huntbee.opencart","https:\/\/www.instagram.com\/opencart.huntbee\/"]}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/comments?post=14716"}],"version-history":[{"count":2,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14716\/revisions"}],"predecessor-version":[{"id":14718,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14716\/revisions\/14718"}],"up":[{"embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/245"}],"next":[{"title":"AI JSON Feed","link":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/ai-json-feed\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14719"}],"prev":[{"title":"Sitemap Settings","link":"https:\/\/www.huntbee.com\/resources\/docs\/seo-xml-sitemap-generator-pro\/sitemap-settings\/","href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/docs\/14712"}],"wp:attachment":[{"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/media?parent=14716"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.huntbee.com\/resources\/wp-json\/wp\/v2\/doc_tag?post=14716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}