Thursday, August 30, 2018

Improving Caching With ESI Tags

For a recent project, we had to create a brand new homepage, fully manageable by our customer using Foreach's own WebCms functionality. This page would have to be served in three flavors: one for subscribers, one for users that have registered but lack a subscription, and one for anonymous users.

Because this page would be the first thing a user sees when they surf to the website, speed is of the utmost importance. When thinking about speed, the first thing that comes to mind (after optimizing the code, obviously) is to cache a lot of data: when you cache all the data you need on the backend, the load time of the page will improve. But what if we want to improve the load time even more? Well, that’s where the ESI tags enter the picture.



from DZone.com Feed https://ift.tt/2Nwz1K4

No comments:

Post a Comment