I have a WordPress e-commerce website that has almost 700 web pages. I have added a CAPTCHA field to only two (2) of my web pages: a contact page and a registration page to prevent robots from spamming my site (via the instructions @ http://wordpress.org/plugins/really-simple-captcha/). But I have noticed that Really Simple Captcha seems to be executing on every single WordPress page that I have (which it shouldn’t be).
I initially found out about this because a large amount of PNG files were being created in the wp-content/plugins/really-simple-captcha/tmp folder (and I use a cleanup value of 60 minutes), but I hardly ever have anyone register on my site or send me a message via the contact form (the two places where I added the code). So I should only see a PNG image in that folder once in a blue moon. I just checked and there are 56 files in the tmp folder (28 PNG and 28 TXT) and it is early on Sunday morning!
I then later confirmed this issue because I ran my website against GTMetrix.com, which measures website performance and shows exactly what files are being loaded into the browser. I noticed that a PNG (from Really Simple Captcha) was being loaded on a web page where it shouldn’t, and the PNG is never displayed. The PNG is also not shown in the page source of the web page. You can view the GTMetrix report here:
If you click on the Timeline tab, you will notice that there is the following line (about halfway down):
But if you look at the page source for that web page (http://shazamimages.com/image/3d-underwater-scene/), you will notice that there is only one PNG loaded and it isn’t used for CAPTCHA!
So something is executing Really Simple Captcha for every web page on my web site and I can’t seem to figure out what is causing it. On top of that, the PNG file that is being generated isn’t being used by the web page, so it is just reducing performance for every page that is being loaded.
FYI: I’m using Really Simple Captcha 1.7
- The topic ‘CAPTCHA PNG Files Incorrectly Being Generated for Every Page’ is closed to new replies.