www.webdeveloper.com
Results 1 to 3 of 3

Thread: Dynamically generated style sheet url..?

  1. #1
    Join Date
    Mar 2010
    Posts
    281

    Dynamically generated style sheet url..?

    i'm having to study a particular website and notice this link tag-

    <link rel="stylesheet" href="/static/CACHE/css/794d89e53456.css" type="text/css">

    it looks like it's being generated dynamically. is that what is going on?

    i closed the window and reopened yet the url is the same.
    if it is dynamically generated would the purpose be, so the browser won't cache it?

    and also, what is generating that url..? php maybe?

  2. #2
    Join Date
    Mar 2011
    Posts
    1,145
    You're correct that there's some form of automation involved here, but it's hard to say exactly what's going on or why it's being done. The word 'cache' in the URL sounds like something a prominent hosting service does. They have a complex system of load-balanced servers that automatically caches CSS files - which apparently boosts their overall performance. And the filename for the CSS file looks like it was dynamically generated for some reason. The stylesheet might be altered depending on the User Agent (browser), but there's no way to know the whole story from the outside. Unless the possibility that the stylesheet is dynamic is critical to why you're studying the site, I wouldn't put a lot of effort into this aspect.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Mar 2010
    Posts
    281
    okay, good answer!, thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles