I had this old site deployed using Gatsby on the domain named – jarmos.netlify.app. It’s been deleted a while ago & that same domain name was reassigned to this new site I deployed using Pelican. Yet the old site still loads when I visit the domain mentioned above. Why is it so?
Things I attempted in hopes of resolving the issue:
Cleared browser cache
A hard refresh with
ctrl+Shift+Rloads the new site but reverts back to the old one when I perform a soft refresh using
Redeployed this new Pelican site from scratch.
Some more info which might be helpful for you:
Last deploy performed on 2020-10-03T08:43:00Z
2:13:45 PM: Build ready to start 2:13:47 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6 2:13:47 PM: build-image tag: v3.4.1 2:13:47 PM: buildbot version: 0e3cc7aef5c33f731b54ed4b65d515eaab821679 2:13:47 PM: Fetching cached dependencies 2:13:47 PM: Failed to fetch cache, continuing with build 2:13:47 PM: Starting to prepare the repo for build 2:13:47 PM: No cached dependencies found. Cloning fresh repo 2:13:47 PM: git clone https://github.com/Jarmos-san/blog 2:13:48 PM: Preparing Git Reference refs/heads/master 2:13:50 PM: Starting build script 2:13:50 PM: Installing dependencies 2:13:50 PM: Python version set to 3.7 2:13:51 PM: v12.18.0 is already installed. 2:13:51 PM: Now using node v12.18.0 (npm v6.14.4) 2:13:51 PM: Started restoring cached build plugins 2:13:51 PM: Finished restoring cached build plugins 2:13:52 PM: Attempting ruby version 2.7.1, read from environment 2:13:53 PM: Using ruby version 2.7.1 2:13:53 PM: Using PHP version 5.6 2:13:53 PM: Installing pip dependencies 2:13:53 PM: Started restoring cached pip cache 2:13:53 PM: Finished restoring cached pip cache 2:13:55 PM: Collecting blinker==1.4 2:13:55 PM: Downloading blinker-1.4.tar.gz (111 kB) 2:13:56 PM: Collecting docutils==0.16 2:13:56 PM: Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) 2:13:56 PM: Collecting feedgenerator==1.9.1 2:13:56 PM: Downloading feedgenerator-1.9.1-py3-none-any.whl (22 kB) 2:13:57 PM: Collecting Jinja2==2.11.2 2:13:57 PM: Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) 2:13:57 PM: Collecting MarkupSafe==1.1.1 2:13:57 PM: Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB) 2:13:57 PM: Collecting pelican==4.5.0 2:13:57 PM: Downloading pelican-4.5.0-py2.py3-none-any.whl (673 kB) 2:13:57 PM: Collecting Pygments==2.7.1 2:13:57 PM: Downloading Pygments-2.7.1-py3-none-any.whl (944 kB) 2:13:57 PM: Collecting python-dateutil==2.8.1 2:13:57 PM: Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) 2:13:58 PM: Collecting pytz==2020.1 2:13:58 PM: Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB) 2:13:58 PM: Collecting six==1.15.0 2:13:58 PM: Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) 2:13:58 PM: Collecting Unidecode==1.1.1 2:13:58 PM: Downloading Unidecode-1.1.1-py2.py3-none-any.whl (238 kB) 2:13:58 PM: Building wheels for collected packages: blinker 2:13:58 PM: Building wheel for blinker (setup.py): started 2:13:58 PM: Building wheel for blinker (setup.py): finished with status 'done' 2:13:58 PM: Created wheel for blinker: filename=blinker-1.4-py3-none-any.whl size=13452 sha256=321d55252517f9cca96168929e19baff3ab652565970fd5d059df9b6f43b7f9c 2:13:58 PM: Stored in directory: /opt/buildhome/.cache/pip/wheels/22/f5/18/df711b66eb25b21325c132757d4314db9ac5e8dabeaf196eab 2:13:58 PM: Successfully built blinker 2:13:58 PM: Installing collected packages: blinker, docutils, pytz, six, feedgenerator, MarkupSafe, Jinja2, python-dateutil, Unidecode, Pygments, pelican 2:14:01 PM: Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 Pygments-2.7.1 Unidecode-1.1.1 blinker-1.4 docutils-0.16 feedgenerator-1.9.1 pelican-4.5.0 python-dateutil-2.8.1 pytz-2020.1 six-1.15.0 2:14:01 PM: WARNING: You are using pip version 20.2b1; however, version 20.2.3 is available. 2:14:01 PM: You should consider upgrading via the '/opt/build home/python3.7/bin/python3.7 -m pip install --upgrade pip' command. 2:14:02 PM: Pip dependencies installed 2:14:02 PM: 5.2 is already installed. 2:14:02 PM: Using Swift version 5.2 2:14:02 PM: Started restoring cached go cache 2:14:02 PM: Finished restoring cached go cache 2:14:02 PM: go version go1.14.4 linux/amd64 2:14:02 PM: go version go1.14.4 linux/amd64 2:14:02 PM: Installing missing commands 2:14:02 PM: Verify run directory 2:14:03 PM: 2:14:03 PM: ┌─────────────────────────────┐ 2:14:03 PM: │ Netlify Build │ 2:14:03 PM: └─────────────────────────────┘ 2:14:03 PM: 2:14:03 PM: ❯ Version 2:14:03 PM: @netlify/build 4.6.3 2:14:03 PM: 2:14:03 PM: ❯ Flags 2:14:03 PM: deployId: 5f7839c183304eeb6af89616 2:14:03 PM: mode: buildbot 2:14:03 PM: 2:14:03 PM: ❯ Current directory 2:14:03 PM: /opt/build/repo 2:14:03 PM: 2:14:03 PM: ❯ Config file 2:14:03 PM: /opt/build/repo/netlify.toml 2:14:03 PM: 2:14:03 PM: ❯ Context 2:14:03 PM: production 2:14:03 PM: 2:14:03 PM: ┌────────────────────────────────────┐ 2:14:03 PM: │ 1. build.command from netlify.toml │ 2:14:03 PM: └────────────────────────────────────┘ 2:14:03 PM: 2:14:03 PM: $ pelican -s pelicanconf.py content 2:14:03 PM: WARNING: Removed extraneous trailing slash from SITEURL. 2:14:03 PM: WARNING: Document title missing in file /opt/build/repo/content/2020-08-13---traditional-vs-deep-learning-cv-techniques.rst: Ensure exactly one top level section 2:14:03 PM: Done: Processed 2 articles, 0 drafts, 0 pages, 0 hidden pages and 0 draft pages in 0.22 seconds. 2:14:04 PM: 2:14:04 PM: (build.command completed in 594ms) 2:14:04 PM: 2:14:04 PM: ┌─────────────────────────────┐ 2:14:04 PM: │ Netlify Build Complete │ 2:14:04 PM: └─────────────────────────────┘ 2:14:04 PM: 2:14:04 PM: (Netlify Build completed in 640ms) 2:14:04 PM: Caching artifacts 2:14:04 PM: Started saving build plugins 2:14:04 PM: Finished saving build plugins 2:14:04 PM: Started saving pip cache 2:14:04 PM: Finished saving pip cache 2:14:04 PM: Started saving emacs cask dependencies 2:14:04 PM: Finished saving emacs cask dependencies 2:14:04 PM: Started saving maven dependencies 2:14:04 PM: Finished saving maven dependencies 2:14:04 PM: Started saving boot dependencies 2:14:04 PM: Finished saving boot dependencies 2:14:04 PM: Started saving go dependencies 2:14:04 PM: Finished saving go dependencies 2:14:07 PM: Build script success 2:14:07 PM: Creating deploy upload records 2:14:07 PM: Starting to deploy site from 'output' 2:14:07 PM: Creating deploy tree 2:14:07 PM: 0 new files to upload 2:14:07 PM: 0 new functions to upload 2:14:07 PM: Starting post processing 2:14:07 PM: Post processing - HTML 2:14:08 PM: Post processing - header rules 2:14:08 PM: Post processing - redirect rules 2:14:09 PM: Post processing done 2:14:09 PM: Site is live 2:14:17 PM: Finished processing build request in 30.367412711s
EDIT: The disucssion in this thread Deleting a Gatsby site: how do I get the browser to clear the cache? #15623 was helpful & my site works as its expected to.