@phenomlab yes i did.
i deleted one of plugin then it started to work normally.
@Panda how are you issuing the image? If you use JS
to do this, you won’t need to worry about browser cache. It’s a little unclear as to what you currently have in place.
@phenomlab
Just css with a random image url
You have login, take a look?
@Panda I’m not in front of a PC presently, but can look tomorrow.
@phenomlab the forum looking so different on incognito and standard browser is so weird.
(This is on Android device)
Its like the Neon theme is much more Neon on the incognito, and the text is hard to read!
@Panda said in Custom html in nodebb to prevent cache:
Its like the Neon theme is much more Neon on the incognito, and the text is hard to read!
Incognito mode will always reflect the current state of affairs as it will not cache anything. If it looks bad in this session, this is how others will see it also.
@Panda What I see on checking the site is this
It looks psychedelic and the colours do not work at all.
@phenomlab yes, but skins / themes arent supposed to cache.
So my main issue here is why was it looking different?
I’ve changed skin now, but still want to get round this caching, as still have problem on normal broswer that I dont get new background image every time browser bar refreshed
@Panda said in Custom html in nodebb to prevent cache:
yes, but skins / themes arent supposed to cache.
They will cache by default - by NGINX, and not anything you choose to put in the headers. The code you specified there would apply to the entire site, which defeats the purpose of using a cache to speed up delivery of assets that the browser already has. Even without the case in Incognito mode, the experience is awful because most of the text is unreadable.
The point you made about fonts looking blurry is because of the presence of text-shadow
as a CSS element. This technique is used to made text stand out by using a drop shadow of another colour. This now clashes with the changes you have made and makes the text look blurry.
So if I cant prevent cache, how do I achieve different background each time?
@Panda You’ll need to do that with js
. With some quick CSS changes, it looks like this
The colour choice is still really hard on the eye, but at least you can now read the text