Gitlab Pages: Site image files (.PNG) not updating after edited, committed, and pushed
Summary
We have a static website generated with Sphinx documentation generator. After editing images, rebuilding the site locally, copying and replacing site files to the gitlab project folder, then committing and pushing, the image files displayed on the site are the originals. Launching the site locally from the local git tracked project folder displays the updated images, and the images within the repo on the gitlab project site show they have been updated when pushed, but regardless the original images are displayed.
Steps to reproduce
- Create a site with Sphinx with images
- Launch your site (in our case in a subfolder under the public for versioning, so public\version1\
- edit images on the site and overwrite them
- rebuild site locally
- delete everything in public\version1 of local git-tracked project folder
- Copy new build files in
- Commit and push edited and new files
- observe pseudo-updated site after 5 minutes or so.