toob Posted February 6, 2021 Share Posted February 6, 2021 (edited) Hi! Newbie here! Forgive me if there is an obvious answer. I am running a demo Prestashop 1.7.7.1 (default theme, default everything). I would like to cache HTML on a CDN (Cloudflare), sadly the number of items in the cart and the login zone "Logout Firstname Lastname" comes from the HTML. Would it be possible that the default modules (ie. "Shopping cart Module" (ps_shoppingcart) Developed by PrestaShop) / theme use Ajax to update this information? So I will be able to cache HTML on Cloudflare and disable cache on the Ajax request. Thank you very much. /toob Hello! Je débute ! Veuillez m'excusez si ma question est triviale. J'ai un Prestashop de demo en version 1.7.7.1 (theme par défaut, tout par défaut). J'aimerai mettre en cache le HTML avec un CDN (Cloudflare), malheureusement le nombre de produits dans le panier et la zone d'identification "Déconnexion Prénom Nom" viennent du HTML. Serait il possible que les modules par défaut (dont "Panier" (ps_shoppingcart) Developpé by PrestaShop) / themes utilisent un appel Ajax pour mettre a jour ces informations ? Cela permettrait de mettre en cache le HTML sur Cloudflare et de désactiver le cache sur les requetes Ajax. Merci. /toob Edited February 6, 2021 by toob added screenshot (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now