Fórumok
minifier.inline.content.cache.size=0 issue!
Parag Negi, módosítva 11 év-val korábban
minifier.inline.content.cache.size=0 issue!
Junior Member Bejegyzések: 29 Csatlakozás dátuma: 2012.02.01. Legújabb bejegyzések
Hi Guyz,
I believe i am stuckin an issue.
Can someone advise what does this below command does in some detail.
minifier.inline.content.cache.size=0
And can someone advise if it's a good idea to implement it in Live server where there are lots of people accessing site everyday.
We tried to implement this in live, but i think it may or maynot have made application access slow for users.
I would really appreciate if some one give advise for this.
We actually need to use this because we are using media query in our app. and when we use media query as below:
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
With minifier.inline.content.cache.size=10000
Then space after 'and' is taken off like below:
@media only screen and(-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
>>>>>>>>>>>>>>>>>>>
But if we use minifier.inline.content.cache.size=0, then
Media query is as below:
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
(But as cache size =0, we may be making application slow.)
Can someone please provide some insite on this. I only found this article on search, which was no quite helpful and states issue persists in liferay:
http://issues.liferay.com/browse/LPS-25202
Thanks and Regards,
Parag Negi
I believe i am stuckin an issue.
Can someone advise what does this below command does in some detail.
minifier.inline.content.cache.size=0
And can someone advise if it's a good idea to implement it in Live server where there are lots of people accessing site everyday.
We tried to implement this in live, but i think it may or maynot have made application access slow for users.
I would really appreciate if some one give advise for this.
We actually need to use this because we are using media query in our app. and when we use media query as below:
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
With minifier.inline.content.cache.size=10000
Then space after 'and' is taken off like below:
@media only screen and(-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
>>>>>>>>>>>>>>>>>>>
But if we use minifier.inline.content.cache.size=0, then
Media query is as below:
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
(But as cache size =0, we may be making application slow.)
Can someone please provide some insite on this. I only found this article on search, which was no quite helpful and states issue persists in liferay:
http://issues.liferay.com/browse/LPS-25202
Thanks and Regards,
Parag Negi
Parag Negi, módosítva 11 év-val korábban
RE: minifier.inline.content.cache.size=0 issue!
Junior Member Bejegyzések: 29 Csatlakozás dátuma: 2012.02.01. Legújabb bejegyzések
Anyone has any solution for this...?
Cheers
Cheers
André Bunse, módosítva 11 év-val korábban
RE: minifier.inline.content.cache.size=0 issue!
Junior Member Bejegyzések: 85 Csatlakozás dátuma: 2012.03.16. Legújabb bejegyzések
Hi,
what about own injection of the css with javascript, minified on your own in the right way?
This way the server doesn't minify it.
String injection with
or file injection with
HTH
André
what about own injection of the css with javascript, minified on your own in the right way?
This way the server doesn't minify it.
String injection with
el = document.createElement('style');
... and so on
or file injection with
el = document.createElement('link');
... and so on
HTH
André