0
Welcome Guest! Login
0 items Join Now

Re: To cache or not to cache: That is my question!

    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: To cache or not to cache: That is my question!

    Posted 17 years 1 month ago
    • I assume there are no drawbacks to setting the cache on my site, save content that is updated quite regularly? I see the following settings in the global configurator:

      Cache No Yes
      Cache Time Minutes
      Cache Handler File

      Is there an amount of time most use? When file is set, I assume there are a bunch of html files saved on my server that are used to render the site without compiling all the content/modules, et al? ...just trying to understand how it all works in the php/Joomla world. ;)

      Does the core handle it quite well, or are there other extensions people typically use?

      How about http compression; is that used in the php/Joomla world, too? If so, any suggestions?
    • Mack's Avatar
    • Mack
    • Elite Rocketeer
    • Posts: 535
    • Thanks: 0

    Re: Re: To cache or not to cache: That is my question!

    Posted 17 years 1 month ago
    • There are so many variables it's hard to give a yes/no answer. In the past I've had minor problems with some plugins and cache. (Tabs and sliders) If you have a color switcher or template chooser, sometimes cache can be an issue. So the typical answer, it depends.

      Really the only thing you can do is test it and see if it's worth it. See if it gets better or not.

      Same for compression. It's great if it works, on high traffic sites it can be a noticeable hit on CPU.
    • Leckenby's Avatar
    • Leckenby
    • Elite Rocketeer
    • Posts: 714
    • Thanks: 0

    Re: Re: To cache or not to cache: That is my question!

    Posted 17 years 1 month ago
    • For the static sites I have that don't really change, I set the minutes to 43200 (roughtly a month), and when I change something (which isn't often on static sites) I just clear the cache after ive updated it and continue as normal.

      Always found that works for me for fairly static sites
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: Re: To cache or not to cache: That is my question!

    Posted 17 years 1 month ago
    • Thanks, guys.

      Are the cache settings in global config site-wide? I would say the sites I am building are semi-static, insofar as most pages are sratic, but I have form-generated data that gets displayed in grid views/tables when a user queries these data...so like to cache the entire site, I guess, save the data portions. ;)

Time to create page: 0.058 seconds