The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
I’ve developed my first frontity site (hurrah!) and it’s time for deployment. I tried to use vercel but since I exceed their build timeout of 10s for the free plan, I need to use my own VPS for cost reasons.
Therefore I’m serving Frontity via PM2 and NGINX on a Ubuntu 18.04. I believe the framework is rapid once loaded, but the initial load takes too long time in my opinion.
Do you maybe have any tips on how to enable cache for common GET-routes? Most pages contain the same content, only the webshop pages may vary. But these don’t need SSR either way.
Please bear in mind that the Embedded mode still a proof of concept, although we’ve been using it for a couple of months in production in our https://frontity.org site and we haven’t seen any problems so far.
I especially like the Simple Cache plugin for medium/small sites because it’s really fast and simple. This is a great article comparing it to Varnish and Nginx Fast CGI: https://spinupwp.com/wordpress-page-cache-plugins-nginx/. As you can see, it’s pretty fast. I’m planning to do a PR to add support for the REST API as well.
For the REST API cache, we recommend Acato’s REST Cache plugin.
2 Likes
lagerroos3
Hey @luisherranz,
Thanks for the fast and detailed reply. I actually have REST API Cache plugin activated already, but will need to look into your Embedded mode plugin a little bit in the weekend to see how this will fit me.
I’ll mark your reply as the solution for now, as there’s no real “solution” just things you can do to provide more performance But I really appreciate your help, great thanks!