I remember a discussion about this a long time ago, can't remember if
it was on this list, but someone might remember...

* We're a big university: lots of pages!
* We want to use one master style sheet as much as possible, to
maximise caching, minimise management etc.
* The images referenced in the style sheet are absolutely referenced
so that sites that are not on the same domain can still benefit from
centralised, cached images and not have to have duplicate local
copies.
* This breaks a bit when a site switches a user to SSL :-(

I once read that you could reference an absolute URL independent of
the schema, so that instead of:
http://some.domain.com/a/path
you could use:
//some.domain.com/a/path
and that the reference would just adopt the current schema, http or
https making everybody happy.

Initial limited tests show me that this might work, but I can't find
the source of the information now, or even whether it's correct usage
- can anyone shed some light?
or even offer an alternative solution!

I'm vaguely thinking there might be an elegant apache solution for
serving the right CSS.

-- 
Andrew Harris
[email protected]
http://www.woowoowoo.com

~~~ <*))))>< ~~~


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to