Support » Plugin: WP Fastest Cache » Different css files served when logged out and logged in

  • Hello

    We currently have an issue with WP Fastest Cache used with cloudflare where, if a user is not logged in the site, we are getting a minified/combined css from wp fastest cache with the updates for our css. Once logged in however, the older, non combined css files are served so the site looks broken, especially on mobile. we’ve cleared the caches in cloudflare and wp fastest cache but the behavior is still the same.

    What could be done to remedy this?

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Emre Vona

    (@emrevona)

    did you add the cloudflare integration as below?

    https://www.wpfastestcache.com/tutorial/wp-fastest-cache-cloudflare/

    Thread Starter carlcs

    (@carlcs)

    hi

    we’ll take a look and see if this will solve our problem

    thanks

    Plugin Author Emre Vona

    (@emrevona)

    Please let me know

    Thread Starter carlcs

    (@carlcs)

    hi emre

    thanks for the reply. I tested this in our staging setup with the cdn integration and it worked properly. We’ll test with our production setup in later and hopefully the results would be the same

    thanks

    Plugin Author Emre Vona

    (@emrevona)

    you are welcome 🙂 if you vote, you make me so happy.

    https://wordpress.org/support/plugin/wp-fastest-cache/reviews/?rate=5#new-post

    Thread Starter carlcs

    (@carlcs)

    hi emre

    i did some further review and it looks like one reason it was working in our staging site was because we had the plugin “Busted” installed so there’s an extra part of the query string from Busted which gets updated when a file is updated i believe so there’s a forced browser refresh. Activating this in production solved the non updating css issue i had.

    That said, we did notice that files are still served differently whether i’m logged in or out. When i’m logged out, the files served are the minified files, logged in, the unminified files are served. Is this related to the “Don’t show the cached version for logged in users”? That’s the only option i saw there related to logged in users

    thanks

    Plugin Author Emre Vona

    (@emrevona)

    Admins cannot see the cached version and minified sources.

    Thread Starter carlcs

    (@carlcs)

    oh i see. it behaves differently when an admin is using the site. that explains a lot.

    thank you

    Thread Starter carlcs

    (@carlcs)

    So does the setting “Don’t show the cached version for logged in users” only apply for admin users?

    Plugin Author Emre Vona

    (@emrevona)

    The admin users cannot see the cached version although “logged-in user” option is enabled or not.
    If you enabled “logged-in user” option, all logged-in users cannot see the cached.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Different css files served when logged out and logged in’ is closed to new replies.