• Hey

    I create tutorials at https://easywebdesigntutorials.com/
    This means I do a lot of testing, working with AI in relation to various code. I need to make sure that when I adjust code that I see the latest code and not a cached version. I am using Auto Optimize today but it is having some difficulties with this so I am thinking about using your plugin.

Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    If you are doing development, involving editing css or js files, you should never use any plugin that minifies files, and you should never be behind a cdn like cloudflare for example, without having some rule to bypass cache.

    Furthermore, all your css and js files need a query param, that changes after each change.
    I like to use filemtime on php to match the version to last modified date of the file itself for example.
    You should not just use time() or similar, because later your url will keep changing and not be cached.

    None of these things are related to any plugin, so for development, just go ahead and disable all cache and minification for all layers (plugins, server side, cdn, etc) and only enable those things on production.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.