1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / 4.0 Optimization

4.0 Optimization

4 posts, 0 answered
  1. Chris Joyce
    Chris Joyce avatar
    7 posts
    Registered:
    19 Sep 2008
    23 Feb 2011
    Link to this post
    Hello, I've been searching the forums for optimization tips and see a lot of links to caching in 3.x.  But nothing references 4.0 and the web.config entries referenced do not seem applicable to 4.0.  Can someone point me to a resource for optimizing performance?  I have debug set to false and noticed that in advanced page settings, you can enable caching.  So I wanted to do this for all pages of our site since our content is mostly static.

    I performed this query on the DB: UPDATE sf_page_data SET cache_output = 1

    Is this the correct way to do this without having the check ever single page in the CMS admin?  Do I need to set cache_profile to 'Default'?  I wasn't sure what this column did but I have several null entries.

    Thanks.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    23 Feb 2011
    Link to this post
    Hello Chris,

    I suggest that you should use the pages API to set caching for all pages.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
  3. Chris Joyce
    Chris Joyce avatar
    7 posts
    Registered:
    19 Sep 2008
    23 Feb 2011
    Link to this post
    Thanks Ivan for the quick response.  However I'm not much of a programmer and would like to resolve this more quickly.  Is my database update sufficient to enable caching or do I need to also set the cache_profile?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    28 Feb 2011
    Link to this post
    Hello ,

    1. You should set cache_output to 1
    2. You should set the cache durtation

    3. cache_profile is a column that persist the value of the OutputCacheProfile name. The default profile name is Default. By default cache_profile is empty.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
4 posts, 0 answered