Community Support Forums — WordPress® ( Users Helping Users ) — 2010-10-16T15:12:30-05:00 http://www.primothemes.com/forums/feed.php?f=5&t=591 2010-10-16T15:12:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3947#p3947 <![CDATA[Re: 404 pages]]> Thanks for reporting back on this topic.

This bug has been addressed in the release of Quick Cache v2.2.6.

== Changelog ==

= 2.2.6 =
* Updated to disable caching on database failures that do not trigger a `5xx` error code. Quick Cache is now capable of disabling the cache engine dynamically on all database connection failures within WordPress®.

Statistics: Posted by Jason Caldwell — October 16th, 2010, 3:12 pm


]]>
2010-10-15T08:09:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3920#p3920 <![CDATA[Re: 404 pages]]>
Jason Caldwell wrote:
Thanks for the follow up. Version 2.2.5 is now available.
Please feel free to offer feedback.


Hello Jason,
I'm not sure this new feature works well...

Here is the html code of a wrongly cached page:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Database Error</title>
</head>
<body>
    <h1>Error establishing a database connection</h1>
</body>
</html>
<!-- This Quick Cache file was built for (  www.libridaleggere.org/libri/la-casa-di-ghiaccio-venti-piccole-storie-russe/ ) in 5.01560 seconds, on Oct 15th, 2010 at 11:58 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Oct 27th, 2010 at 1:45 am UTC -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  www.libridaleggere.org/libri/la-casa-di-ghiaccio-venti-piccole-storie-russe/ ) in 0.00055 seconds, on Oct 15th, 2010 at 1:04 pm UTC. -->

Does Quick Cache consider these type of errors now?
Or not yet?

Statistics: Posted by dozarte — October 15th, 2010, 8:09 am


]]>
2010-10-03T00:53:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3726#p3726 <![CDATA[Re: 404 pages]]> That was my big problem with your good plugin.
Now... no more!
:)
PS: Since I'm using "Custom Admin Branding" plugin on clients' sites I did not see "clear cache" button on every page of admin area, but only on Quck Cache Config Option page; it seems that now - after upgrade - it's disappeared even from there...

Statistics: Posted by dozarte — October 3rd, 2010, 12:53 am


]]>
2010-10-02T12:36:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3717#p3717 <![CDATA[Re: 404 pages]]> /quick-cache/includes/functions/status-headers.inc.php
Code:
/*
This function monitors status header codes.
Attach to: add_filter("status_header");
*/
if (!function_exists ("ws_plugin__qcache_status"))
    {
        function ws_plugin__qcache_status ($header = FALSE, $status = FALSE)
            {
                $GLOBALS["QUICK_CACHE_STATUS"] = $status;
                /**/
                return $header;
            }
    } 

There is also a new snippet inside: /wp-content/advanced-cache.php
Code:
if (preg_match ("/^5/", $GLOBALS["QUICK_CACHE_STATUS"]))
return $buffer; /* Do NOT cache. */ 
Reflected inside: /quick-cache/includes/templates/handler.txt

Statistics: Posted by Jason Caldwell — October 2nd, 2010, 12:36 pm


]]>
2010-10-01T01:26:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3664#p3664 <![CDATA[Re: 404 pages]]> Statistics: Posted by dozarte — October 1st, 2010, 1:26 am


]]>
2010-09-29T11:33:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3622#p3622 <![CDATA[Re: 404 pages]]> Please feel free to offer feedback.

Statistics: Posted by Jason Caldwell — September 29th, 2010, 11:33 am


]]>
2010-09-29T11:13:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3617#p3617 <![CDATA[Re: 404 pages]]> Statistics: Posted by dozarte — September 29th, 2010, 11:13 am


]]>
2010-09-29T10:38:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3608#p3608 <![CDATA[Re: 404 pages]]> @COMPLETED/TODO :: add support for 5xx error codes, instead of just a subset of 50x.
This was added in Quick Cache version 2.2.5. ( to be released shortly )
~ Thank you.

Statistics: Posted by Jason Caldwell — September 29th, 2010, 10:38 am


]]>
2010-09-14T10:47:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=3249#p3249 <![CDATA[Re: 404 pages]]> If it worths, I'd really like you to add support for errors.
;)
Thanks anyway!

Statistics: Posted by dozarte — September 14th, 2010, 10:47 am


]]>
2010-08-24T10:06:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=2542#p2542 <![CDATA[Re: 404 pages]]> Gotchya. Thanks for reporting back on this.

@C/TODO :: add support for 5xx error codes, instead of just a subset of 50x.

Statistics: Posted by Jason Caldwell — August 24th, 2010, 10:06 am


]]>
2010-08-24T09:45:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=2540#p2540 <![CDATA[Re: 404 pages]]>
The problem is bigger on errors like "server down", "error connecting to database", and so on...
These errors are temporary, so it's a big mess if a page is cached as 'error page'.

That's why I think could be nice if the plugin could recognize these kind of erros, and queue the pages to re-cache.

BYE!

Statistics: Posted by dozarte — August 24th, 2010, 9:45 am


]]>
2010-08-24T09:23:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=2535#p2535 <![CDATA[Re: 404 pages]]> Thanks for the great suggestion.
One important thing to consider is that a 404 error is usually NOT a good reason to serve a non-cached page, or to rebuild the cache. For instance, if WordPress is hit by a spider/crawler that is looking for non-existent pages, you would not want your WordPress installation to get pounded, and given the current Quick Cache configuration, it would not be. I'll take another look at this before the next release though, and see if we can provide some additional options on the back-end, so that a site owner can choose for themselves.

I realize that some site owners would prefer NOT to cache 404's at all. So it makes sense to have an option for this.

Statistics: Posted by Jason Caldwell — August 24th, 2010, 9:23 am


]]>
2010-08-18T14:19:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=591&p=2473#p2473 <![CDATA[404 pages]]> ...no?
;)

Statistics: Posted by dozarte — August 18th, 2010, 2:19 pm


]]>