{"id":33691,"date":"2019-09-10T15:53:02","date_gmt":"2019-09-10T14:53:02","guid":{"rendered":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/?page_id=33691"},"modified":"2019-09-11T09:23:00","modified_gmt":"2019-09-11T08:23:00","slug":"how-to-prevent-the-browser-from-caching-the-data-files-of-an-instantatlas-dynamic-report","status":"publish","type":"page","link":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/en\/welcome\/support-articles\/how-to-prevent-the-browser-from-caching-the-data-files-of-an-instantatlas-dynamic-report\/","title":{"rendered":"How to prevent the browser from caching the data files of an InstantAtlas dynamic report"},"content":{"rendered":"<p>When updating the data of an existing dynamic report that has been saved on a webserver, users who opened the report in the past might not see the updated data, as their Internet browser might be caching the old data file(s). The purpose of this support article is to make you aware of this issue and help you and your IT team to find ways around it.<\/p>\n<h2>Preventing caching using theme data files<\/h2>\n<p>If you are exporting your data in multiple theme files (see <a href=\"https:\/\/help.instantatlas.com\/instantatlas-desktop\/en\/welcome\/desktop-user-guide\/the-instantatlas-excel-data-manager\/exporting-data-files\/\">this page<\/a> of our InstantAtlas Desktop User Guilde for detailed information about theme data files), the Excel data manager automatically adds a parameter to the end of each theme file URL that changes each time to get around caching:<\/p>\n<pre>\"themes\": [{\r\n    \"themeId\": \"t0\",\r\n    \"themeName\": \"Theme 1\",\r\n    \"fileName\": \".\/Louisiana_Parishes-t0.js?<span style=\"background-color: #ffff00;\">r=41B5FD49-E22A-45CB-8864-258052159341<\/span>\",<\/pre>\n<p>While this prevents the theme data files from being cached, it has no effect if\u00a0 the data.js file itself is being cached.<\/p>\n<h2>Preventing caching by configuring the webserver<\/h2>\n<p>It may be possible to configure the webserver to explicitly prevent the caching of data.js. Please ask your server administrator to look into this for you.<\/p>\n<h2>Preventing caching by renaming the data.js file or report folder<\/h2>\n<p>When you update the data, you can rename the data.js file and then add a parameter to the dynamic report URL to make it pick up the new data file. The support article <a href=\"https:\/\/help.instantatlas.com\/instantatlas-desktop\/en\/welcome\/support-articles\/including-parameters-in-an-instantatlas-report-url\/#Open_the_Report_with_a_Particular_Data_File_Loaded\">Including Parameters in an InstantAtlas Report URL<\/a> explains how this is done.<\/p>\n<p>Alternatively, you can rename the folder on your webserver where the dynamic report is saved in.<\/p>\n<p>Both methods will force the files to be loaded from the server rather than from the cache location. However, please be aware that you will have to update any links to the dynamic report to include the new data parameter\/folder name.<\/p>\n<p>If your data is changing on a frequent basis this process could probably be automated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When updating the data of an existing dynamic report that has been saved on a webserver, users who opened the report in the past might not see the updated data, as their Internet browser might be caching the old data file(s). The purpose of this support article is to make you aware of this issue &hellip; <a href=\"https:\/\/help.instantatlas.com\/instantatlas-desktop\/en\/welcome\/support-articles\/how-to-prevent-the-browser-from-caching-the-data-files-of-an-instantatlas-dynamic-report\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to prevent the browser from caching the data files of an InstantAtlas dynamic report<\/span><\/a><\/p>\n","protected":false},"author":22,"featured_media":0,"parent":27601,"menu_order":55,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-33691","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/pages\/33691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/comments?post=33691"}],"version-history":[{"count":0,"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/pages\/33691\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/pages\/27601"}],"wp:attachment":[{"href":"https:\/\/help.instantatlas.com\/instantatlas-desktop\/wp-json\/wp\/v2\/media?parent=33691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}