Skip to content
Discussion options

You must be logged in to vote

Hello @Noasmithhere

I think this is a classic case of Browser Caching. What you should do is a Hard Reload. Press Ctrl + Shift + R or Cmd + Shift + R (if you are using a Mac). This will forces the browser to bypass the cache and download everything fresh.

This happens because browsers store "static" assets like css and jsfiles locally to improve loading speeds. When you perform a standard refresh, the browser often checks its local cache first. If it thinks it already has the file, it won't download your updated version from the server, meaning you keep seeing the "old" button color.

However necessarily need to press ctrl+shift+R everytime you make a change. Since you are using PHP, you c…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Noasmithhere
Comment options

Answer selected by Noasmithhere
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Programming Help Discussions around programming languages, open source and software development
3 participants