Skip navigation
Alucryd
Currently Being Moderated

Query strings?

Apr 27, 2012 8:04 AM

Tags: #querystring

Hey,

 

I'm fairly new to html and web design, but I'm wondering: why does Muse add query strings on every static resource url? There must be a reason I don't understand, but removing them all manually works, thus my question.

 

Thx in advance for the answers.

 

Alucryd

 
Replies
  • Currently Being Moderated
    Apr 27, 2012 9:16 AM   in reply to Alucryd

    The query string is appended as a sort of version number for the resource. This is used so that when a resource is updated, your users will immediately get the most recent versions of it instead of what sits in the cache on their local machine. It is a way to make sure your users are seeing the latest version of what you created instead of seeing old versions they looked at recently. If you'd like to learn more, I'd recommend looking around the web and reading up on cache-busting.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2012 9:18 AM   in reply to Alucryd

    Static HTML/CSS/JS is most often cached in the browser. These strings prevent that caching.

     

    explained:

    http://guyellisrocks.com/coding/automatically-keeping-css-file-current -on-any-web-page/

     

    Removing the strings is not ideal if you intend to update the page later.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2012 9:23 AM   in reply to Andrew Hushbeck

    Just curious, when did the Muse team read up on this? Because it was not added until after several versions of the public beta had been released and many users were confused by wonky layouts after updating their sites.

     

    There were users on the old forum that had to explain the (very common) technique to Muse developers. Does the Muse team have web designers on it anymore? Some seem to have been let go.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 27, 2012 9:37 AM   in reply to Alucryd

    No problem. I'd recommend posting that  in our idea forum section (http://forums.adobe.com/community/muse/ideas) so that other users can vote on the idea.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points