Jump to content
Sign in to follow this  
Czar

Caching of CSS on Android Chrome

Recommended Posts

I find that the CSS is cached on Android Chrome. Deleting history etc does not do the trick.

 

How can we force a fresh load of CSS every time in SMS? 

 

 

Share this post


Link to post
Share on other sites

I  believe I have a solution that appears to work. Simply bump up the v value

 

  if w3_getIsAndroid then
   TW3Storage.LoadCss('res/app.css?v=1', procedure (const FromUrl: string;
      const ObjectHandle: THandle; const Success: boolean)
  begin
    if success then
    begin
      writeln("Force CSS loading android");
    end;
  end);

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×