{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/api/getting-started/caching/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#caching\" aria-label=\"caching permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"caching\"></div>Caching</h1>\n<p>Caching is a valid strategy that can help improve the speed of your service. However, it works better for some endpoints than others.</p>\n<h2 style=\"position:relative;\"><a href=\"#activity-dates-and-prices\" aria-label=\"activity dates and prices permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"activity-dates-and-prices\"></div>Activity dates and prices</h2>\n<p>The available dates and prices for an activity can change often, especially during high season. To provide customers with the most up-to-date availability, <em>avoid caching</em> results from the following endpoints:</p>\n<ul>\n<li>\n<code class=\"language-text\">/activities/{activityUuid}/dates</code>\n</li>\n<li>\n<code class=\"language-text\">/activities/{activityUuid}/dates/{date}</code>\n</li>\n</ul>\n<h2 style=\"position:relative;\"><a href=\"#catalog-endpoints\" aria-label=\"catalog endpoints permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"catalog-endpoints\"></div>Catalog endpoints</h2>\n<p>Details for other parts of the catalog change less often. These include (but are not limited to) categories, cities and venues. The following examples are endpoints that are acceptable to cache for up to seven days:</p>\n<ul>\n<li>\n<code class=\"language-text\">/activities</code>\n</li>\n<li>\n<code class=\"language-text\">/activities/{activityUuid}</code>\n</li>\n<li>\n<code class=\"language-text\">/categories</code>\n</li>\n<li>\n<code class=\"language-text\">/categories/{categoryId}</code>\n</li>\n<li>\n<code class=\"language-text\">/categories-tree</code>\n</li>\n<li>\n<code class=\"language-text\">/cities</code>\n</li>\n<li>\n<code class=\"language-text\">/cities/{cityId}</code>\n</li>\n<li>\n<code class=\"language-text\">/countries</code>\n</li>\n<li>\n<code class=\"language-text\">/countries/{countryId}</code>\n</li>\n<li>\n<code class=\"language-text\">/venues</code>\n</li>\n<li>\n<code class=\"language-text\">/venues/{venueId}</code>\n</li>\n</ul>","headings":[{"value":"Caching","depth":1},{"value":"Activity dates and prices","depth":2},{"value":"Catalog endpoints","depth":2}]},"contentItem":{"data":{"lastModified":"2025-12-18T16:31:42.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"4856d7eb-6cae-587f-8b1e-fe0013fae6ef__redocly content/api/getting-started/caching/","seo":{"title":"Caching","description":"Caching can help improve the speed of a partner's API integration with Musement, but it works better for some endpoints than others.","image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"api/getting-started/caching.md","pageBaseUrl":"/api/getting-started/caching","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Caching","id":"caching"},{"depth":2,"value":"Activity dates and prices","id":"activity-dates-and-prices"},{"depth":2,"value":"Catalog endpoints","id":"catalog-endpoints"}]},"data":{"title":"","redirectFrom":["/guide/overview/caching/","/api/partner/general-topics/caching/"],"seo":{"description":"Caching can help improve the speed of a partner's API integration with Musement, but it works better for some endpoints than others."}},"catalogInfo":null,"link":"/api/getting-started/caching/","sidebarName":"__alternative-sidebar__-data-24763-api-sidebars.yaml","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}