Page 1 of 1

how to avoid home page cache?

PostPosted: July 26th, 2010, 1:57 pm
by dozarte
My WP blog is on this url...
http://www.dozarte.com/wordpress/
How can I avoid home page caching?

Re: how to avoid home page cache?

PostPosted: July 28th, 2010, 2:53 am
by Jason Caldwell
Thanks for another great question.

I'll see if we can add an option for this in a future release.
Until then, you can just pop this into the functions.php file for your WordPress theme.
Code: Select all
f($_SERVER["REQUEST_URI"] === "/wordpress/")
{ define("QUICK_CACHE_ALLOWED", false); }

Re: how to avoid home page cache?

PostPosted: July 28th, 2010, 6:47 am
by dozarte
Maybe you could plan to simply allow full Urls on "No-Cache URI patterns" option panel...
Thanks for your answer,
BYE!

Re: how to avoid home page cache?

PostPosted: July 30th, 2010, 9:35 am
by Jason Caldwell
@TODO :: Review No-Cache URI options for Quick Cache.

Re: how to avoid home page cache?

PostPosted: September 18th, 2010, 1:41 pm
by whiskeyJim
What a fantastic cache!

IMHO, entering urls to avoid caching, or better yet, entering urls that update after comments, should be the number one priority of your next release.

Because of the way blogs work, the front page, archives, and some other pages depending on plug-ins and set-up, must be handled uniquely. Allowing users to enter those urls is key.

Thank you for a great cache. I was tired of playing with Super Cache and TotalCache. Nothing should be so difficult. Your is not.

Re: how to avoid home page cache?

PostPosted: September 29th, 2010, 10:52 am
by Jason Caldwell
@TODO COPY :: Review No-Cache vs. Do-Cache URIs. This is probably going to be added in the next release, along with support for mfunc and mclude style exclusions.

Re: how to avoid home page cache?

PostPosted: December 4th, 2010, 1:46 am
by dauidus
I love this plugin, except for one issue I am having. I would like every page on the site to be autocached once a week. To set that up is pretty straight forward. But, I would like the home page to be autocached once an hour, to allow for frequent twitter and event updates that do not affect the rest of the site. Is there any way to do this? Thanks for all your great work!

Re: how to avoid home page cache?

PostPosted: December 20th, 2011, 11:07 pm
by weasel
Was this ever implemented (mfunc)?

Re: how to avoid home page cache?

PostPosted: January 6th, 2012, 6:40 pm
by doctorproctor
I'm posting to this as the most recent thread in a series of requests re. caching the home page, which I too would like to do as my home page displays summaries of all posts and loads just fine. I attempted the functions.php code suggested above and may've done something incorrect as I could not then load the home page (deleted it again and all is fine). (My WP site is accessed, btw, via sge.lclark.edu, and the WP files themselves reside in /wp.)

Thanks for any updates/info.

Regards,

Jim