• Resolved pickardou

    (@pickardou)


    I am using WP 5.9 and latest W3 Total Cache on Windows 2019, IIS 10.

    I am monitoring req/responses with Fiddler, and noticed that neither W3 Total Cache defaults neither any custom setting I made in browser cache settings for test reasons has no effect on the response header, all cache control header values are completely missing according to the monitored responses.

    I also noticed, that neither after W3 Total Cache installation/activation, neither after changing and saving W3 Total Cache some settings, no change in the web.config files, regardless if there is an initial web.config file in the folder, or the web.config file is completely missing.

    WP has access right to write the folder, that is confirmed and tested, via using standard WP Settings/Permalink, if I change there the permalink type, then the web.config file changes accordingly.

    • This topic was modified 4 years, 3 months ago by pickardou.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickardou

    Thank you for reaching out and I am happy to assist you with this.
    Depending on a server, IIS in most cases uses the .htaccess file which is then converted to web.config rules.
    The only way to remedy this is to manually add the rules to web.config
    You can check more information on this link.
    I hope this helps!
    Thanks!

    Thread Starter pickardou

    (@pickardou)

    Hi Marko,

    Many thx for your reply. I will do some tests, then I will be back with the result. I understand that the majority of WP use cases are Apache. Maybe I misunderstood the Total Cache doc statements and some web resources, and answers, that it supports IIS out of the box… It is not a problem if it does not, (again the mainstream is Apache), but I wasted hours because of trying to achieve this out of the box support…

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pickardou

    Thank you for your feedback.
    Again, this depends on the IIS server setup.
    Without .htaccess, some rules need to be added manually.
    Let me know the results.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Browser cache settings have no effect when using WP on IIS’ is closed to new replies.