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

Improve GET Requests inline docs to mention ?qcAC=0 #210

Closed
raamdev opened this issue Jun 12, 2014 · 4 comments
Closed

Improve GET Requests inline docs to mention ?qcAC=0 #210

raamdev opened this issue Jun 12, 2014 · 4 comments

Comments

@raamdev
Copy link
Contributor

raamdev commented Jun 12, 2014

The "Advanced Tip" inside Dashboard → Quick Cache → Plugin Options → GET Requests mentions that you can enable GET request caching by using ?qcAC=1, but it doesn't mention that you can disable caching using ?qcAC=no:

Advanced Tip: If you are NOT caching GET requests (recommended), but you DO want to allow some special URLs that include query string parameters to be cached; you can add this special parameter to any URL ?qcAC=1. This tells Quick Cache that it's OK to cache that particular URL, even though it contains query string arguments.

This section should be improved to include mention of disabling caching using ?qcAC=no for scenarios where someone is calling a cachable page using a Cronjob and specifically wants to disable caching.

Reported here: http://wordpress.org/support/topic/wp_insert_post-call-not-working-in-my-code-with-quick-cache?replies=4#post-5680051

@raamdev raamdev added this to the Next Release milestone Jun 12, 2014
@raamdev raamdev self-assigned this Jun 16, 2014
@jaswrks
Copy link

jaswrks commented Jun 17, 2014

Just to add here that ?qcAC= will support any boolean-ish value.

  • ?qcAC=no = false
  • ?qcAC=off = false
  • ?qcAC=0 = false
  • ?qcAC=false = false

  • ?qcAC=yes = true
  • ?qcAC=on = true
  • ?qcAC=1 = true
  • ?qcAC=true = true

Be aware that ?qcAC=2 or something like ?qcAC=absolutely will both equal false; those are not boolean-ish true values. See also: filter_var('', FILTER_VALIDATE_BOOLEAN)

@raamdev
Copy link
Contributor Author

raamdev commented Jun 17, 2014

Got it. Thanks for noting that! I'll be sure to use ?qcAC=0 for clarity when I update the documentation.

@raamdev raamdev changed the title Improve GET Requests inline docs to mention ?qcAC=no Improve GET Requests inline docs to mention ?qcAC=0 Jun 18, 2014
raamdev added a commit to wpsharks/comet-cache-pro that referenced this issue Jul 2, 2014
@raamdev raamdev closed this as completed Jul 2, 2014
@raamdev
Copy link
Contributor Author

raamdev commented Jul 2, 2014

Screenshot of the new inline docs:

2014-07-02_13-06-58

@jaswrks
Copy link

jaswrks commented Jul 2, 2014

Cool, great!

@raamdev raamdev removed their assignment Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants