Jump to content

Dynamic CSS

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
Recently while browsing I have noticed some pages use the GET method when using css e.g.
css/style.css?c=1543728
I was wondering how thats done...
I guessed mayby they programmed their server to see CSS files as PHP files and then had a php script which echos out the style.
Am i right?
Anyone here done this before?
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#2
wim DC

wim DC

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,084 posts
It's not always used for dynamic css. It can be something that certain websites add to make sure that browsers don't use the css-file they got in their cache.
So when they update their css they add another value to "clear" the browser's cache.