Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Articles Tagged ‘cache’

Using the cache engine in Laravel for better performance

Sunday, July 19th, 2015 by Servage
cache-redisOne of the common problems with website performance is slow load times due to long response times from the server. The response can be slowed down for various reasons, and thankfully there are also multiple points where optimization can occur. Regardless of network issues on either end of the connection, you can always optimize load times with caching. This may even be a significant improvement, especially when caching database operations. Laravel cache engine In the Laravel framework caching is built into the core and is therefore available in the default installation. You can basically cache anything right from your PHP code. This is useful for caching both direct database results, but also processed ...

Using cache to optimize your website performance

Wednesday, March 4th, 2015 by Servage
cache-timeMost growing web projects will experience performance problems at some point. Usually this can be relieved by optimizing code and workflows. Especially database request are a big concern when it comes to optimizing website performance. These request happen while a script executes and must finish before the visitor can receive the response. This is often a bottleneck due to inefficient programming, and can be highly optimized. There are different approaches to this, and also very different stages during a response generation where caching can be applied. Therefore please take this as inspiration how to improve your site performance. The example below starts with the most generic caching available, ending up with the ...