• Resolved cristi.contiu

    (@cristicontiu)


    Hello and congratulations for the plugin, it is really easy to setup and use.

    The browser caching options is really great, but I would like to know if there is a possibility to deliver the static minified files directly from the /cache/ folder, without any processing once they’re created.

    I see the minified files are created in the /cache/ folder, but the first request of every new visitor (empty browser cache) actually processes the files before responding (so for one JS and one CSS minified files the TTFB is 600ms combined vs 40ms for static files).

    I can achieve this by using Varnish (not a possibility for shared hosting) or by removing the .htaccess file (but I don’t think that this is the right solution).

    Thank you!

    https://ww.wp.xz.cn/plugins/bwp-minify/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cristi.contiu

    (@cristicontiu)

    Sorry, there was confusion on my part. The plugin indeed delivers the static files to new users.

    Checking the “Disable cache” option in Chrome DevTools sets the Cache-control request header to no-cache and your plugin responded to that request with processed content. This does not occur for new users.

    Altogether, 5-star plugin for ease of use!

    Plugin Author Khang Minh

    (@oddoneout)

    Glad it’s working for you 🙂

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

The topic ‘Serving static files to new users’ is closed to new replies.