You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If src of any image tags in the target webpage is relative (e.g. images/img.png instead of /webpage_path/images/img.png), it is not loaded correctly by instantclick. Browser console returns 404 on the image link. I think it's because the url used to fetch images is not updated. In other words, the images should be fetched based on target webpage's url.
This problem is solved using absolute path, but sometimes relative path is more convenient when the webpage url is generated automatically.
The text was updated successfully, but these errors were encountered:
UPDATE: My issue with css files is probably different than this issue. I realized instantclick.js doesn't reload anything inside the tag, so if there is a new css file in the next page, it won't load it when preloading the that page.
I've had this same issue with some CSS files. My home page and main css is in the root, but when navigating from the home page to another page that is located one directory down, there is a css file that won't load. When I refresh the page, it loads as usual.
If
src
of any image tags in the target webpage is relative (e.g.images/img.png
instead of/webpage_path/images/img.png
), it is not loaded correctly by instantclick. Browser console returns 404 on the image link. I think it's because the url used to fetch images is not updated. In other words, the images should be fetched based on target webpage's url.This problem is solved using absolute path, but sometimes relative path is more convenient when the webpage url is generated automatically.
The text was updated successfully, but these errors were encountered: