Nuffnang

Search This Blog

Forgiveness is one of the most distinguishing features of Ramadan. If we truly want Allah's love, mercy and forgiveness, we must remember that the pleasures in this world are transient, and we are working toward that which is permanent. Is it worth being bitter and stunting our growth? Will it really benefit us? Will our anger and bitterness change the person who has hurt us?

Let us use this Ramadan to open our hearts to those who have wronged us and forgive them as we beg Allah to forgive us..


Love a little more than what is necessary..
Work a little harder than what is required..
Be a little kinder than what is usual..
Give a little more than what u feel u can afford..
Stand in a prayer a little longer than what u intended..
Be a little more patient than what u feel u can handle..
It is that little extra effort sparked by sincerity in the heart
that makes your ordinary self extraordinary...


Remember the five simple rules to be happy:

1. Free your heart from hatred.
2. Free your mind from worries.
3. Live simply.
4. Give more.
5. Expect less.

Lilypie Maternity tickers
Lilypie Breastfeeding tickers
Daisypath Anniversary tickers
Daisypath Friendship tickers

Friday, November 19, 2010

Force refresh of css files

Bismillah ir-Rahman ir-Rahim

QUESTION:
Hi!

When I make changes in the css files of my theme (e.g. in navigation.css) and then deploy the theme, the changes are not shown in my browser until I choose to refresh the browser. If I don't refresh the browser, cached copies of the old css files are used.

Is there any way to force the removal of cached css files whenever a change has been made in them?


ANSWERS:


Open portal-ext.properties
tomcat/webapps/root/web-inf/classes/


Add this in your portal-ext.properties file :

theme.css.fast.load=false
theme.images.fast.load=false

javascript.fast.load=true
javascript.log.enabled=true

layout.template.cache.enabled=false

browser.launcher.url=

combo.check.timestamp=true

freemarker.engine.cache.storage=soft:1
freemarker.engine.modification.check.interval=0

openoffice.cache.enabled=false

velocity.engine.resource.manager.cache.enabled=false

com.liferay.portal.servlet.filters.cache.CacheFilter=false

com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=true



or simply add this line :

include-and-override=portal-developer.properties





Alhamdulillah.
Hidayah
Related Posts Plugin for WordPress, Blogger...