Clear cache css (CTRL + F5)

Post Reply
ceechette
Posts: 37
Joined: 05 Oct 2017, 13:08

13 Nov 2018, 12:02

Hi, I need the browser to clear the automatic cache (CTRL + F5). Because I alter the css Verona but replication in browsers does not happen. Can someone help me?

User avatar
aragorn
Posts: 3283
Joined: 29 Jun 2013, 12:38

13 Nov 2018, 15:47

Unfortunately, it is not possible with CSS. No need to clear cache. You need to use the structure such as SASS, SCSS, LESS etc and execute your command with --watch mode(-w). Verona has SASS structure. Please use the following command;

Code: Select all

sass -w src/main/webapp/resources/ --sourcemap=none
Then, after you change the css style in *.scss files, you'll see the changes when you refresh the page. SASS doc; https://sass-lang.com/guide

Post Reply

Return to “Verona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest