Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author JoomUnited

    (@joomunited)

    Thanks a lot for your feedback, it’s really appreciated ??

    Thread Starter elensarfx

    (@elensarfx)

    Is there a way to do_action after order? I have widget on shop page sidebar that need to be regenerated/cleared from cache for the user (widget with orders count, spent [static php widget not ajax]). I already add custom page with spent history to excluded pages, but unable to find a way to clear e-shop frontpage with widget.
    Thank you

    Thread Starter elensarfx

    (@elensarfx)

    [solved] I generate empty widget for the cache and add ajax call which replace widget data with actual orders count etc. with new informations on every page load.
    Thank you

    Plugin Author JoomUnited

    (@joomunited)

    Hi,

    Sounds as a great idea! Usually there’s no real solution for that, even in premium cache plugins like WP Rocket. We’ve plan to develop a cache system per user for dynamic elements.
    Can I get a link of your website where you did the trick?

    Cheers,

    Thread Starter elensarfx

    (@elensarfx)

    Can you tell me more about “caching by role in ythe current version”, now from my tests your cache already support cache by roles(?). I have different menus and disabled access to some pages and all works. From the server logs different roles and their page hit (to same url). Php code which handle page access and unset menus etc. is executed. So whole page is cached for each session/role? When i log as different user new folder in the cache is created… (great) (need more info or link how it works ?? to avoid future problems on my side)

    I tested some timing for cleanup “Automatically cleanup the cache stored each x minutes and generate a new version instantly”. Cleanup works(whole cache is destroyed), but page must be visited after cleanup by user. There is no cron which regenerate/revisit/byrole all deleted pages. So text “and generate a new version instantly” is not accurate (its maybe impossible to revisit/regenerate pages without login by role…). Is it true?

    Thank you for your time/work

    Plugin Author JoomUnited

    (@joomunited)

    OK, this is not not exactly what I mean ?? As you may know we’re also developing extension for Joomla and we already develop something similar. It’s a cache system per user not per user role.

    Search for “Dynamic elements in cache” here:
    https://www.joomunited.com/products/speed-cache

    The idea is to have a cache file per user with custom data (like a cart content). It’s a way to handle dynamic content and cache system instead of just excluding content from cache.

    The automatic cache preloader has not been implemented yet, it’s planned for the next version. This is a tricky option because it has to be controlled as it may require tons of resources if you regenerate 5000 cached pages and even more in case of the user cache.

    The purpose of the plugin is to optimize performance not the opposite, right? ??

    Can you give more details about your “I generate empty widget for the cache and add ajax call which replace widget data with actual orders count etc. ”

    Cheers,

    Thread Starter elensarfx

    (@elensarfx)

    Hi,
    Ok great info, your cache is per user so if different user have different role still works ;-), this is the killer feature for me!
    Add some details to your plugin info about per caching per user. And if you have more time, you can correct url in the end of plugin info “https://www.joomunited.com/documentation/wp-speed-of-light-documentation)” there is “)” at the end.

    Regarding widget.. Nothing special (you know it), simple but solution to mix cached/dynamic content. In the sidebar I add my two widgets with no data, in my case order count and spent points. Page is generated, for the admin/fronted is loaded JS script which calls ajax request. In the response callback, JQ find the widget elements and fill with points and order count (or zero if user is not logged). All my users are logged when their access their shop.

    The purpose of the plugin is to optimize performance.. Yes of course ??

    I like your cache, simple GUI and works as I need (I tested many caches, and each have different problems). For now I have only positive feel from your plugin (server too).

    Btw. 40m to cleanup cache is too small, I have no reason to clean. Cache is cleaned when I update products or post. When I setup different permission for my user roles or something that your cache cant predict I hit the button ??

    thank you

    Thread Starter elensarfx

    (@elensarfx)

    I cant reply with m y answer I getting still, even when I reformat change:
    ERROR: Duplicate reply detected; it looks as though you’ve already said that!

    Thread Starter elensarfx

    (@elensarfx)

    (after 30min fight with formating) DELETED…, same as reply above…

    • This reply was modified 8 years, 3 months ago by elensarfx.
    • This reply was modified 8 years, 3 months ago by elensarfx.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Perfect cache’ is closed to new replies.