Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › How to download course as a student
- This topic has 33 replies, 4 voices, and was last updated 2 years, 4 months ago by MrVibe.
-
AuthorPosts
-
October 25, 2021 at 10:49 am #373498VeronicaModeratorwplms customizer plugin is a blank plugin it is not going to make any impact on-site until you add any custom code so you can download it and use it with new version of the theme as wellOctober 26, 2021 at 3:07 am #373547AdamSpectatorOkay I enabled service worker from vibebp and regenerated service worker and in our PWA dashboard in manage course section i can see a new icon on all courses boxes. After clicking on the icon on a course, message popups in bottom says: course is available for download offline. But when i click on enrolled course section, and go to that course, i dont see any download icon to download the course. What i am missing here? Also on some course while clikcin the icon, i see this: Course package set. Course can't be set to offline!October 26, 2021 at 5:42 am #373551AdamSpectatorand the code you sent me i used it but it seems manifest file not generated for whole site except in pwa dashboard. And in PWA dashboard while visiting in mobile i can see 'add to home screen' popup. But we wanted to show the manifest file for whole site and will show add to home screen while in mobile to all pages. Even I set the home page as app for service worker option in vibebp->service worker tab, it wont show manifest file. I did generated service worker each time i change soemthing.October 26, 2021 at 5:45 am #373552AdamSpectatorDownload course is working. I had to clear cache and re login to see the effect. Question: It does not download as zip, does it download the course in browser and later if no internet connection available, then the course will be available to view? Correct ? If user clear browser cache will it clear the course as well ? https://www.awesomescreenshot.com/image/15631490?key=d7dbf3b069b4138cafa50587a4ec2d06 https://www.awesomescreenshot.com/image/15631442?key=178ea56ee6e989e22642e45d8d49ed8bOctober 26, 2021 at 5:51 am #373553AdamSpectatoralso i am getting following warning and error message in our pwa dashboard.
WARNING: cdn.mathjax.org has been retired. Check https://www.mathjax.org/cdn-shutting-down/ for migration tips.
This is related to: https://www.hublearn.com/wp-content/plugins/vibebp/assets/js/editor.js?ver=1.6.3Message: Vibebp ServiceWorker registration successful with scope: https://www.hublearn.com/
Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope ('https://www.hublearn.com/welcome-hublearn/') with script ('https://www.hublearn.com/welcome-hublearn/pwabuilder-sw.js'): A bad HTTP response code (404) was received when fetching the script.
October 26, 2021 at 11:43 am #373587AdamSpectatorWe notice PWA service worker caching conflicts with page caching. This is the scenario: We visit our site in frontend and all pages are cached in our server and we are seeing cached version of pages. But when we login to our PWA dashboard and then logs out then we notice our page caching is not working, we are seeing non cachces pages. But when we delete all service worker caching from browser then our page caching kicks in. Did you aware of this issue? Any solution ?October 27, 2021 at 2:07 pm #373682Anshuman SahuKeymasterThis reply has been marked as private.October 27, 2021 at 3:12 pm #373687AdamSpectatorYes instructor download issue is resolved as I explained in my earlier message. Please check the last 2 messages regarding service worker offline caching and few error messages.October 28, 2021 at 12:54 pm #373748Anshuman SahuKeymasterSorry for this . Question: It does not download as zip, does it download the course in browser and later if no internet connection available, then the course will be available to view? Correct ? Yes you are right ,it downloads course in browser itself . 2 . also i am getting following warning and error message in our pwa dashboard. can be safely ignored .October 30, 2021 at 5:28 am #373835AdamSpectatorOkay thank you. Can you please answer my last question regarding service worker offline caching and page caching ?We notice PWA service worker caching conflicts with page caching. This is the scenario: We visit our site in frontend and all pages are cached in our server and we are seeing cached version of pages. But when we login to our PWA dashboard and then logs out then we notice our page caching is not working, we are seeing non cachces pages. But when we delete all service worker caching from browser then our page caching kicks in. Did you aware of this issue? Any solution ?
October 30, 2021 at 1:55 pm #373868Anshuman SahuKeymasterWell we do not remove any cached pages and data on logout .The pages should be shown cached there. Also please note that we are not caching all the pages .We are only caching only two pages 1 . pwa page. 2 . home page . Yes we do cache the scripts but it is not disabled when user logs out , scripts once cached are served from cache storage .November 2, 2021 at 4:02 am #373966AdamSpectatorBut actually it does. Service worker caching and HTTP/page caching has conflicts.November 2, 2021 at 1:58 pm #374003Anshuman SahuKeymasterThere is no way it can cache the html pages except the two html pages .We did not wrote any code for this . can you please share your site url and admin creds in private reply .November 5, 2021 at 6:32 am #374095AdamSpectatorin our https://www.hublearn.com site almost all pages are cached except the PWA dashboard. Our caching plugin is swift performance pro. So i recorded a video to see how it works. https://www.awesomescreenshot.com/video/5902856?key=50ffb495de6868eb8e07709f7c505c09 basically when i first visit the home page or any other pages and then view the source in browser, swift performance is caching the page as it indicates (<!--Cached with Swift Performance-->) in source file. But if i login and go to our pwa page which is https://www.hublearn.com/welcome-hublearn and logs out and then go to home page, then this page is not cached. Its showing non-cached version. You can view the source of browser and you won't see a swift performance reference (<!--Cached with Swift Performance-->) in the footer. now if I open the inspect tool in the browser and then go to the application tab and then storage you will notice some 19mb sized is saved. If I clear the size by clicking the 'clear site data' button, it clears the data and then loads the page then it shows a caching version of the page which is from swift performance. So basically when the site data was saved into the browser our own caching does not work. And site data was saved by your service worker. it works when we clear the site data aka service worker offline caching data.November 6, 2021 at 1:33 pm #374150Anshuman SahuKeymasterThis reply has been marked as private. -
AuthorPosts
- The topic ‘How to download course as a student’ is closed to new replies.