Is it possible to remove prefetch cache settings from sitecore version 8.X?












1















I want to disable the prefetch cache settings. Is there any way to disable them? I tried deleting the files from prefetch folder but site throws exception.










share|improve this question





























    1















    I want to disable the prefetch cache settings. Is there any way to disable them? I tried deleting the files from prefetch folder but site throws exception.










    share|improve this question



























      1












      1








      1








      I want to disable the prefetch cache settings. Is there any way to disable them? I tried deleting the files from prefetch folder but site throws exception.










      share|improve this question
















      I want to disable the prefetch cache settings. Is there any way to disable them? I tried deleting the files from prefetch folder but site throws exception.







      configuration






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 31 at 15:31









      Dan Sinclair

      1,812525




      1,812525










      asked Jan 31 at 10:16









      JTCJTC

      483




      483






















          1 Answer
          1






          active

          oldest

          votes


















          3














          I believe you should be able to use Sitecore's config patches to remove the caches. For example:



          <sitecore>
          <databases>
          <database id="core">
          <dataProviders hint="list:AddDataProvider">
          <dataProvider ref="dataProviders/main" param1="$(id)">
          <prefetch hint="raw:AddPrefetch">
          <patch:delete />
          </prefetch>
          </dataProvider>
          </dataProviders>
          </database>
          </databases>
          </sitecore>





          share|improve this answer



















          • 1





            Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

            – Koen Heye
            Jan 31 at 10:29











          • @Trayek , Thanks for the detail and . I will try this patch .

            – JTC
            Jan 31 at 12:42











          • @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

            – JTC
            Jan 31 at 12:42






          • 3





            @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

            – Koen Heye
            Jan 31 at 12:53











          • @JTC If this solved the issue, please mark it as the answer :-)

            – Trayek
            Feb 6 at 13:59











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "664"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f16369%2fis-it-possible-to-remove-prefetch-cache-settings-from-sitecore-version-8-x%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          I believe you should be able to use Sitecore's config patches to remove the caches. For example:



          <sitecore>
          <databases>
          <database id="core">
          <dataProviders hint="list:AddDataProvider">
          <dataProvider ref="dataProviders/main" param1="$(id)">
          <prefetch hint="raw:AddPrefetch">
          <patch:delete />
          </prefetch>
          </dataProvider>
          </dataProviders>
          </database>
          </databases>
          </sitecore>





          share|improve this answer



















          • 1





            Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

            – Koen Heye
            Jan 31 at 10:29











          • @Trayek , Thanks for the detail and . I will try this patch .

            – JTC
            Jan 31 at 12:42











          • @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

            – JTC
            Jan 31 at 12:42






          • 3





            @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

            – Koen Heye
            Jan 31 at 12:53











          • @JTC If this solved the issue, please mark it as the answer :-)

            – Trayek
            Feb 6 at 13:59
















          3














          I believe you should be able to use Sitecore's config patches to remove the caches. For example:



          <sitecore>
          <databases>
          <database id="core">
          <dataProviders hint="list:AddDataProvider">
          <dataProvider ref="dataProviders/main" param1="$(id)">
          <prefetch hint="raw:AddPrefetch">
          <patch:delete />
          </prefetch>
          </dataProvider>
          </dataProviders>
          </database>
          </databases>
          </sitecore>





          share|improve this answer



















          • 1





            Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

            – Koen Heye
            Jan 31 at 10:29











          • @Trayek , Thanks for the detail and . I will try this patch .

            – JTC
            Jan 31 at 12:42











          • @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

            – JTC
            Jan 31 at 12:42






          • 3





            @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

            – Koen Heye
            Jan 31 at 12:53











          • @JTC If this solved the issue, please mark it as the answer :-)

            – Trayek
            Feb 6 at 13:59














          3












          3








          3







          I believe you should be able to use Sitecore's config patches to remove the caches. For example:



          <sitecore>
          <databases>
          <database id="core">
          <dataProviders hint="list:AddDataProvider">
          <dataProvider ref="dataProviders/main" param1="$(id)">
          <prefetch hint="raw:AddPrefetch">
          <patch:delete />
          </prefetch>
          </dataProvider>
          </dataProviders>
          </database>
          </databases>
          </sitecore>





          share|improve this answer













          I believe you should be able to use Sitecore's config patches to remove the caches. For example:



          <sitecore>
          <databases>
          <database id="core">
          <dataProviders hint="list:AddDataProvider">
          <dataProvider ref="dataProviders/main" param1="$(id)">
          <prefetch hint="raw:AddPrefetch">
          <patch:delete />
          </prefetch>
          </dataProvider>
          </dataProviders>
          </database>
          </databases>
          </sitecore>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 31 at 10:25









          TrayekTrayek

          667215




          667215








          • 1





            Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

            – Koen Heye
            Jan 31 at 10:29











          • @Trayek , Thanks for the detail and . I will try this patch .

            – JTC
            Jan 31 at 12:42











          • @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

            – JTC
            Jan 31 at 12:42






          • 3





            @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

            – Koen Heye
            Jan 31 at 12:53











          • @JTC If this solved the issue, please mark it as the answer :-)

            – Trayek
            Feb 6 at 13:59














          • 1





            Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

            – Koen Heye
            Jan 31 at 10:29











          • @Trayek , Thanks for the detail and . I will try this patch .

            – JTC
            Jan 31 at 12:42











          • @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

            – JTC
            Jan 31 at 12:42






          • 3





            @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

            – Koen Heye
            Jan 31 at 12:53











          • @JTC If this solved the issue, please mark it as the answer :-)

            – Trayek
            Feb 6 at 13:59








          1




          1





          Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

          – Koen Heye
          Jan 31 at 10:29





          Reason for the error is that the Sitecore.config file defines a path for those prefetch configs that you deleted. You have to apply a patch for all 3 databases: core, master and web.

          – Koen Heye
          Jan 31 at 10:29













          @Trayek , Thanks for the detail and . I will try this patch .

          – JTC
          Jan 31 at 12:42





          @Trayek , Thanks for the detail and . I will try this patch .

          – JTC
          Jan 31 at 12:42













          @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

          – JTC
          Jan 31 at 12:42





          @KoenHeye - I just see that now the file paths are there is in the sitecore.config . Thanks !!

          – JTC
          Jan 31 at 12:42




          3




          3





          @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

          – Koen Heye
          Jan 31 at 12:53





          @JTC - I want to stress that you should use a patch file to override the sitecore.config as Trayek described!

          – Koen Heye
          Jan 31 at 12:53













          @JTC If this solved the issue, please mark it as the answer :-)

          – Trayek
          Feb 6 at 13:59





          @JTC If this solved the issue, please mark it as the answer :-)

          – Trayek
          Feb 6 at 13:59


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Sitecore Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsitecore.stackexchange.com%2fquestions%2f16369%2fis-it-possible-to-remove-prefetch-cache-settings-from-sitecore-version-8-x%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to make a Squid Proxy server?

          Is this a new Fibonacci Identity?

          19世紀