Jump to content
orangeleaf

pagelines-compiled-css , 2.2.4 and DEFLATE in a production environment

Recommended Posts

orangeleaf

In a production environment, we are using WP Super Cache with Pagelines 2.2.4 Half of our 1.8 second load time for pages is taken up with pagelines-compiled-css which comes in at 108KB weight. Normally, we would use rules: AddOutputFilterByType DEFLATE text/css When trying this, it does reduce the compiled-css significantly, but has a massive side effect: the server load goes up catastrophically, it simply cannot be used in production. Has anyone else seen this issue - using pagelines-compiled-css and DEFLATE creating server loads? Is there a better workaround? Hitting the database on each page load is not sustainable on a busy site. Ideally, some way of writing out the complied CSS as an actual file, we could then use rewrite rules and compression to deliver it to the browser. Can PL 2.2.4 be made to do this?

Share this post


Link to post
Share on other sites
Simon

Can you provide a URL?

Share this post


Link to post
Share on other sites
timelf123

Is there a better workaround? Hitting the database on each page load is not sustainable on a busy site. Ideally, some way of writing out the complied CSS as an actual file, we could then use rewrite rules and compression to deliver it to the browser. Can PL 2.2.4 be made to do this?

I'd love to know if this can be added as an enhancement. pagelines-compiled-css is the largest file served and takes up a lot of my website load time too

Share this post


Link to post
Share on other sites
Danny

Can you provide a link to your site please and also enable PageLines Debug, which is located in PageLines > Site Options > Advanced.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×