Subscribe:

Pages

Monday, October 8, 2012

Sitecore Performance degrade with Coveo Search Connector

In My recent project We have used Coveo’s Sitecore connector as search engine for our site. As a part of basic performance tuning I have enabled content expiration headers for the site. When I had inspected the site using firebug to cross check whether content expiration headers were set properly or not, I have found that Coveo is rendering 2 Javascript and 1CSS files which doesn’t have content expiration headers and are taking long time to load. I thought I have to enable content expiration headers on Coveo site as well and did that but there was no luck.
I have tried enabling output cache on Anonymous.aspx but it didn’t work.
After inspecting web.config found a setting

<setting name="DisableBrowserCaching" value="true" />

So as Sitecore by default disabling browser cache and none of the above was working. Workaround for this problem is to tell Sitecore not to process request to Anonymous.aspx, we can do this by adding “/Coveo/Anonymous/” to “IgnoreUrlPrefixes” setting in Sitecore web.config. Also if you are using DMS this will prevent unnecessary tracking of "/Coveo/Anonymous/" pages.

1 comment :