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 6610913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:54:04+00:00 2026-05-25T19:54:04+00:00

Files: listing.less (text/css) style.less (text/css) Tools: Firefox Firefox addon httpFox for inspecting http headers

  • 0

Files:

  • listing.less (text/css)
  • style.less (text/css)

Tools:

  • Firefox
  • Firefox addon httpFox for inspecting http headers
  • Chrome

I have a css file named listing.less that contains the following:

@import "/orb/static/less/style.less";

When I call listing.less everything works fine, style.less is imported. Subsequent requests for listing.less results in a 304 cached response. That’s fine. However, the imported style.less doesn’t show up as a cached response. Instead, I find it in the browser’s localstorage. The bigger problem is if I make a change to style.less then hit refresh the browser will not update the style. The style.less will refresh only if I delete it from localstorage or touch listing.less on the server.

Is that the nature of @import? Do I need to touch listing.less or delete style.less from localstorage every time I want to update style.less? How can style.less be forced to refresh?

  • 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-05-25T19:54:05+00:00Added an answer on May 25, 2026 at 7:54 pm

    This is a known issue in LESS. See the github issue here:
    https://github.com/cloudhead/less.js/issues/47

    I know it doesn’t solve your problem directly, there is a workaround listed there, put the following line above your less.js import:

    <script type="text/javascript">var less=less||{};less.env='development';</script>
    <script src="less.js"></script>
    

    and things should generally work.

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

Sidebar

Related Questions

Basically I have a TcxGrid which will be listing various files names and I'd
I have an Apache directory listing of files on a remote server (in Australia/Adelaide
How does one paginate a large listing of files within a folder? I can't
I'm using PHP's ftp_rawlist function to get a listing of files and their associated
I would like to prevent Tomcat from listing the files in a directory when
I'm looking for a way to get directory listing for files that are outside
I'm working on an application that shows a listing of files and folders within
I have a flash upload component I want to use to upload multiple files.
I am trying to use the \listing package to include some .cpp files into
I have a directory of videos (.AVI files) that I want to determine 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.