Support » Plugin: Quick Cache (Speed Without Compromise) » how and where to add '?qcAC=0'

  • Resolved jdon

    (@jdon)


    Hi there,

    I’m really happy with Quick Cache. It improved my site speed very much. Thanx for developping!

    I do have a question though. I have a page on my website that I want to exclude from caching (The GET request from a side bar just didn’t do the trick, and a daily quote now becomes a weekly quote since I have put the expiration time of quick cache to 7 days, LOL).

    How can I apply the ?qcAC=0 code? I am using friendly permalinks and when I add the code to my permalink, wordpress changes it to ‘qcac0’…

    Can you help me out? There is probably an easy solution?

    https://wordpress.org/plugins/quick-cache/

Viewing 1 replies (of 1 total)
  • Plugin Author Raam Dev

    (@raamdev)

    The ?qcAC=0 is really only useful if you have a plugin that is making requests that include query strings, or if you’re not using friendly permalinks.

    If you want to exclude a page from the cache with the free version of Quick Cache, you’ll have to write some PHP code inside your wp-config.php file (it has to be inside wp-config.php because it has to happen before Quick Cache is loaded) that checks $_SERVER['REQUEST_URI'] to see if the current page is the page you want excluded, and then use define('QUICK_CACHE_ALLOWED', false); to disable caching for that page.

    Quick Cache Pro includes a feature called URI Exclusion Patterns that allows you to simply define the URI that you want to exclude from caching.

Viewing 1 replies (of 1 total)
  • The topic ‘how and where to add '?qcAC=0'’ is closed to new replies.