PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

how to avoid home page cache?

Quick Cache Plugin. Speeds up WordPress®.

how to avoid home page cache?

Postby dozarte » July 26th, 2010, 1:57 pm

My WP blog is on this url...
http://www.dozarte.com/wordpress/
How can I avoid home page caching?
User avatar
dozarte
Registered User
Registered User
 
Posts: 33
Joined: July 24, 2010

Re: how to avoid home page cache?

Postby Jason Caldwell » July 28th, 2010, 2:53 am

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); }
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: how to avoid home page cache?

Postby dozarte » July 28th, 2010, 6:47 am

Maybe you could plan to simply allow full Urls on "No-Cache URI patterns" option panel...
Thanks for your answer,
BYE!
User avatar
dozarte
Registered User
Registered User
 
Posts: 33
Joined: July 24, 2010

Re: how to avoid home page cache?

Postby Jason Caldwell » July 30th, 2010, 9:35 am

@TODO :: Review No-Cache URI options for Quick Cache.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: how to avoid home page cache?

Postby whiskeyJim » September 18th, 2010, 1:41 pm

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.
whiskeyJim
Guest User
Guest User
 

Re: how to avoid home page cache?

Postby Jason Caldwell » September 29th, 2010, 10:52 am

@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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: how to avoid home page cache?

Postby dauidus » December 4th, 2010, 1:46 am

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!
User avatar
dauidus
Registered User
Registered User
 
Posts: 1
Joined: December 4, 2010

Re: how to avoid home page cache?

Postby weasel » December 20th, 2011, 11:07 pm

Was this ever implemented (mfunc)?
User avatar
weasel
Registered User
Registered User
 
Posts: 3
Joined: November 14, 2011

Re: how to avoid home page cache?

Postby doctorproctor » January 6th, 2012, 6:40 pm

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
User avatar
doctorproctor
Registered User
Registered User
 
Posts: 37
Joined: May 18, 2011


Return to Quick Cache Plugin

Who is online

Users browsing this forum: No registered users and 1 guest