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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:36:13+00:00 2026-05-25T09:36:13+00:00

I have an index.php file in my docroot. It produces output that starts with

  • 0

I have an index.php file in my docroot. It produces output that starts with this:

<!DOCTYPE html> 
<html manifest="manifest.appcache">

The manifest.appcache tells browsers to cache it for offline use. Again, the relevant parts:

CACHE MANIFEST

#version 8-25-2011

CACHE:

#internal HTML documents
#this tells the browser to cache the HTML it retrieves from http://example.com/
/

NETWORK:
*

Offline access is working fine with this setup, but updating is not working as I would expect in Firefox.

In Chrome and Safari, when I update the index.php file and then change a comment in the cache.manifest file, the browsers will grab the new index.php output and use that in the cache.

However, in Firefox, it seems to not care that I’ve updated the manifest.appcache file. I suspect that if I wait long enough, it will update, but I’ve tried waiting hours.

How can I find and eliminate my caching problem?

  • 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-25T09:36:14+00:00Added an answer on May 25, 2026 at 9:36 am

    What HTTP cache headers are you sending with your index.php file? If you’ve not set things like the Cache-control: and Expires: headers then Firefox could be refreshing the application cache version of the page from it’s regular cache instead of requesting it again from the server.

    EDIT BY POSTER OF THE QUESTION:

    For anyone that wants to know what exactly it took, here’s what I put in my .htaccess file based on this answer and a perusal of http://www.diveintohtml5.info/offline.html:

    <Files *.appcache>
        ExpiresActive On
        ExpiresDefault "access"
    </Files>
    

    Hope that helps the next person!

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

Sidebar

Related Questions

I have a PHP script (index.php) that includes an index.html file in a sub-directory
I have this script in index.php file: <script type=text/javascript> $(document).ready(function(){ $('#ads').load('output.php').fadeIn('slow'); }); </script> And
I have an index.php file that loads other php files via this javascript/ajax code:
I have a index.php file that will include several external files: content/templates/id1/template.php content/templates/id2/template.php content/templates/id3/template.php
I have a template in joomla without index.php I only have index.html, css file,
I have a file system structure with symlinks, something like this: folder123 index.php config.php
I have an PHP file located here : /public_html/folder1/folder2/index.php and this file requires CSS
If I have an index.php file that includes inc/footer.php I would write: include 'inc/footer.php';
I have an index.php file that has 3 includes <?php require_once('mod.php'); $mod = new
Within my index.php file I have an AJAX function that will call a function

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.