html - Cache Manifest Absolute URL Conflict with htaccess -


the situation:

  1. made htaccess remove file extension when access www.example.com/index.html link www.example.com/index/
  2. created cache manifest (works fine can rule out problems structure)

the problem:

  • even since made htaccess change links, cache manifest no longer works index.html
  • example:
cache manifest index.html 

and in console cache manifest resource fetch failed (-1).

this because when browser tries access www.example.com/index.html redirected www.example.com/index/ , confused?

is there way cache link directly? thanks.

could files stored in cache need explicitly stated, or in other words, full absolute url has written or full relative url must written in order cache download file.

aka

index.html  blablah.js  hello/world.png  

all should work but

index/  bippitybop/js/  goodbye_cruel/world/* 

won't work.

let me know if helps, if question still active.


Comments