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

    (@optimizingmatters)

    looks like you have HTML in a page cache which refers to files that are already removed from Autoptimize’s cache, try clearing any page cache you might have and it should be fixed @kalaydee

    hope this helps,
    frank

    Thread Starter kalaydee

    (@kalaydee)

    Hi Frank, I’ve already tried that several times but it still doesn’t work.
    The site loads the CSS whenever I’m logged in as the admin, but it doesn’t when I’ve logged out. Any idea why this happens?

    Thanks.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    The site loads the CSS whenever I’m logged in as the admin, but it doesn’t when I’ve logged out.

    well, that would if you have the option to also run autoptimize for logged on users off.

    based on what I could see requests for the autoptimized CSS (and JS) returned a “file not found” (404) error. as AO only removes files when you click on “save changes and empty cache”, either you clicked that option to save changes in the configuration (try the button next to it instead) or something else is removing autoptimized files from the cache?

    Thread Starter kalaydee

    (@kalaydee)

    Run for logged off users? How do you do that?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, there’s an option “Also optimize for logged in users?” which is active by default. if you un-ticked that, you would see an un-autoptimized site when logged in?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    wrong window 🙂

    Thread Starter kalaydee

    (@kalaydee)

    Hey Frank, I’ve tried selecting and deselecting the option for “Also optimize for logged in users?”, buut the site is still broken.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I’ve tried selecting and deselecting the option for “Also optimize for logged in users?”, buut the site is still broken.

    I mentioned the option as an explanation of why it might be it worked as logged in user but not for others, this indeed cannot solve files being removed from cache somehow I’m afraid.

    The only solution would be to found out how files are being removed from cache (you clicking “save changes & empty cache” on Autoptimize’s settings screen?) and making sure that does not happen.

    frank

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

The topic ‘CSS does not load’ is closed to new replies.