#persiangulf
| GITHUB | https://github.com/vnali |
| GITHUB | https://github.com/vnali |
@990000
Are you using the contact form plugin? If so, I think the reason is that csrfinput is used in the form.
From craft changelog version 5.2.6:
"Craft now sends no-cache headers for requests that generate/retrieve a CSRF token. If your Craft install is behind a static caching service like Cloudflare, enable the asyncCsrfInputs config setting to avoid a significant cache hit reduction."
For more information, visit
https://craftcms.com/docs/5.x/reference/config/general.html#asynccsrfinputs
I was trying to learn Nuxt and how to use it with #CraftCMS, and the Nuxt starter (https://github.com/craftcms/starter-nuxt) helped me a lot. I was able to integrate the counter plugin with this starter to count site and page visits and also the next version of the counter plugin will add support for counting site visits on sites that use Craft in headless mode.
Check it out: https://github.com/vnali/starter-nuxt-counter
I just tagged the first beta release of the Counter plugin, which is now also available for Craft 4 on the #CraftCMS plugin store.
I've just released version 1.0.0-alpha.5 of the Counter Plugin! ๐
โจ New features include:
- Enhanced performance with default and customized caching.
- Asynchronous widget loading for a smoother experience.
Easily track your site and page visit statistics with informative widgets, and fetch the data via TWIG and GraphQL.
Check it out: https://plugins.craftcms.com/counter
#CraftCMS