is cache blocking javascript?
Hello UNA team,
I tested Developer > pages > homepage > cache 30 seconds
in the second reload of the page page is cached and appears back immediately very nice indeed.
But the for post to timeline the emojis etc is not working.
For the multi-post block like here at UNA home page , clicking to post area is not triggering the js to bring the form.
İs this a bug or designed like this?
-
-
- · Cem
- ·
but also here in una home page it was happening LeonidS .
if the cache icon on the page, I can not do posts for a period even here.
But today I dont see the cached icon here at UNA as before.From browser console:
TypeError: oBxDolCreatePost is undefinedSource map error: request failed with status 404 Resource URL: https://kumetest.hekim.net/doktor/gzip_loader.php?file=bx_templ_js_dccc23b6b5c60bbfdba649f14d96be1c.js Source Map URL: marka.min.js.map;
-
-
·
LeonidS
-
·
In reply to Cem
- ·
May you please in similar situations to clear cache via Stuido->Dashboard->Cache area? Need to check from this side.
-
·
LeonidS
-
- · Kyle
- ·
Were you able to find a fix for this? Having a similar issue with not being able to post emoticons/emojis and with photos loading in general as well after upload. They show finally, but after hours.
-
-
- · Kyle
-
·
In reply to Cem
- ·
Hey Cem were you able to figure this one out. I am dealing with the same thing saying that marka.min.js.map is missing. I noticed images not exactly loading on timeline posts and wondering if this is why. They will upon refreshing the page. I know you were still waiting.
-
-
·
LeonidS
-
·
In reply to Kyle
- ·
Hello Kyle !
From my side I don't see any Javascript errors in the home page of your site. Only many warning like the using the "http" links on your "https" site.
-
·
LeonidS
-
- · Cem
-
·
In reply to Kyle
- ·
Hi Kyle I think it was resolved at that time. But i will check again, i don't remember very well actually.
-
- · Cem
- ·
yes this problem continues.
when we open cache from developer > pages >homepage > settings>cache
the multipost create post block becomes unresponsive for creating timeline posts
the error is:
TypeError: oBxDolCreatePost is undefined
index.php:1:1
Source map errorı: Error: request failed with status 404 Kaynağın URL’si: .../gzip_loader.php?file=bx_templ_js_defff6f6e8081c05507a9410726eaafb.js Kaynak haritası URL’si: marka.min.js.map;
TypeError: oBxDolCreatePost is undefined
2 index.php:1:1
-
- · Kyle
-
·
In reply to Cem
- ·
Same exact problem 😩
-
- · Cem
- ·
video of the question
-
-
·
Alex T⚜️
- ·
Thank you for the report, but for now it works like this, as the result not all pages and blocks can be cached properly. When block has additional css/js files - then after caching it could be some issues, since cache is storing just content of the block/page, but block/page can't work properly without required js/css files.
For now it's impossible to store js/css files in cache, a lot of work is required to make it work better - https://github.com/unaio/una/issues/2572
-
·
Alex T⚜️