skip to Main Content

I was changing a few files ( using both FTP or Cpanel file editor ) on Cpanel. At first, the changes I was making to the CSS HTML files were being shown on my site, but now they are not. I have cleared my browser cache, restarted my computer, used an incognito window. Nothing is helping. I even asked my CPANEL support, they said there is an issue with my .htpaccess file, but I can’t even see that final anywhere on my file manager let alone edit it. I am doing basic edits on CSS (font size changes, alignment, etc) so I don’t know if there is an issue with the coding?

2

Answers


  1. There are a few things that can cause this.

    Firstly try ctrl + F5 which clears the cache when reloading. Web browsers cache data like styling to speed up load times.

    Next if you still don’t notice a difference, view the source of the live code and open the css file. In there you can verify the code is updated, if not you haven’t uploaded it properly.

    Since you’re host mentioned your .htaccess file, I’ll give you a quick tip. On cPanel file manager, click settings and enable dotfiles to be shown which will allow you to see it. the .htaccess file could be the culprit to server side caching which would explain nothing happening on restart. If that’s the issue you need to contact your provider asking what server side caching software is in use and what can you do to disable it.

    Once fully developed remember to turn it back on for extra site performance.

    Login or Signup to reply.
  2. After making changes to the CSS file, go to the browser and hit control shift r for a hard restart. This will eliminate the cache and use your updated changes.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search