I was wondering how you can handle files with variables in the url like
www.mysite.com?id=myvariable
I can't possibly have to store every possibility? I used these variables because when the users are online they should be able to share their social media.
Kind regards
If you want these pages to work offline as is then yes, you have to store every possibility. You surely can't expect the browser to guess what all the possibilities are?
If you want to use dynamic data in your offline app then request it with AJAX and keep it in local storage. Don't store your data in pages, keep the pages static.
If you need to have bookmarkable URLs for different bits of your app that use different data on the same page then use the History API.