WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Solution: W3 Total Cache not including some files (4 posts)

  1. moltar
    Member
    Posted 3 years ago #

    I was having a problem where W3 Total Cache was skipping files. It turns out it's due to the "?ver=3.0.1" string appended to the CSS and JavaScript files. It simply ignores them in automatic mode.

    Here is a snippet of code you can add to your functions.php file to strip out the version numbers:

    http://pastebin.com/6Rv8r5qG

  2. Galerio
    Member
    Posted 3 years ago #

    Thanks

  3. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Is anyone still having this issue with recent releases?

  4. moltar
    Member
    Posted 2 years ago #

    Just tested this and it seems to be resolved. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic