Results 1 to 3 of 3

Thread: No Caching means slow pages

  1. #1
    sunside is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    79

    Arrow No Caching means slow pages

    Hi,

    for some weeks now, I have noticed that our Sugar install (OS 4.5.1e) is sluggish when opening a new page. I have looked at all the HTTP calls that are made. It reloads all the .js files every time, which means about 25 HTTP calls for a simple page.

    I have also noticed that in the response, when sending the index.php file, the server sets the following attributes:
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

    I would actually like the .js files to be cached, so that pages would load faster and server load would decrease. Is this a (Apache) server issue, or a Sugar issue?

    Thanks for any help!

  2. #2
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: No Caching means slow pages

    Hi

    if you are using Firefox you can do the following to verify that .js and other files are cached.

    1. Clear all cache data
    2. Go to the login screen of your sugar installation (load it fully)
    3. Enter "about:cache" in the browser and hit enter to show the current cache statistic

    About 70 files are cached in memory, images and .js files. If you check the cache again after login there will be alot more files in the cache (here about 170, over 30 javascript files).
    Cheers Pascal
    Simplicity GmbH

  3. #3
    sunside is offline Sugar Community Member
    Join Date
    Oct 2005
    Posts
    79

    Red face Re: No Caching means slow pages

    Hi,

    Quote Originally Posted by simple
    About 70 files are cached in memory, images and .js files. If you check the cache again after login there will be alot more files in the cache (here about 170, over 30 javascript files).
    thanks for the reply. I have 22 files cached in memory and 51 on disk after I load the start page. The .js files are stored on the harddisk.

    After logging in, there are 61 in memory and 95 on disk, total is 156.

    But now I am sitting on a different computer, and I just checked - the caching works, and for the test page which I mentioned above, only 2 HTTP calls are made now. So it must be a problem of the browser somehow. Now I am using Firefox on a Mac, the problem occurred under Windows. I will have to look into the settings of the windows machine then.

    Thanks for the hint, which made me look into this issue on another computer. Now I know at least it's not the server and not SugarCRM...

    Cheers

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar is slow - some ideas to improve the speed
    By mycrmspacegunnar in forum General Discussion
    Replies: 22
    Last Post: 2012-04-04, 01:44 PM
  2. slow queries
    By wyred in forum Help
    Replies: 0
    Last Post: 2006-11-22, 03:20 AM
  3. Looping pages in IE6 with zlib & curl
    By yvomans in forum Help
    Replies: 0
    Last Post: 2006-10-03, 09:15 AM
  4. Can I stop SugarCRM pages from getting cached in the browser?
    By Arpan_Biswas in forum Developer Help
    Replies: 2
    Last Post: 2006-02-11, 07:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •