Skip to main content

How to Reduce Website Latency Using Cloudflare


This guide shows you how to put your website behind Cloudflare (Free Plan) to reduce global latency and improve performance.

What This Will Do

  • Visitors in Asia, i.e., India, will hit the Cloudflare Mumbai edge server.
  • Cloudflare fetches content from your origin server (Australia)
  • Static files get cached globally
  • Latency drops dramatically

Step 1 — Create Free Cloudflare Account

  1. Go to https://cloudflare.com
  2. Click Sign Up
  3. Choose the Free Plan
  4. Click Add a Site
  5. Enter your domain:
    example.com

Step 2 — Cloudflare Scans DNS

Cloudflare will automatically detect your DNS records.

Make sure:

  • Your A record IP matches your current hosting server IP
  • The orange cloud ☁️ is ON (Proxied)
Type: A
Name: @
IP: 123.123.123.123
Proxy status: Proxied

If it’s gray → click it → turn orange.

Step 3 — Change Nameservers (MOST IMPORTANT)

Cloudflare will give you two nameservers like:

emma.ns.cloudflare.com
john.ns.cloudflare.com

Now go to your domain registrar (GoDaddy, Namecheap, Google Domains, etc.).

Find Nameserver Settings and replace the existing nameservers with the Cloudflare ones.

Wait 5–15 minutes (sometimes up to 1 hour) for activation.

You will receive an email: "Your domain is now active"

Step 4 — Enable Speed Optimizations

Speed → Optimization

  • ✔ Auto Minify (HTML, CSS, JS)
  • ✔ Brotli
  • ✔ HTTP/2
  • ✔ HTTP/3

Caching → Configuration

  • Caching Level: Standard
  • Browser Cache TTL: 1 month

Caching → Rules (Huge Performance Boost)

If URL matches: *
Then:
Cache Level: Cache Everything
Edge TTL: 1 hour

This allows even HTML to be cached at Cloudflare edge locations.

Optional But Powerful

Enable APO (Automatic Platform Optimization)

If you use WordPress, Cloudflare APO dramatically improves performance.

Cost: ~$5/month

Recommended for high-traffic sites.

Step 5 — Test Speed from India

  • GTmetrix (Mumbai location)
  • WebPageTest (India)
  • Ping from Indian VPS
Before: 600ms
After: 100–150ms

Common Mistakes

  • Forgetting to turn orange cloud ON
  • Not changing nameservers
  • DNS propagation not completed
  • Hosting firewall blocking Cloudflare IPs

SSL Recommendation

SSL/TLS → Overview

Set mode to:

Full (Strict)

Do NOT use "Flexible".

Expected Real-World Results

Location Before After Cloudflare
Australia 80ms 70–90ms
India 600ms 100–200ms

Summary

If your server is located in Australia, Cloudflare is the fastest and easiest solution to reduce latency for India users.

Setup time: ~10 minutes
Cost: Free


Further Reading




Contact Us

Name

Email *

Message *

Popular Posts

Online Simulator for ASK, FSK, and PSK Signal Generation

Interactive Digital Signal Processing (DSP) Tutorial and Simulator for ASK, FSK, and BPSK modulation techniques. Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025. Start Now Digital Modulation Visualizer: ASK, FSK, & BPSK Simulator Learn and visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. Perfect for DSP students and engineers. ๐Ÿ“ก ASK Simulator ๐Ÿ“ถ FSK Simulator ๐ŸŽš️ BPSK Simulator ๐Ÿ“š More Topics ASK Modulator FSK Modulator BPSK Modulator Demodulation More Topics 1. ASK (Ampli...

Direction of Arrival (DoA) Online Simulator (using MUSIC)

Interactive DOA Simulator X-axis XY angle (deg): 45 XZ angle (deg): 30 Noise: 0.05 Y-axis XY angle (deg): 60 YZ angle (deg): 45 Noise: 0.05 Z-axis XZ angle (deg): 60 YZ angle (deg): 30 Noise: 0.05 Estimated DOA (deg): 0 Simulation Workflow and Mathematical Background This simulator demonstrates Direction of Arrival (DOA) estimation using three-axis sensor signals (X, Y, Z), Maximal Ratio Combining (MRC) , and the MUSIC algorithm . It allows interactive control of signal angles and noise for teaching purposes. 1. Signal Generation A pure sinewave signal of frequency f is projected onto three axes using user-defined angles in different planes: X-axis: ฮธ XY , ฮธ XZ Y-axis: ฮธ XY , ฮธ YZ Z-axis: ฮธ XZ , ฮธ YZ Mathematically, for each time sample t : x(t) = s(t) * cos(ฮธ_xy_x) * cos(ฮธ_xz_x) + n_x(t) y(t) = s(t) * sin(ฮธ_xy_y) * cos(ฮธ_yz_y) + n_y(t) z(t) = s(t) * sin(ฮธ_xz_z) * sin(ฮธ_yz_z) + n_z(t) wh...

Constellation Diagrams of ASK, PSK, and FSK (with MATLAB Code + Simulator)

Constellation Diagrams: ASK, FSK, and PSK Comprehensive guide to signal space representation, including interactive simulators and MATLAB implementations. ๐Ÿ“˜ Overview ๐Ÿงฎ Simulator ⚖️ Theory ๐Ÿ“ˆ Q-function ๐Ÿ“š Resources BASK Modulation Transmits one of two signals: 0 or $\sqrt{E_b}$, representing binary 0 and 1. Simple but sensitive to noise. BFSK Modulation Transmits one of two signals: $\sqrt{E_b}$ on the Y-axis or $\sqrt{E_b}$ on the X-axis. These are orthogonal signals. BPSK Modulation Transmits $+\sqrt{E_b}$ or $-\sqrt{E_b}$ (antipodal signaling). Most efficient binary scheme. ...

UGC NET Electronic Science Previous Year Question Papers with Solutions

Download Papers and Solutions Exam Pattern Preparation Tips FAQs More Home / Engineering & Other Exams / UGC NET 2026 PYQ ๐Ÿ“Š Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) ๐Ÿ“ฅ Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading ๐Ÿ“‚ View All Question Papers June 2025 - Question Paper Download PDF June 2025 - Sol...

Gaussian minimum shift keying (GMSK)

๐Ÿ“˜ Overview & Theory ๐Ÿงฎ Simulator for GMSK ๐Ÿงฎ MSK and GMSK: Understanding the Relationship ๐Ÿงฎ MATLAB Code for GMSK ๐Ÿ“š Simulation Results for GMSK ๐Ÿ“š Q & A and Summary ๐Ÿ“š Further Reading Dive into the fascinating world of GMSK modulation, where continuous phase modulation and spectral efficiency come together for robust communication systems! Core Process of GMSK Modulation Phase Accumulation (Integration of Filtered Signal) After applying Gaussian filtering to the Non-Return-to-Zero (NRZ) signal, we integrate the smoothed signal to produce a continuous phase signal. For GMSK, the modulation index is $h=0.5$, meaning a bit '1' results in a phase shift of $\pi/2$: ฮธ(t) = 2ฯ€h ∫ 0 t m filtered (ฯ„) dฯ„ This integration is crucial for avoiding abrupt phase transitions, ensuring smooth and continuous phase changes. Phase Mo...

DSB-SC Modulation and Demodulation

๐Ÿ“˜ Overview ๐Ÿงฎ DSB-SC Modulator ๐Ÿงฎ DSB-SC Detector ๐Ÿงฎ Comparisons ๐Ÿงฎ Q & A Summary ๐Ÿ“š Further Reading Double-sideband suppressed-carrier transmission (DSB-SC) is transmission in which frequencies produced by amplitude modulation (AM) are symmetrically spaced above and below the carrier frequency and the carrier level is reduced to the lowest practical level, ideally being completely suppressed. In the DSB-SC modulation, unlike in AM, the wave carrier is not transmitted; thus, much of the power is distributed between the sidebands, which implies an increase of the cover in DSB-SC, compared to AM, for the same power use. DSB-SC transmission is a special case of double-sideband reduced carrier transmission. It is used for radio data systems. This model is frequently used in Amateur radio voice communications, especially on High-Frequency bands. Spectrum DSB-SC i...

MATLAB Code for Rms Delay Spread

RMS delay spread is crucial when you need to know how much the signal is dispersed in time due to multipath propagation, the spread (variance) around the average. In high-data-rate systems like LTE, 5G, or Wi-Fi, even small time dispersions can cause ISI. RMS delay spread is directly related to the amount of ISI in such systems. RMS Delay Spread [↗] Delay Spread Calculator Enter delays (ns) separated by commas: Enter powers (dB) separated by commas: Calculate   The above calculator Converts Power to Linear Scale: It correctly converts the power values from decibels (dB) to a linear scale. Calculates Mean Delay: It accurately computes the mean excess delay, which is the first moment of the power delay profile. Calculates RMS Delay Spread: It correctly calculates the RMS delay spread, defined as the square root of the second central moment of the power delay profile.   MATLAB Code  clc...