Book Image

Hands-On Enterprise Application Development with Python

By : Saurabh Badhwar
Book Image

Hands-On Enterprise Application Development with Python

By: Saurabh Badhwar

Overview of this book

Dynamically typed languages like Python are continuously improving. With the addition of exciting new features and a wide selection of modern libraries and frameworks, Python has emerged as an ideal language for developing enterprise applications. Hands-On Enterprise Application Development with Python will show you how to build effective applications that are stable, secure, and easily scalable. The book is a detailed guide to building an end-to-end enterprise-grade application in Python. You will learn how to effectively implement Python features and design patterns that will positively impact your application lifecycle. The book also covers advanced concurrency techniques that will help you build a RESTful application with an optimized frontend. Given that security and stability are the foundation for an enterprise application, you’ll be trained on effective testing, performance analysis, and security practices, and understand how to embed them in your codebase during the initial phase. You’ll also be guided in how to move on from a monolithic architecture to one that is service oriented, leveraging microservices and serverless deployment techniques. By the end of the book, you will have become proficient at building efficient enterprise applications in Python.
Table of Contents (24 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

Utilizing client-side caching


Caching has long been used to speed up the loading of resources that are frequently used. For example, most of the modern operating systems utilize caching for providing faster access to the most frequently used applications. The web browsers also utilize caching to provide quicker access to resources when the user visits the same website again. This is done so as to avoid fetching the same files from the remote server again and again if they haven't changed and hence reducing the amount of data transfer that may be required, while also improving the rendering time for the page.

Now, in the world of enterprise applications, something like client-side caching can prove to be really useful. This happens because of the following reasons:

  • Enterprise applications, once designed, usually do not see abrupt changes to their code base. This keeps most of the resources required to render a web page the same over a long period of time, which makes them a good candidate for...