I have a VPS with 4 cores and 5 GB of RAM with Windows Server 2012 and IIS8. I run a WordPress site on it with MySQL as an InnoDB database, MySQL received about 70% of my available RAM for cache / buffer, which works fine. I have Wincache enabled, output caching is enabled mainly for all .php files. My time to the first byte is 1400-1800 ms, which, in my opinion, is too slow.
I turned on output caching for all PHP files, which reduced it to 8 ms. Fine! Or so I thought ... Of course, because now it caches all PHP files, it will not load subsequent pages. This is because WordPress loads subsequent pages as a request, not as a new file.
I had to completely disable output caching for PHP files, but it seems I cannot find another solution to reduce the time to the first byte / response time. Does anyone have any good suggestions using either Wincache or Output Caching to achieve the ~ 8 ms results that I had before?
Any ready-made suggestions are also highly appreciated!
source
share