Welcome to Geeklog Thursday, December 13 2018 @ 01:47 am EST

Geeklog Forums

CSS doesn't change instantly after theme change.


Status: offline

OMAL

Forum User
Chatty
Registered: 06/12/17
Posts: 63
latest version of GL.
1.Chose Denim theme
2.Browse the website
3.login the website
4.change them from Denim to another
5. GL still using Denim theme having path to denim/css_ltr/ in <head>tag.
6.need reflesh browser cashe to reflect the change.
7.logout the website
8.GL still using Denim theme having path to denim/css_ltr/ in <head>tag.
9.need reflesh browser cashe to reflect the change.

So you have to reflesh twice to display the new theme, first on logged-out and second on logged-in. This may confuse users because theme is not same before/after login.
Any suggestion?

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1317
You are not using the vThemes plugin correct? This sometimes creates problems (it shows a block that allows the user to change the theme)

From your description it sounds like your server has some sort of page caching enabled which can cause the issue you described. We had a similar issue on Blue Host with our demo server at one point. I think the cache was called Varnish.

I have temporarily enabled the User themes on Geeklog.net. I tested it and it works as it should without refreshing the page. Why don't you try it and see? If it works as it should then it most likely it is a server caching issue with your host.



One of the Geeklog Core Developers.

OMAL

Anonymous
I tried to test it, and error has occurred.
spam detected

then
Your account has been blocked!

Does logging in and out many times in shot period cause this?

OMAL

Anonymous
I tested denim and glnet_curve themes at www.geeklog.net.
At the first attempt, it was OK with logged-in status, but it still had previous theme after logged out and after cleared browser cache.
I tried again, then the issue dissapeared, and I repeated the process several times after that, the issue never happens.

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1317
If you log in a certain number of times incorrectly you will not be able to login again for a while.

Re the Geeklog.net initial issue: Probably because of an older cookie. When you are logged out (you would be considered an anonymous user so the only thing Geeklog has to go by on what theme is displayed is a cookie if it is there or what ever the default theme is.

Re: Your website issue: Geeklog uses a file cache for the template files, from the sound of it ,it looks like your host is using some sort of cache that is causing a mix up with your site on what template files to use. You may be able to disable this from your hosting control panel else you will have to contact customer support.
One of the Geeklog Core Developers.

OMAL

Anonymous
Thank you.

All times are EST. The time is now 01:47 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content