The article discusses how to validate the word count of web pages for SEO purposes. It explains the steps to extract the text from the HTML document and clean it up to count the number of words.
By Christoph Schiessl on JavaScript
min()
and max()
Functions
Python's min()
and max()
functions can take an iterable
or multiple positional parameters, and support a key parameter for custom comparisons.
By Christoph Schiessl on Python
Learn how to have your OS randomly select a port number for your web server to get around the issue of hard-coded ports during development.
By Christoph Schiessl on Python, FastAPI, and DevOps
sum()
Function
In this article, we explore Python's built-in sum()
function, its parameters, and some extreme use cases it wasn't even designed for.
By Christoph Schiessl on Python
Last-Modified
and If-Modified-Since
Headers
Learn about timestamp-based caching in HTTP using the Last-Modified
and If-Modified-Since
headers, with Python's FastAPI as an example.
By Christoph Schiessl on Python and FastAPI
I send two weekly emails on building performant and resilient Web Applications with Python, JavaScript and PostgreSQL. No spam. Unscubscribe at any time.