• I’m having an issue with caching for logged in users. If a user clicks on this link as a guest its DOM loading in 3.95s. If you look at the waterfall on chrome you can see all of the minifide JS files and its working great. However, if the user then logs in, the JS files are not minifying.

    This is a list of JS files that show on the waterfall when logged in. What would stop the minification of these when a user is logged in???

    accounting.min.js
    
    admin-bar.min.js
    
    core-js.js
    
    fabric.min.js
    
    fontfaceobserver.js
    
    hooks.min.js
    
    hoverintent-js.min.js
    
    jquery-migrate.min.js
    
    jquery.blockUI.min.js
    
    jquery.min.js
    
    jquery.qtip.min.js
    
    jquery.validationEngine-en.js
    
    jquery.validationEngine.js
    
    js.cookie.min.js
    
    ofb-public.js
    
    oimageload.js
    
    oriontio.js
    
    regenerator-runtime.min.js
    
    toolbar.js
    
    vpc-cta-public.js
    
    vpc-defailt-skin.js
    
    vpc-msl-public.js
    
    vpc-public.js
    
    vpc-upload-public.js
    
    woocommerce.min.js
    
    wp-polyfill-inert.min.js
    
    wp-polyfill.min.js

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

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

    (@emrevona)

    ddi you disable the “Logged-in User” option of wp fastest cache?

    Thread Starter thatsinsurance

    (@thatsinsurance)

    Hi, yes this is disabled, here is the difference from logged out to logged in, first is logged out, you can see the cached items from your plugin and also the images

    Then logged in, same page:

    Once, I dont know how, but I got it to show the cached items when logged in, whether this was from cloudflare I don’t know. However, I really hope you can solve this, hands down it is the best cache plugin out there and works seamlessly with my cloudflare!

    Plugin Author Emre Vona

    (@emrevona)

    if cache has been created before, the logged-in user can see the cache version.

    Thread Starter thatsinsurance

    (@thatsinsurance)

    Hi but what if the cache has not been created before. Can it be set so that if a logged in user is on the site, that the page would be cached.

    Plugin Author Emre Vona

    (@emrevona)

    no. Cache is not created when a logged-in user visits a page.

    Thread Starter thatsinsurance

    (@thatsinsurance)

    So is there a way to change this in the code so that it does work this way?

    Plugin Author Emre Vona

    (@emrevona)

    If cache is created when a logged-in user visits, his name appears on the page.

    I recommend you to add a cron job to speed up the preload feature.
    https://www.wpfastestcache.com/features/preload-settings/#how-to-speed-up-manually

    Thread Starter thatsinsurance

    (@thatsinsurance)

    So how would I add the cron as a function on my wordpress I use a plugin for cron jobs on my site, but need to call it from somewhere

    Thread Starter thatsinsurance

    (@thatsinsurance)

    Also, would there be a way to force cache of any page with a specific title, even for logged in users? I have a page titled “Design Yours” it will never contain any sensitive information its just a configurator page but it loads twice as fast cached as without. It is definitely not caching for logged in users, even if a cache exists

    Plugin Author Emre Vona

    (@emrevona)

    So how would I add the cron as a function on my wordpress I use a plugin for cron jobs on my site, but need to call it from somewhere

    I recommend you to add a cronjob.

    Also, would there be a way to force cache of any page with a specific title, even for logged in users? I have a page titled “Design Yours” it will never contain any sensitive information its just a configurator page but it loads twice as fast cached as without. It is definitely not caching for logged in users, even if a cache exists

    no.

    havidz

    (@havidz)

    So, Logged In user always can’t read cache version? Because extreme slowly

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Plugin not caching for logged in users’ is closed to new replies.