掲示板

How to serve Liferay custom theme css using Apache HTTP Server ?

9年前 に Advait Trivedi によって更新されました。

How to serve Liferay custom theme css using Apache HTTP Server ?

Junior Member 投稿: 56 参加年月日: 10/03/30 最新の投稿
Hi,
I need to figure out that since Liferay theme's css is processed request time how do we upload it to Apache web server and serve it from Apache instead of Tomcat? Because when I saw files generated in custom theme's /docroot/css/* folder I see .scss files with $variables, I believe these files are processed request time and these variables are resolved by Liferay before sending response. Is there a utility or a way to process these files at package time or something like that?

Thanks,
Advait
thumbnail
9年前 に David H Nebinger によって更新されました。

RE: How to serve Liferay custom theme css using Apache HTTP Server ?

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
My suggestion - don't.

It's a pain in the arse copying files over so httpd can serve them instead of tomcat.

Use something like varnish to act as a cache of the content from Liferay.