css is not reflected only in my browser (I also tried to delete the cache).

Asked 2 years ago, Updated 2 years ago, 101 views

Regarding the rails application, I checked the post-deployment operation on chrome, safari, and Firefox on heroku, but css was not applied to any of them.I also tried to delete the cache, but it didn't work.My friend's pc shows it without any problems, but for some reason, I'm the only one who can't do it.After validating the element, file not found, and the css read error occurred in the first place.I've been trying to figure out how to solve this problem, but I haven't solved it yet.Professor, please.

ruby-on-rails css heroku browser

2022-09-29 20:25

1 Answers

After verifying the element, file not found and
Loading css is an error in the first place.

How did you perform this verification?
Open the developer tool in chrome and network status is 302
Does that mean that it is?

You may find out if there are any other files that are not found.

In general, if you are the only one who does not receive a cache update, it may be cached on the proxy server, and in that case, you can add CSS file creation version information such as ?20160920 to the URL and instruct them to go get the latest version.


2022-09-29 20:25

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.