File /refill
-
Hi,
Using Gtmetrix i have seen that this file ( /wp-json/contact-form-7/v1/contact-forms/13891/refill) needs a lot of time to upload but I don’t find no documentation about that.
What is it?
Thank’s
-
It occurs when you use page-cache on the site. On a cached page, some dynamic content like CAPTCHA images need to be refreshed on page loading. The refill request is doing this. It doesn’t upload files.
Thank’s for your answer!
And is it possible to exclude it from the cache or make it a little bit faster?
Thank’s
I’m having problems with the /refill URL as well. It’s taking 12+ seconds to load while the rest of my site loads in milliseconds.
What could be causing this?
Same here…
But.. as I have the honeypot plugin running the show I haven’t any CAPTCHAs activated.
https://www.ads-software.com/plugins/contact-form-7-honeypot/
Does that mean it loads a CAPTCHA nonetheless though it’s not showing it?
Cheers
Marco@takayukister I have a client website, that makes 16 calls to https://domain.com/wp-json/contact-form-7/v1/contact-forms/ID/refill on the homepage alone (and they return an empty json array).
I’m using W3TC cache with REDIS.
This is also a WPML installation with 3 languages.a) The homepage only shows one form and it’s basically a name and email (no captcha).
Furthermore, they only have 7 contact forms on the wp-admin, so why are there 16 different requests? Is there a cache or does it get the data from some old, deleted forms maybe?b) Is there a way to programatically remove these calls (some hook, function, whatever)?
c) If there’s no captcha, are there any possible issues with removing these /refill calls?
Thanks for your time.
Anybody found a solution for the above…removing these urls for refill ?
I came across this link which talks about speed abuse by contact forms 7
https://pagepipe.com/contact-form-7-plugin-causes-global-site-drag/Use a free plugin called Plugin Logic and activate your contact form only on your contact page. Just slow down that single page instead of all pages – especially protect your Home page speed.
Changing the theme didn’t do anything.
This is exclusively a contact form 7 issue.What I see is that all contact forms existent, for all languages on WPLM, are adding a refill url to all pages.
There should be some sort of check to see if a form exists in the current page, and which ID, so there’s only one refill request if there’s only one form on that page.The fastest way to remove the refill urls is to disable page cache.
You can also edit the plugin on includes/controller.php and comment out the
$wpcf7['cached'] = 1;
line, although this will probaly break some forms.There’s probably a hook or filter where we can set this to zero, so that’s why I opened this thread…
Is this issue resolved? I still have the same problem.
The refill (contact form 7) keeps slowing down my site.
I haven’t CAPTCHA in my site and tried to set $ wpcf7 [‘cache’] = 0; also.
Would anyone have another tip?
- This reply was modified 7 years, 3 months ago by fourthcode.
Also having this problem, I do have honeypot enabled and I do like to keep it that way as I find the lack of build in honeypot a bit sad. But yea this is really slowing down my website!
I have the same problem, please help admins. (I see this thread is set to Resolved, maybe we need to start a new one).
I solved the Problem by just removing three lines of code from includes/controller.php
I took away the if statement, because I am not using CAPTCHAS anyway:
if ( defined( 'WP_CACHE' ) && WP_CACHE ) { $wpcf7['cached'] = 1; }
My forms seem to work on all pages I use them, e.g. https://www.quality-lifestyle.de/
I also use Plugin Logic and only load my Plugins on pages wehere I need them, e.g. Contact Form 7 and Contact Form DB only on pages where I have forms.
It really speeds up the loading time. Pingdom and GMetrix show one request less because /wp-json/contact-form-7/v1/contact-forms/13891/refill is not called anymore.
I am really not a coder and don’t know if my solution is a dirty hack and will cause andy troubles, but on the surface it seems to have the desired effect ??
Kind Regards,
GregorI have the same problem.
I’m using wp-rocket plugin
it takes 3.89 seconds for the refill to load.Is there a fix for it.
wordpress version: 4.8.1
contact form 7 version: 4.9Here is the data from the network console:
refill 200 xhr jquery.js?ver=1.12.4:4 575 B 3.89 sI have the same issue. I even completely removed contact form 7 and cleared the cache in WP rocket yet the issue still remains. Anyone have a solution to this yet or a way to block the call?
@nextorontoweb if you have removed the plugin completely and purged the cache, there’s no way the refill request is still there. You may have another cache somewhere, probably on the hosting level. Ask them to purge it or check for that option on their control panel.
Hi, same here. It doesn’t take that much on our servers, but between 600ms and 700ms are taken for this, which is not good at all for SEO and web site performance. It happens without having the recaptcha active.
In our case it nearly duplicates the web page loading time, which makes really a huge difference.There should be a way to deactivate the “refill” with a hook or something.
Please we need a solution.
Thank you.
Best regards
- The topic ‘File /refill’ is closed to new replies.