• Resolved romaniglin

    (@romaniglin)


    I’m using the “Enable 404 fallbacks” option and I’m going to add the setting to the Nginx file, but I couldn’t find the file ‘autoptimize_fallback.css’ in the /wp-content/cache/autoptimize/1/css/ folder (this is a multisite). At the same time, the file autoptimize_fallback.js is present in the /wp-content/cache/autoptimize/1/js/ folder.


    WordPress 6.4.1
    Autoptimaze 3.1.10
    WPengine hosting.

    Any ideas? Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the fallback files are only created when “aggregate” is on romaniglin, so if you want to be able to rely on the fallbacks you’ll have to (consider) to aggregate the CSS (and JS).

    I have an item on my backlog to somehow take care of missing files when “aggregate” is off but (a) it’ll require a change in how/ where autoptimized files are stored but fortunately (b) the impact of missing files when not aggregating is typically a lot smaller.

    hope this clarifies,
    frank

    Thread Starter romaniglin

    (@romaniglin)

    Thanks for the quick response. It really started to generate autoptimize_fallback.css after I enabled aggregation for CSS files.
    If I change the file name for generated autoptimize_2efe….css in the inspector, redirecting to the autooptimize_fallback.css file starts working.
    To clarify, Do I need to add settings for nginx in this case, or does it work as it should?

    Thanks

    • This reply was modified 2 years, 6 months ago by romaniglin.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    if the redirection works in your test, changes in nginx are indeed not needed any more.

    Thread Starter romaniglin

    (@romaniglin)

    Resolved. Thank you!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

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

The topic ‘Missing file autoptimize_fallback.css’ is closed to new replies.