That’s a great question. In the past I too tried different things like “index.php” or even just a slash like “/”. I can’t figure it out either.
i thought is /, but all URL have / in them, so it will not cache all. And they say not to put filename either, so index.php is out.
Does anyone have an idea about this?
I got a way around this but requires hacking the core file.
Ok there is a fix: Stop WP-Cache from caching the index page, its just changing 1 line in 1 file..
[ OPEN ] wp-content/plugins/wp-cache/wp-cache-phase2.php
[ FIND ] if (strstr($uri, ‘/wp-admin/’))
[ REPLACE WITH ] if(strstr($uri,’/wp-admin/’) || $uri===’/’ || strstr($uri,’/index.php’))
Hello!
can you please help me with wp-cache plugin?
i need to exclude posts (single.php) from caching couse i have dynamic custom fields in it. i can pay e-gold if you can help me.
nobody knows how to do that?!
How you do that largely depends on what sort of permalinks you use. Post a link to your site so we can look at it and tell you.
every post on my site have list http://mysite.com/post1/ http://mysite.com/post1/ and so on. i know that i can exclude every post in wp-cache by typing all links to my post, but its very long time to do that ‘couse i have more then 1000 posts in my blog.
p.s. links in post above just for example, mysite.com its not my site 🙂
That really doesn’t tell us anything. We need actual examples. Is “post1” actually post + the id number of the post, or is it the post-slug? It’s hard to guess from your example.
Just post a link to your site. It’s simpler all around.