Support » Plugin: Filename based asset cache busting » wp-engine failing with plugin

  • I am pretty new to wordpress and plugins.. so bear with me. I am trying to clean up some of the caching weirdness we are seeing with our site and found this plugin which seems to take a good approach to clearing up most of the issue we have. I have gone through the install and adding of redirect rules.. Everything looks correct, but when I load page I get a bunch of 404s for filename not found; where filename is typically some foobar.21343434.css file… It looks like the mapping to the real files is not happening in apache or something. Any ideas?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author benlumley

    (@benlumley)

    Hello,

    Just checked and you aren’t running the plugin – so presumably didn’t get it sorted.

    There’s some specific config required within the wpengine portal to get things to work – you need to add redirects – from the plugin docs:

    To work on WP-Engine, you’ll need the following redirect added via my.wpengine -> installname -> Redirect rules

    Source: ^(.+)\.([0-9\.]+)\.(js|css)$
    Dest: $1.$3
    Type: break (this is under advanced)

    WP-Engine is the main host I’ve used the plugin with, so this definitely works.

    If you can’t get it going – I have today released a new version which includes a settings page (Settings -> Cache-Busting) that lets you switch the plugin to use a querystring instead of a filename. Filenames are more reliable for cachebusting, but querystrings should just work without special config and will more than likely still work – so perhaps give that a try.

Viewing 1 replies (of 1 total)
  • The topic ‘wp-engine failing with plugin’ is closed to new replies.