Summary
In this chapter, we built a very simple application that allowed us to cover multiple aspects of building a Laravel application, such as importing the initial data, optimizing the routing mechanism, integrating third-party data via HTTP requests, and using a cache mechanism via Octane Cache. We also used some Laravel Octane features in order to reduce the page loading response time thanks to the following:
Octane::route
for optimizing the routing resolution processOctane::concurrently
for optimizing and starting parallel tasks- Octane Cache for adding a cache based on Swoole to our application
We learned how to execute queries and API calls concurrently and use the cache mechanism for reusing the content across the requests.
In the next chapter, we will take a look at some other aspects of performance that are not strictly provided by Octane but can affect your Octane optimization process.
We will also apply a different strategy for caching using...