Community Support Forums — WordPress® ( Users Helping Users ) — 2010-06-21T23:26:27-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=94 2010-06-21T23:26:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=94&p=955#p955 <![CDATA[Re: Want To Cache Urls In Sitemap only]]> Statistics: Posted by Jason Caldwell — June 21st, 2010, 11:26 pm


]]>
2010-05-19T13:26:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=94&p=486#p486 <![CDATA[Re: Want To Cache Urls In Sitemap only]]>
<?php if(is_404())
define("QUICK_CACHE_ALLOWED", false);
?>

Will it solve the problem?

Statistics: Posted by bilalbhatti — May 19th, 2010, 1:26 pm


]]>
2010-05-19T01:44:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=94&p=420#p420 <![CDATA[Re: Want To Cache Urls In Sitemap only]]> Quick Cache uses your Sitemap, only in conjunction with it's Auto-Cache Engine. So you can use a Sitemap to tell Quick Cache which URLs you want cached automatically, but this does NOT determine "overall", which URLs are allowed to be cached. That capability is not provided by the Quick Cache plugin.

However, there are several filters you can apply, see: Quick Cache -> General Options. You might give those a try. See if you can come up with a creative way to exclude anything buts Posts. You could also use a special PHP Constant inside your WordPress® theme. This will disable Quick Cache on everything, except Posts. You can put this inside the functions.php file for your WordPress® theme.

Code:
<?php if(!is_single() || is_page())
   define("QUICK_CACHE_ALLOWED", false);
?>

Statistics: Posted by Jason Caldwell — May 19th, 2010, 1:44 am


]]>
2010-05-17T16:35:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=94&p=382#p382 <![CDATA[Want To Cache Urls In Sitemap only]]>

Statistics: Posted by bilalbhatti — May 17th, 2010, 4:35 pm


]]>