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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:58:59+00:00 2026-06-13T02:58:59+00:00

I am building a simple website that needs to be able to run completely

  • 0

I am building a simple website that needs to be able to run completely offline if needs be. With the intention of being a 50+ page searchable reference manual.

I need the whole site to be cached upon opening one page. I’m doing this with the appcache manifest and getting the site to cache and be viewed on an offline mobile seems to work ok.

The site has a basic JavaScript search facility (that was a freeware download) and while online this search works perfectly. As soon as the internet connection is stopped and the cached version is used the search no longer works, displaying one of two symptoms 1. Button is clicked and nothing happens or 2. A ‘webpage cannot be found’ kind of error is displayed.

  • 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-13T02:59:00+00:00Added an answer on June 13, 2026 at 2:59 am

    Quote from https://developer.mozilla.org/en-US/docs/HTML/Using_the_application_cache#Gotchas

    Never access cached files by using traditional GET parameters (like
    other-cached-page.html?parameterName=value). This will make the
    browser bypass the cache and attempt to get it from network. To link
    to cached resources that have parameters parsed in JavaScript use
    parameters in the hash part of the link, such as
    other-cached-page.html#whatever?parameterName=value.

    But that is exactly what your js-search does. It tries to load the subpages like this “http://www.filemanage.co.uk/offline/index.html?1350563635665” using XHR.

    As a fix try this

    // change in function sendRequest line 228 from 
    this.httpRequest.open("GET", uri+"?"+q, true);
    // to
    this.httpRequest.open("GET", uri, true);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a simple website that needs 3 user levels (member, mod, admin)
I'm building a simple contact form for a website. It does not connect to
I'm building a really simple CMS for a bilingual website. The website would have
Im building a simple chat client which is only supposed to be able to
Building a relatively simple website, and need to store some data in the database
I've been building a static website and the client has suddenly stated that they
I am building a website for a client. He has a Facebook page for
I am building a website in CakePHP that processes files uploaded though an XML-RPC
I'm currently designing a complex website that needs to support Undo and Notifications for
I am building a mobile website that uses the main jquery library and some

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.