Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7997503
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:58:50+00:00 2026-06-04T14:58:50+00:00

After looking at some HTML sourses, I found some meaningless file inclusion, for both

  • 0

After looking at some HTML sourses, I found some “meaningless” file inclusion, for both css and js.

I call this “meaningless” because,

  1. <script src="some_file.js?123"></script> ALWAYS TOTALY EQUALS (size in bytes) TO
  2. <link href="some.css?var=val" rel="stylesheet" type="text/css" /> === the same as aforementioned.
  3. As we know, usually client-side technology can’t parse vars which are coming from HTTP (mean from POST and GET), this job for server-side one.

So the question is,
Why people use this? Wnen to/not to use this?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:58:52+00:00Added an answer on June 4, 2026 at 2:58 pm

    The query part might be used to prevent caching as WojtekT suggests (whether that’s successful or useful is a different issue), but it can also be used to pass data to the process that generates or serves the resource. For example, some.css?var=rel may cause a different version of a style sheet, or completely different style sheet, to be generated than some.css. The parameter could be used e.g. to pass user options (perhaps clumsier than cookies or HTML storage, but still possible).

    Your assumption 3 is wrong in two ways. First, common client-side technology (client-side JavaScript) can easily process GET variables. Second, this isn’t about client-side. The reference some.css?var=val is processed by the browser to construct an absolute URL, keeping the query part, and then to generate a GET request to the server (passing the query part along), unless it finds out that the resource is in the browser’s cache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After looking around for some information about managing my azure app i found csmanage
I'm new to the scope of 'this' in html, javascript. So after looking at
I'm looking for a HTML and JavaScript parser in .NET. After reading some posts
I am looking into using Lucene.NET after reading some bad reviews of SQL Server's
I started looking around for a search engine and after some reading I decided
Let's say I have some HTML like this: <ol><li>a knock at the door, I'll
I'm looking for a way to apply some CSS to elements differently, depending on
I'm looking to parse some HTML which is submitted from ckeditor. The HTML which
I want a WYSIWYG html editor to create a static web page. After some
I'm looking for some REGEX help Given the following URL: http://news.cnet.com/8301-13924_3-10315534-64.html?part=rss&subj=news&tag=2547-1_3-0-20 What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.