Why Browser Send No Cache In Http Request Cache Control Header

When you browse any web page ( google.com, yahoo.com, bing.com ) in a modern web browser, if you inspect the request HTTP headers, you can find the cache-control : no-cache header, this header is always used in the HTTP response header. But why it is used in the HTTP request header, this article will tell you the

Why Browser Send No Cache In Http Request Cache Control Header Read More »

How Web Caching Works In CDN ( Proxy ) Chain Use Cache-Control Http Header

When a web browser requests a web page from the original web server, the request may go through several intermediary proxy or CDN servers like the below picture. Each node in the chain ( includes both client browser, CDN proxy server, and original webserver ) can cache the requested web page resources follow their own

How Web Caching Works In CDN ( Proxy ) Chain Use Cache-Control Http Header Read More »

How To Verify If CloudFlare CDN Cached Your Website Html Content, CSS, Images, JS Files

If you use Cloudflare as your website CDN server ( HTTP proxy server ), you must want to check whether your web page resources ( CSS, js, images, Html content ) have been cached by Cloudflare or not. Cloudflare adds an HTTP header CF-Cache-Status with various header values in the HTTP response to tell you

How To Verify If CloudFlare CDN Cached Your Website Html Content, CSS, Images, JS Files Read More »

How To View HTTP Headers, Cookies In Google Chrome, Firefox, Internet Explorer

When you develop a web application, you sometimes need to view HTTP headers or cookies values in a web browser to verify whether your code executes correctly or not. This example will tell you how to find and view the HTTP header value and cookies in both Google Chrome, Mozilla Firefox, and Microsoft internet explorer.

How To View HTTP Headers, Cookies In Google Chrome, Firefox, Internet Explorer Read More »

How To Pass Parameters To View Via Url In Django

Pass parameters via URL in Django is not as same as java or Php which use a question mark and key-value pairs ( for example http://127.0.0.1:8080/login.jsp?username=jerry&password=12345678). Django uses a more clear, readable, and SEO-friendly way to pass parameters in URL like http://127.0.0.1:8080/login/jerry/12345678. The first section after login is the username, and the section after jerry

How To Pass Parameters To View Via Url In Django Read More »

How To Fix Django Url NoReverseMatch Error – Reverse For With Keyword Arguments Not Found

The Django Bootstrap3 Example article tells you how to develop a user, department, and employee management website using Django and bootstrap3. The example website provides a user, department, and employee list page. Now I want to add a link to the employee name on the employee list page. Then when the user clicks the employee

How To Fix Django Url NoReverseMatch Error – Reverse For With Keyword Arguments Not Found Read More »

How To Display Rich Output Media ( Audio, Video, Image etc) In IPython Jupyter Notebook

The package IPython.display provides a lot of classes for you to display rich media objects in the Jupyter notebook directly and immediately. Using classes in the IPython.display package, you can display audio (local or remote ), video(youtube or local ), image, local file links, Html data in the Jupyter notebook. This article will show you

How To Display Rich Output Media ( Audio, Video, Image etc) In IPython Jupyter Notebook Read More »