• Resolved edgam85

    (@edgam85)


    Hi

    I’m enjoying using the W3 Total cache plugin. I have put a form using contact form 7 on the website and all is fine except the speed when I click submit and it takes about 7 seconds to process and redirect to Thank you page.

    Is there something connected to this plugin I can do such as combining JS and CSS as my Pingdom Tools score shows an F for ‘make fewer HTTP requests’. Hope you can point me in the right direction.

    Eddie

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @edgam85

    Thank you for reaching out and I am happy to assist you.
    This is not specifically related to the W3 Total Cache, but possibly to the refill function in CF7
    During page load, a script detects if the page is cached. If yes, an AJAX request is sent to the server, which answers with fresh new options. This update is managed by the refill function.
    There is an option to disable this, so I would advise reaching out to CF7 support for assistance as they would be able to share more accurate and specific information.

    I hope this helps!

    Thanks!

    Thread Starter edgam85

    (@edgam85)

    Thanks, I been in touch with them and no success so far.

    As well as the contact form, I’m looking to improve my page performance-particularly fewer HTTP requests and expires headers.

    On pingdom, I got 48 (F) on Fewer HTTP requests and 78 (C) on add expires header.

    Also shows that I’m using a lot on script (680.1kb). Is there ways in the settings that i can do to improve this? Theme is X Theme (Child) and will be writing on their forum about this too.

    Thanks

    Eddie`

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @edgam85

    Thank you for your feedback.
    I’ve tested your website and as I can see the results you are getting are related to the external scripts that are loading on your website that do not have proper expiration set to make testing tools happy:

    https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i&subset=latin,latin-ext&display=auto
    https://maps.googleapis.com/maps/api/js?client=google-maps-embed&paint_origin=&libraries=geometry,search&v=3.exp&language=en&region=uk&callback=onApiLoad
    https://maps.googleapis.com/maps/api/js/StaticMapService.GetMapImage?1m2&1i8365735&2i5532194&2e1&3u16&4m2&1u300&2u300&5m6&1e0&5sen&6sgb&10b1&12b1&14i1379903&client=google-maps-embed&token=86359
    https://maps.googleapis.com/maps/api/js/ViewportInfoService.GetViewportInfo?1m6&1m2&1d52.11822023091829&2d-0.4975797687964551&2m2&1d52.13047199647245&2d-0.47781885661232265&2u16&4sen&5e0&6sm%40622000000&7b0&8e0&11e289&12e1&13shttps%3A%2F%2Fwww.google.com%2Fmaps%2Fembed&14b1&callback=_xdc_._m2exrj&client=google-maps-embed&token=121154
    https://maps.googleapis.com/maps/api/js/AuthenticationService.Authenticate?1shttps%3A%2F%2Fwww.google.com%2Fmaps%2Fembed&2sgoogle-maps-embed&7m1&1e0&8b0&callback=_xdc_._uxcir0&client=google-maps-embed&token=63692
    https://maps.googleapis.com/maps/api/js/QuotaService.RecordEvent?1shttps%3A%2F%2Fwww.google.com%2Fmaps%2Fembed&2sgoogle-maps-embed&7scnw0q6&10e1&11b0&callback=_xdc_._41zfu7&client=google-maps-embed&token=73452

    These HTTP requests are not coming from your server, meaning they are coming from google’s server and loading on your website (called by some plugin or theme) and cannot be optimized by any plugin because of this.

    I hope this helps!

    Thread Starter edgam85

    (@edgam85)

    It does, sort of. How can it have proper expiration set? What can I do about this and could you point me roughly in the right direction?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @edgam85

    Thank you for your feedback.
    The solution for this is to host these files locally, meaning for example, instead of calling them from https://fonts.google.com/
    This is also the case for google maps files that are being called by google API.

    Thanks!

    Thread Starter edgam85

    (@edgam85)

    Hey Marko

    Thank you for your support. I will contact my theme forum about how to easily achieve this.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Contact Form 7 Speed issue’ is closed to new replies.