Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some more FAQs for you... #12

Open
amityweb opened this issue Jan 25, 2019 · 4 comments
Open

Some more FAQs for you... #12

amityweb opened this issue Jan 25, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@amityweb
Copy link

Does this plugin work with forms that use getCsrfInput()? Because getCsrfInput() will need to be generated each page load

Can we exclude areas, perhaps based on segments? I have a members area which I don't need or want cached.

Can we exclude sections of the page? For example if we had a template include that generates something random, we would want to exclude it.

Thanks

@boldenamsterdam
Copy link
Owner

Hi @amityweb ,

Currently this is not possible but we are planning to release soon this functionality.

Keep tuned!

@boldenamsterdam boldenamsterdam added the enhancement New feature or request label Jan 28, 2019
@luke-nehemedia
Copy link

I would love that, too!

@dueddel
Copy link
Contributor

dueddel commented Apr 17, 2019

I recently implemented an exclude feature. It's a new table field in the settings where you can add URL paths to be ignored from cache. See pull request #17 for details.

You can only exclude whole pages from being cached, though. So, with my changes you can't ignore single segments of a page, as you wished. But hey, it's something. :)

By the way, with my changes I also enabled you to use regular expressions to exclude a whole bunch of pages (instead of adding every single one).

Thus, you can exclude following pages from being cached, for instance:

  • path/to/page/with/contact-form
  • your/channel/with/many/sub-pages/.*

Just see the instructions and info texts of the new field in the plugin settings.

…And no need to worry: I also had multi-sites in mind.

@ambidustrious
Copy link

Are there still plans to exclude areas of code - specifically would like to exclude FreeForm forms when my user leverages form builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants