CSS slow response time with Sinatra
|Added at||2016-12-28 19:12|
I have searched high and low and cannot seem to find an answer to my question. I am creating a webpage using Ruby and Sinatra and I have had some issues with my /css/styles.css. I know that my routing is correct because I have styles being applied to my site; however, I have noticed that sometimes (more often than I'd like) the styles do not want to load. I have a form field that I have hidden with:
This has been working; however, when I remove it and put it back it just doesn't seem to want to load. This is just one example, but many times, styles do not get applied right away. It may take up to 10 minutes or so for the styles to be applied. As I am sure you can imagine, this really slows down the process. I have tried opening the console, going to sources, and refreshing, but it doesn't seem to affect anything.
Has anybody experienced this before and know what may be causing this?