Using CSS style sheets with parameters

What are the options in the stylesheet used for? For example, the Dell homepage has this link with three options:

<LINK REL="STYLESHEET" TYPE="text/css" HREF="http://www-cdn.dell.com/content/public/css.aspx?c=us&l=en&~set=storm81_hp">

I know that a single parameter when changed can be used to force the browser to re-select the stylesheet. For instance:

eg: http://sstatic.net/stackoverflow/all.css?v=a6754691e23a

but the Dell link obviously aims to send the parameters back to the server for processing. Is this used to select a specific version of the stylesheet? In that case, why not send the target stylesheet first?

Surprise...

+5
source share
3 answers

they use a script to generate their CSS file so the file is not a static .css file

aspx ( # VB.net) mimetype/css

+6

, Dell CSS . , ( c=us), ( l=en) ( ~set=storm81_hp).

, .

+2

,

no . , - no www.example.com/css/global.css?v=1, .

agian, no - ,

www.example.com/css/global.css?v=2, css , .

, global.css, .

This is one of the reasons why people use the version without css or js files.

let me know if you need anything else

0
source

All Articles