• Resolved hommealone

    (@hommealone)


    Hi. I’ve added a stylesheet to the excluded list, and I expected to see it have its own line in the document. Instead, it is still being concatenated along with all of the other CSS.

    The file name is style.css in our theme directory which is named _tk (wp-content/themes/_tk/style.css)

    Normally, that file is loaded with a versioning parameter, which is the timestamp of the file, so that it will be cached until it is changed.

    With AO on and that file added to the exclusions list, it appears like this:
    <link rel='stylesheet' id='_tk-style-css' href='[wordpress-install-directory]/wp-content/cache/autoptimize/css/autoptimize_single_059c82ec9d87aadadd5acb6022964898.css?ver=1574297362' type='text/css' media='all' />

    But I don’t want the timestamp version number added to the entire autoptimize file; only to that one specific file.

    Is this the expected behavior? Am I doing something wrong? How can I get the desired result?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘excluded CSS file still concatenated’ is closed to new replies.