0
Welcome Guest! Login
0 items Join Now

Cache setting..on or off?

    • Naor's Avatar
    • Naor
    • Hero Rocketeer
    • Posts: 306
    • Thanks: 0

    Cache setting..on or off?

    Posted 15 years 6 months ago
    • I was wondering if enabling the cache setting from global config is a good idea or a bad idea, or what the advantages or disadvantages may be? My understanding is that a 60 min cache time is good for speeding up most websites..is this true? FYI we update our website content about once a month.....not sure if that will change your answers.

      Thanks for the help
    • dle_web's Avatar
    • dle_web
    • Sr. Rocketeer
    • Posts: 105
    • Thanks: 0

    Re: Cache setting..on or off?

    Posted 15 years 6 months ago
    • Naor's Avatar
    • Naor
    • Hero Rocketeer
    • Posts: 306
    • Thanks: 0

    Re: Cache setting..on or off?

    Posted 15 years 6 months ago
    • C. Feller wrote:
      2 experts (me, I'm none of them) 3 different opinions on that case, some say joomlas cache system is pretty buggy and causes lots of trouble, most people tell you to enable it - check it out by yourself: get firefox with firebug add.on http://getfirebug.com/ , there's two more add-ons you can use within firebug, 1. yslow (yahoo) http://developer.yahoo.com/yslow/ and 2. page speed (google) http://code.google.com/speed/page-speed/ play around with the settings to check what fits best in your unique case, may be you benefit using the cache. And don't forget the "gzip" option in the global settings. Perhaps using rockgzipper http://www.rockettheme.com/extensions-joomla/rokgzipper is an option for you too.

      Thanks for your help. Speed withstanding, does the Cache turned off not allow the page to refresh when visitors visit later on once we've done some updates?? For example, if I turn the cache off and update the news stories on my site, will a previous visitor visit the site and only see the older version?? I know its a stupid question, but I know that I when I work on the site I frequently do a refresh in order to update whatever changes I've done....
    • dle_web's Avatar
    • dle_web
    • Sr. Rocketeer
    • Posts: 105
    • Thanks: 0

    Re: Cache setting..on or off?

    Posted 15 years 6 months ago
    • this is from joomlahacks.com:
      When caching is turned on, Joomla creates a static file or "cache" of your website data on the server. When the static file is found, the system retrieves the data from the server rather than from the database. This improves performance because it saves system resources by not making redundant SQL calls to the database. And it will also speed up the display time of the pages.
      Whether you enable or disable joomla cache, the latest (newest) content is shown to your visitors in either case. The content of your site and the changes you apply to it is stored in the database and/or the files on your server. The joomla cache only mixes these two sources (database=the content you typed in / files=f.e. the template) to create ready to read websites and stores them, just before they are requested by a visitor. That saves time in most cases.
      It's quite the contrary to your question above: if joomla cache is disabled your visitors will see the latest changes immediately because, there's no let's say 59 minutes old static content which is displayed to them.

Time to create page: 0.060 seconds