Cache-Control is a http request header, it tells the browser to cache html resources or not and how long they are cached. you can improve site performance by using Cache-Control.
Cache website images can speed up our website, in this tutorial, we will introduce an easy way to do this: Using a .htaccess file to cache our site images.
In python, we can call windows exe application to run with os.popen(). However, there is a problem we must fix. For example, if you call a cmd and there some white space in it. You will fail.
In this tutorial, we will introduce how to fix python TypeError: object is not subscriptable. From this tutorial, we can learn why this error occur and how to void and fix it.
WebP image is one of best image format used on sites, it is smaller than other image formats, such as jpg and png. In this tutorial, we will introduce how to convert png, jpg to webp image, you can change your website images to webp by our this tutorial.
Here are some ways to remove duplicate elements in python list. In this tutorial, we will introduce the most simple way to do. You can follow our example to do it.
Python list is a common used data type in python, in this tutorial, we will introduce you how to sort a list. You can learn how to sort by following our tutorial.
In many python applications, we have to process ascii python string, which means we should detect a python string contains non-ascii characters or not. In this tutorial, we will tell you how to do.
ASCII is American Standard Code for Information Interchange. In this tutorial, we will list a full table of ascii characters.
In this tutorial, we will introduce on how to fix SyntaxError: Non-UTF-8 code starting with. From this tutorial, we will learn why this error occur and know how to fix it.