• I’m not sure if this is the right section to post this – apologies if I’m wrong!
    I’ve been playing with CSS on my blog (https://theconnexion.net/wp) Although content updates straight away when I post new stuff, changes I make to the style sheet seem not to come into force for quite a while. I know that they’ve happened, they just don’t show up! I’ve tried getting to my site through a different ISP and, sure enough, the new CSS is operating. This leads me to suspect that somehow my ISP is cacheing the style sheet. Does anyone know how I can overcome this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • It is a temporary effect, and maybe it is your browser that is caching your page. Even otherwise a shift+ctrl+F5(or refresh) on windows should do a network refresh of the cache. That should see you home.

    Thread Starter richardhall

    (@richardhall)

    Thanks – I’ll see if I can find a similar key combination for Mac OSX.

    For Safari: command+option+E
    That will clear it’s cache.

    @ mark
    https://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=Thu%2C+19+Nov+1981+08%3A52%3A00+GMT&btnG=Google+Search
    Try look at that link, maybe you will understand why… Frankly I have no idea, but everyone uses it.
    “Excessive server load”? With software like WP and knowing that we are talking about a blog, not some high traffic site, it wont happend…

    u certainly have not heard abt dotcanada…

    Yes, apparently an install of WordPress caused excessive server load at dotcanada hosting. Dreamhost also had a problem but these 2 incidents are isolated and cannot be replicated.

    my intuition was that, some hosts are weird enough to get nasty when nothing much has happened ??

    Perhaps I used the wrong word. I should’ve said “unnecessary”.

    I had a similar problem with updating the style sheet and found an inelegant solution. What happened was I could upload changes to php/html files into the theme folder and see the changes straight away, except for the style sheet, it would not update with a new upload. I logged into word press and checked it through the theme editor and the updates where there but when I went to view the site in my browser (clearing cache all the time) and viewed the style sheet, no updates. What I ended up doing was renaming the stylesheet and going into the header file and hard coding the style sheet link rather than use the php method. The path was exactly the same as what would get written out by php when you view the page source in the browser except with the new file name at the end. I then commented out the php style sheet link, uploaded it with the renamed style sheet and it worked a treat. Now everytime I upload a modified style sheet it appears instantly. I know this is not a great solution if you want to change themes regularly but it worked for me. I did notice that the image folder I was using in my css which was at the root level now seemed instead to go to the images folder in the theme folder, I can’t confirm this to be exactly the case but watch out for it. Hope this is of some help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘CSS Updating’ is closed to new replies.