By default, when a cache manifest is used the browser will also cache the current (HTML) page. How do I not do that?
My site looks like domain.com/
in the address bar but it is actually serving domain.com/index.php
. I have tried:
NETWORK
/
*
and
NETWORK
/index.php
*
...and variants like index.html, index.php without the leading slash, etc. (The manifest is working fine otherwise -- it's properly caching some files listed under the CACHE:
heading, it's being served with the correct MIME type, etc.)
Don't put the manifest reference in your index.php. Put it in a page you do want cached, or that you don't mind having cached, and load that page in an iframe
on your index.php page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With