Is it possible to remove prefetch cache settings from sitecore version 8.X?
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
add a comment |
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
add a comment |
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
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
configuration
edited Jan 31 at 15:31
Dan Sinclair
1,812525
1,812525
asked Jan 31 at 10:16
JTCJTC
483
483
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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>
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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>
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
add a comment |
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>
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
add a comment |
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>
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>
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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