• Resolved aturner374

    (@aturner374)


    I added W3 total cache to my website to increase performance, mostly for images as it is not a heavy site. The site contains a form written in PHP to upload data directly to Amazon S3. This is the idea:
    https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html

    The form has stopped working since I activated W3 total cache because I think the host, which looks like this in my code:
    destinationBucket.s3.amazonaws.com
    is getting a query string added to it at execution
    destinationBucket.s3.amazonaws.com/?v=xxxxx

    The post request now has an error along the lines of “invalid argument, query string parameters not allowed, argument name v”. I have gone through all the settings in w3 total cache, and have also tried rewrite rules in .htaccess, but now I’m drawing a blank and think I might need to drop the plugin. Can you please offer any advice?

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

    (@vmarko)

    Hello,

    This is controlled by Performance>Browser cache->Prevent caching of objects after settings change option

    Thread Starter aturner374

    (@aturner374)

    I have clicked that option, then saved settings and purged caches. Still my pages have a v query string and the upload form is not working.

    Thread Starter aturner374

    (@aturner374)

    OK, I think I may have partially solved it. I am using Woocommerce and had selected settings – default customer location – geolocation with page caching support. If I change this just to geolocation then the v query string goes away.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Can you also check Performance>Brwoser Cache if the “Remove query strings from static resources “? Is that option enabled?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTTP post requests not working with query strings from W3 Total cache’ is closed to new replies.