Sitecore Performance Optimization
1 IIS:-
- Ensure that Maximum Worker Processes for the Application Pool is set to 1 (under advanced settings)
- Ensure that Load User Profile settings of the Application Pool is set to "true" (under advanced settings)
- Ensure anonymous access is denied for folders /App_Config, /sitecore/admin, /sitecore/debug, /sitecore/shell/webservice.
- Enable HTTP keep alive
- Enable static content compression
- On the CMS server, enable dynamic content compression
- Disable execute permissions on the upload folder
- Enable content expiration using HTTP response headers, especially for the /sitecore folder (optional). Sitecore recommends that the Expire Web content be enabled, Set to "After" 30 days.
2 Sitecore Configurations:-
- Check if the History, PublishQueue, and EventQueue Cleanup Tasks are configured. Schedulingfrequency = 00:05:00 (5 minutes), Sitecore.Tasks.CleanupHistory interval = 04:00:00 (4 hours) Sitecore.Tasks.CleanupPublishQueue interval = 04:00:00 (4 hours) Sitecore.Tasks.CleanupEventQueue interval = 04:00:00 (4 hours)
- Include the path to static media files (header images, CSS files, JavaScript files) in the IgnoreURLPrefixes settings in sitecore config to prevent Sitecore from intercepting the requests.
- Disable counters. Counters.Enabled setting should be false in sitecore config.
- Enabled should be false in sitecore config.
- Restrict access to .XML, .XSLT and .MRT files using the <system.webServer><handlers> section.
- Disable the UploadWatcher.
- Disable client RSS feeds by removing the Sitecore.Shell.Feeds.FeedRequestHandler.
- EnableBucketDebug should be false in sitecore.config.
3 Database:-
- Make sure that the Compatibility level is set for the version of SQL Server that you have installed. Values can be 110,100,90
- Auto Close Property Set To False
- Auto Shrink Property Set To False
- Recovery Model Set to Simple
- Defragment indexes
- Clean up History, EventQueue and PublishQueue tables.
4 Sitecore Content Tree:-
- Check Long Running Validation Rules. Set log level to info and then use Sitecore log analyzer to see the long running
- Number of versions for the item should be less than 10.
- Number of items under a folder should be less than 100.
No comments:
Post a Comment