Skip to main content

Recently Updated Pages

RDS Configuration Notes

Infrastructure (AWS) RDS

Warning: auto-generated passwords  When creating an RDS instance, if you choose "auto-generate a...

Updated 1 year ago by Ant

See Also

Efficiency & Performance

Media Transcoding The Media Transcoding book of this guide has a lot of useful information about...

Updated 1 year ago by Ant

Common items to cache client-side

Efficiency & Performance Client-side caching

Naturally, what you will want to cache in a client's browser depends a lot on your use case, but ...

Updated 1 year ago by Ant

Introduction to client-side caching

Efficiency & Performance Client-side caching

Differences vs. server-side caching Client-side caching is not secure, no matter what you do. ...

Updated 1 year ago by Ant

Caching Pitfalls

Efficiency & Performance Server-side caching

The nature of caching anything is that it is a tradeoff: in return for having quick access to som...

Updated 1 year ago by Ant

Implementing Rolling Rate Limits

Efficiency & Performance Server-side caching

Redis sorted sets are different from other collection types, in that they are a collection of uni...

Updated 1 year ago by Ant

Using Redis

Efficiency & Performance Server-side caching

Redis is a well-known, popular open-source caching software, built for simplicity and efficiency ...

Updated 1 year ago by Ant

Implementing a thumbnail generator

Media Transcoding Videos: Serverless Code

Prerequisites Make sure you've read the previous page on implementing video transcoding with ser...

Updated 1 year ago by Ant

Setting up Lambda for image resizing

Infrastructure (AWS) Lambda

Compiling sharp for x86_64 architecture To use Sharp for Node.js properly, we need to compile it...

Updated 1 year ago by Ant

Web Application Firewall (WAF)

Security Infrastructure Security

A Web Application Firewall (WAF) is basically like a normal firewall you'd have on your own PC, b...

Updated 1 year ago by Ant

Apache configuration

Security Webserver Security

Configuring Apache properly is essential for website security. Generally, pre-packaged webserver ...

Updated 1 year ago by Ant

User Input: Sanitization and Validation

Security Server-side Code Security

To protect your website from malicious attacks (and also simply to prevent weird errors for users...

Updated 1 year ago by Ant

Preventing Bot Activity

Moderation

Other than user-submitted content, the other type of content that you will have to deal with is b...

Updated 1 year ago by Ant

User Content Moderation

Moderation

If your website has any form of user-submitted content, then you are going to need some form of m...

Updated 1 year ago by Ant

Using a Content Delivery Network (CDN)

Setting Up Expanding your website: scaling conside...

Once you start having more than one webserver (and thus need a load balancer), or even before tha...

Updated 1 year ago by Ant

Storing User Sessions

Setting Up Expanding your website: scaling conside...

In most websites, user "sessions" are stored to keep users logged in, among other things. There a...

Updated 1 year ago by Ant

The purpose of this guide

Introduction Basic Overview

There is one main reason I have written this guide: Understanding the difficulty of website deve...

Updated 1 year ago by Ant

Rate Limits

Code Standards: Backend Redis: Cached Items and Rate Limits

For user actions that have a rate limit, like reblogging a given artwork, a rolling rate limit is...

Updated 1 year ago by Ant

Tippy Themes and Theme Presets

Code Standards: Frontend Tooltips

To customise the functionality of Tippy.js a bit more, Deserted Chateau also uses its own themePr...

Updated 1 year ago by Ant

Shell Tooltips

Code Standards: Frontend Tooltips

The format for shell tooltips is as follows: Backend Code (in PHP template file) <?php DynamicC...

Updated 1 year ago by Ant