Reputation: 337
I will make a website using Laravel as frontend and Golang as Backend. I use ElasticSearch as a database that is accessed directly by golang and MySQL as backups. Target website this is schools in Indonesia with potential users more than 5 million.
This is certainly because some forums complain about the performance of laravel speed.
My question is the best practice for this condition? Should I use Redis or the like? Thanks
Upvotes: 0
Views: 1090
Reputation: 363
You can use redis to cache the HTML of the site. I had similar issue, what I did was cache the html content of the page some time on redis. Also used cron job to refresh the cache regularly. The process may differ as your site seems to have more feature of search and all. Use redis to cache the content and search results. You can also cache css, js or any resource files using other features such as cloudflare cache. Here is what I did with my site. You can find a example of caching a single page in the link.
Upvotes: 1
Reputation: 407
for more information go to here link
Upvotes: 2