Kimberly
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] New Comments don't clear cacheYou can fix this go into hooks.inc.php and add:
add_action (“comment_post”, “c_ws_plugin__qcache_clearing_routines::clear_on_post_page_creations_deletions”);
You may need to modify a tad more so if need be check out my other thread..its similar but you are specifically only dealing with “comment_post” not the other actions it talks about: http://wordpress.org/support/topic/scheduled-posts-this-plugin-refuses-to-update-1?replies=8
Forum: Plugins
In reply to: [WP Minify] Expire headers for minified JS and CSS filesIf a response includes a Cache-Control field with the max-age directive, that directive overrides the Expires field. It’s possible your web server could be included them.
You can use something like HTTP Analyzer or Firebug to see the headers. Or you can also visit one of many online sites to check and see your page’s returned headers.
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] How long does "Clear Cache" take?I will have a look at the code and see what the garbage collector is up to.
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] How long does "Clear Cache" take?Really? Dating back 3-months? If that is the case then DEFINITELY something is wrong. Yea on my side it does go about refreshing them when they expire. Of course, do realize that if no one returns to the page that needs refreshing this old cache file can remain dormant in the folder forever (assuming you dont make use of QC’s auto-cache feature).
I am not sure how big your site is (existing pages) so maybe 19K files is normal, but if not, then it sounds to me you may be caching GET/POST requests too which can get quite sizable as people begin to use a search box or even write a comment. By default though i believe this plugin shouldn’t be caching those.
If these very old files still exist can you view one of them, scroll to the bottom of the file, copy its URL and try testing (in your browser) to see if that same old cache file is returned (view source code and scroll to the bottom to see if the time stamp is the same as what was shown in the file). I am curious to find out if QC will begin caching a new copy of the page.
On the flip side, if you want to test a particular page but dont know what its qc-c.* file is you can use an online MD5 calculator to help locate the file. Assuming you aren’t using a salt (by default it is left blank) the name of the qc-c-* file is postfixed with MD5 hashes of the url of a page. So for example if my page was: example.com/about/ (notice i dont use http:// at the beginning) then it’s MD5 hash would be: 8f17b1f11ffd5b7316d4e404fb533a47, resulting in a QC qache file named: qc-c-8f17b1f11ffd5b7316d4e404fb533a47-8f17b1f11ffd5b7316d4e404fb533a47-617a9471507f0eb608f3858291adb70f
Format:
qc-c-{MD5 of Page URL}–{MD5 of Page URL}–{MD5 of Site Host Name ending with a Slash}Forum: Plugins
In reply to: [WP Minify] Unstable?Yea this plugin has some bugs which several of us patched in our own forks and chatted about it several months back. One day all of us will bring our working forked versions together for a final new version but for now it works solidly for all my sites with the latest WP release.
It’s been a very long timer now so my knowledge of this plugin under the hood is very hazy so i cant recall much but to fix the expire time issue you could go into your database file and modify the time directly there. We tested that back then too and that worked fine — for those who were a bit apprehensive of touching php.
Out of curiosity are you having wp-minify pull the jquery file from a remote location or is it local on your server? Make sure it is being included. Also I do recall jquery using a line such as “+ ++n” which wp-minify minified to “+++n” which is a syntax error. But it might be something else.
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] How long does "Clear Cache" take?Yup. I can confirm it. That is what i do all the time. I find it is much quicker to do it myself than wait on it clearing when i have too many files.
Forum: Plugins
In reply to: [Quick Cache (Speed Without Compromise)] Performance improvementThe opposite is true in my case. I find that with the plugin enabled it saves processor time. Recall that the goal is to reduce the amount of backend processing (ie, php and database calls) that would normally happen for each call to a page that isnt cached.
So logically, if one could just cache a page that already had the final results of all those php processing and database calls it should speed pages up. However, if your page doesnt have much going on then speeds improvements won’t be noticeable.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] wrong Google Webmaster sitemap urlActually, using either of these URLs result in the same thing. So there is nothing that needs to be fixed.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Robots.txtBy default this plugin will attempt to create a robots.txt file if it does not exist in your WP folder. You can uncheck this in the settings page OR just create your own robots.txt file in the root and this plugin will no attempt to write out its own.
It works perfectly for me (i’ve written my own).
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlOkay you can go ahead and put back your original sitemap-core.php file and delete those two @MY_LOG.txt files. I have the results.
I will have a look and get back to you.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlOh so that is the problem…
Just to make sure we are on the right wavelength…
1. You need to download the actual file that is hosted at that third party link i gave. So click the URL i give above and then click where it says “Download: sitemap-core.php” (the area above the 5 stars). This will download the actual sitemap-core.php file to your computer.
2. Open up your server and go into the plugins folder for google-sitemap-generator.
3. Rename the sitemap-core.php file you see in that folder to org-sitemap-core.php
4. Upload the file that you downloaded form step #1 into this plugin folder.
5. Now go into your WordPress admin panel and click to rebuild the sitemap
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlOh, that’s unique. Well, you can do what i did by way of getting it to work like normal (so put back the original file and making sure it is fine) and just replacing it with my file…so without deactivating the plugin. That way it doesnt realize it has been changed. Works for me.
I am heading out to do some shopping — i am a girl after all 😛 so i will be back in 3 hrs time.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlMy bad…i had a bug in the code…i updated the link above.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlOk i did a very crude change to sitemap-core.php that includes a simple call to MY_LOG(..) that writes out lines like “1”, “2”, and so on (doesnt write out any other info). Here is the changed file: http://speedy.sh/5CwEq/sitemap-core.php
Can you rename your existing sitemap-core.php file and put the above file in its place and then try to rebuild your sitemap?
What it will do is write out a file called “@MY_LOG.txt” in both the root and wp-admin area of your website. So then i should be able to access it via: http://www.bästalotterna.com/@MY_LOG.txt … when we are done then you can delete this txt file and replace your sitemap-core.php file back to its original.
Just in case you are wonddeirng here is the function i put in:
function MY_LOG($data) { file_put_contents("@MY_LOG.txt",$data."<br />",FILE_APPEND); file_put_contents($_SERVER['DOCUMENT_ROOT']."/@MY_LOG.txt",$data."<br />",FILE_APPEND); }Notice it writes out two files. I wasnt sure if your site would have issues using $_SERVER[‘DOCUMENT_ROOT’] so i decided to use two file_put_contents() calls as a backup so i can either access the file from the root and if that didnt work then i can access the file via: http://www.bästalotterna.com/wp-admin/@MY_LOG.txt (assuming you kept the default plugin name the same).
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Swedish characters in urlAhhh…that’s interesting. Seems there is a php fatal/exception error occurring because u should see “Build Process Results” (and a lined called “MySQL Queries”). So you are on a Windows server? Ok. I will look around for way to check up where their error logs are located. In the mean time, if u have a cpanel thing (or a user friendly gui offered by your web hoster) which you can look around for places that might indicate your server errors that will be helpful.
Well at least i narrowed down where the error in code is happening. Might be a conflict with your domain and mySQL because this plugin forgot to encode it or something.
I might need to give you a temporarily modified sitemap-core.php file (that is where all the work for this plugin is done) which dumps out very simple debug lines so i know how far it gets before dying..that way we can narrow what is going. At least that way we dont need to hunt around for an error_log file (if any) — i’ll just make my own that at least tells me where it is dying.
I cant be fully sure where things fall apart…just hunches.