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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:47:42+00:00 2026-05-13T13:47:42+00:00

To save both client download time and network usage, is it possible to use

  • 0

To save both client download time and network usage, is it possible to use the localStorage feature of HTML5 to store contents of linked stylesheets, javascript files and binary data (e.g. images), rather than hitting the server each time?

Would that just complicate things – since I assume you would have to add the linked asset via JavaScript rather than just a script or link element, breaking the page for those without JavaScript enabled)? Unless you can parse the content (using HEAD requested to check last modified date and other headers) before the browser downloads it.

Or best just to stick with 304 Not Modified and eTag headers?

  • 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-13T13:47:42+00:00Added an answer on May 13, 2026 at 1:47 pm

    I think in this case you should consider offline caching:

    • https://developer.mozilla.org/en/Offline_resources_in_Firefox#Specifying_a_cache_manifest

    You can also store user input data in localStorage or sessionStorage:

    • https://developer.mozilla.org/en/DOM/Storage#sessionStorage
    • https://developer.mozilla.org/en/DOM/Storage#localStorage

    Don’t use globalStorage (not a standard).

    I’ve written an article about offline, see: http://hacks.mozilla.org/2010/01/offline-web-applications/

    It’s about offline, but such mechanism can be used to boost your web app.

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

Sidebar

Related Questions

OK my client wants to show a buy both feature in the cart, if
When you override backbone sync, both model/collection .save()/fetch() uses the same backbone sync method,
i save in mysql database the time using NOW() function. how can i change
I have the following in tests.py. def setUp(self): self.client = Client() self.client.get('/homepage',{'join':'NPO2','siteid':1450}) self.client.session.save() self.oraganisation_list
In my Rails app, I have two models, Estimate and Client , which both
My project has both client and server components in the same solution file. I
To save network traffic I'd like to compress my data. The only trick is
I have built a CakePHP app that creates appointments which have both a client
I have a server-client application in which I can modify both codebases. The client
I have used both of these (Python and HTML5) seperately, however I'm keen to

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.