Panel
Fighter
webmaster
+3 votes
Notice 77 views

CSS and JS auto minify

CSS and Javascript auto minify feature added. Server requests are reduced by this feature.

Settings:

Admin panel (Viewing):

 [2015/12/28 "Clear cache" button added]

Effect:

Before (HTML source):

After (HTML source):

Performance reports:

Q2A (Server: Unknown): 50 requests, 1.87 sec

PQA (Server: Intel ATOM N450 1 core): 26 requests, 0.95 sec (This site)

PQA (Server: Intel Xeon quad 4 core): 17 requests, 0.32 sec

Restrictions:

  • Since this feature may not work correctly on some servers. Therefore, default is off.
  • Cache time of link files is 1 day (24 hours). You can change this value by hacking minify source.
    qa-content/min/config.php
    $min_serveOptions['maxAge'] = 86400;    // 1 day

image

by webmaster asked Dec 25, 2015 in Core
by webmaster edited Dec 28, 2015

Please log in or register to add a comment.

Please log in or register to answer this question.

1 Answer

Fighter
webmaster
+1 vote

"Clear cache" button added (Refer thread). Server caches are cleared by this button.

image

by webmaster answered Dec 28, 2015

2 Comments

This feature has been tested and confirmed working
Thanks Vanbells.

Please log in or register to add a comment.

Welcome to PowerQA. PowerQA is a new discussion software (not OSS). Here is a community for PowerQA developers. Current stable version is V1.9.4. It is enhanced day by day.

Statistics

  • 338 questions
  • 276 answers
  • 480 comments
  • 100 users

Post types

...