Cache désactivé ou progressif ou conservateur?

Réduire
X
 
  • Filtrer
  • Heure
  • Afficher
Tout effacer
nouveaux messages

  • [Problème] Cache désactivé ou progressif ou conservateur?

    Bonjour à tous,

    Que faut-il faire au niveau du cache dans la configuration de joomla?

    Paramètres du cache

    Cache désactivé ou progressif ou conservateur?

    Cela joue-t-il au niveau référencement?

    Merci d'avance,
    Jimmy 42

  • #2
    Re : Cache désactivé ou progressif ou conservateur?

    Bonjour

    Que veux-tu dire par "Que faut-il faire ?" ? Si tu demandes s'il faut l'activer; oui, généralement, c'est une bonne chose d'activer le cache puisqu'il permet d'accélérer ton site et, partant de là, le rendre plus rapide; les moteurs de recherche appréciant les sites plus rapide.

    Maintenant, si ton site est un site de news (un journal p.ex.), le cache est peut-être contre-indiqué si tu veux qu'un article publié maintenant soit visiblement maintenant et pas dans 15 minutes.

    Bonne soirée.
    Christophe (cavo789)
    Mon blog, on y parle Docker, PHP, WSL, Markdown et plein d'autres choses : https://www.avonture.be
    Logiciel gratuit de scan antivirus : https://github.com/cavo789/aesecure_quickscan (plus de 45.000 virus détectés, 700.000 fichiers sur liste blanche)​

    Commentaire


    • #3
      Re : Cache désactivé ou progressif ou conservateur?

      Bonjour,

      Je veux juste savoir si pour un site vitrine lambda il est préférable de mettre le cache progressif ou conservateur.
      Jimmy 42

      Commentaire


      • #4
        Re : Cache désactivé ou progressif ou conservateur?

        Personne pour m'aider?
        Jimmy 42

        Commentaire


        • #5
          Re : Cache désactivé ou progressif ou conservateur?

          Salut

          Conservative caching is the standard type of caching. Here’s how it works:

          A visitor visits a page on your website.

          Joomla checks if there is a non-expired version of that page in its cache directory.

          If the cached page exists (and it’s not expired), then Joomla will serve it to the visitor – otherwise, a cached version of the page is
          created, and that cached version will be served to the visitor, and
          to every other consequent visitor, as long as it’s (by “it” we mean
          the page) not expired.
          The above scenario is typical and is how most developers implement caching.

          Progressive caching works the following way:

          A visitor visits a page on your website.

          Joomla checks if a cached version of that page exists for that visitor and it’s not yet expired.

          If that cached page exists, then it’ll be served to the visitor, otherwise, Joomla will create the cached page for that specific
          visitor and then will serve it to him.

          If another visitor (who has never been on that page) visits that page, then Joomla will not serve the cached page of the previous
          visitor, instead, it will create a cached version of that page
          specifically for that user, and then serves it to him.

          As you can see, progressive caching only offers a performance improvement if the same visitor visits the same page within the lifetime of the cached version of the page. In most scenarios, progressive caching results in a huge performance hit that is far worse than disabling cache, simply because for nearly every visit, Joomla has to process the request, create the cached version of the page, and then serve the page to the visitor (instead of just processing the request and serving the page in the scenario where cache is disabled). Oh, and don’t forget about all the cache files generated by Joomla – you can only imagine how many of these files you will have in your cache folder if you have a high traffic news website (that has many pages).

          Now you might wonder, under which circumstances is progressive caching useful? Well, imagine that you have a video website (similar to youtube). You want to show each visitor customized pages based on his location and/or browser settings and/or plugins installed. So, for every page that the visitors loads, you use this information to generate a customized version of that page and you cache it. If the visitor visits that same page again, then Joomla doesn’t need to redo the work to generate the customized page.

          Of course, there are many scenarios under which progressive caching is really useful, but in our opinion, progressive caching should only be considered if the website receives many visitors and if those visitors are mostly repeat visitors. Using it in other cases will cause a significant hit on the website’s performance.
          source : http://stackoverflow.com/questions/1...ching-in-jooml

          Commentaire

          Annonce

          Réduire
          Aucune annonce pour le moment.

          Partenaire de l'association

          Réduire

          Hébergeur Web PlanetHoster
          Travaille ...
          X