I think that a server-cache solution is essential for every website and a good Google ranking.
Especially for beginners like me, working and learning with other tools like Docker and Redis is very difficult.
Why does it have to be so complicated?
In Wordpress, this is a simple plugin that checks in .htaccess whether a rendered version of the page is in the folder (cache) and then loads it. If none exists, it will be created.
I can’t imagine this being that complicated for experienced programmers.
But above all, I am convinced that a simple solution will help everyone here.
Which part of your site/pages do you need to cache - server side data, css/js files, images?
When do you need the cache? For how long? When should the cache be reset?
It’s not very clear from your request what do you need exactly - you mention docker and redis? What server model are you using and what type of hosting?
The cache should include the rendered website with database content, so that only the images need to be loaded to optimize the loading time of the website.
Well this means server-side rendering. This is not how App Connect works. App Connect is a front-end framework like vue.js that renders dynamic data on page load.
Are you aware you can cache your server action dynamic data easily?
Also your screenshots show some results of your page loading slowly, this doesn’t necessarily mean cache will solve your issues, you should look into optimizing your page/content/layout.
May I add something. Lighthouse is for guidance. We see what we can only call scatty results in Lighthouse that in no way reflect our page speed (up and down like a yoyo and rarely give the same result). Too much focus is given to Lighthouse and improving scores. The proof is in the pudding. How does your page load for you? If you want to cache images (on your own server) use Cloudflare (the Free Tier will do everything you require). If you want to dive deeper you can enable Redis and use it to cache the page layout and not the data, or both data and layout. Then use Google Developer tools like Page Speed and Rich Results Test to check your page and forget about Lighthouse. Others will disagree with me on Lighthouse but I reiterate any page speed test (Lighthouse or Google) is to be taken with a very large pinch of salt!
Your hosting provider has LSCache, I believe it’s your best solution available so far to achieve the equivalent of:
Because there’s no Wappler “plug-in” for LSCache, you must manually configure it in .htaccess.
However, I’m not sure if this will make it fast enough for your liking - you might also want is to minify the JS/CSS assets, and there’s no Wappler plug-in made for that yet, and doesn’t seem like there’s enough demand for it yet.
But, honestly, it seems these might only bring marginal improvements, there are a lot of images on your website, I think that’s why it’s so “slow” to load… Are you sure an equivalent Wordpress website with the same amount of images would be faster to load?
I would also look at leaving this out and let it load normally (with defer attribute) <link rel="preload" as="script" href="/dmxAppConnect/dmxRouting/dmxRouting.js">