• 0

Resolved Recently an error occurred while creating the CSS / JS minify cache: Unable to cache remote file: "/?pageless=1"


Question

Posted · Report post

I'm getting this error more frequently from the W3 Total Cache plugin

[quote]Recently an error occurred while creating the CSS / JS minify cache: Unable to cache remote file: "http://www.skolappar.nu/?pageless=1"[/quote]


It seems as if pageless is very slow. What can I/you do to fix?

Share this post


Link to post
Share on other sites

20 answers to this question

  • 0

Posted · Report post

Hi,

The PageLines compiled CSS file isn't a file and is generated. This means that W3 Total Cache can not minify it, if you wish to remove all the white space in the file. Please use the Minify option in PageLines > Site Options > Advanced > Minify.

Also, You PageLines Compiles CSS loads instantly, if your site is loading slow, this is most likely related to either your content (images), plugins or custom code (google, facebook) etc...

http://www.skolappar.nu/?pageless=1 <== Loads super fast!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I want to combine the Pagelines CSS with other CSS files. It should be possible even if it is generated.

No, it's not superfast. It's slow. Wait: 1,29 seconds.

http://tools.pingdom.com/fpt/#!/htLVUVyY9/http://www.skolappar.nu/?pageless=1

Anyway - all I want is to W3 Total Cache to work. Any recommendations?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Check the 2.2.2 release notes in the announcements forum ;)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thank you!

Can you explain how to use LESS_FILE_MODE with W3 Total Cache? Most importantly, is the filename of the .css file permanent so that I can include it in W3 Total Cache? I didn't see a mention of this in the release notes.

Should I use PL_NO_DYNAMIC_URL or not?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

[color=#282828][font=helvetica, arial, sans-serif]LESS_FILE_MODE simply creates a real css file, not a dynamically loaded one. W3 cache does not 'include' css files, unless your using the minifier, which breaks javascript btw, just a free warning there. [/font][/color]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm combining css files using W3 cache. LESS_FILE_MODE seems to be what I'm looking for. Where is the file located, including file name, please?

I'm not using CSS or Javascript minification. Only CSS combine. So I guess your warning doesn't apply?

Thank you for your help.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Enable the mode, you will see the filename in your pagesource.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I did. But it seems as if the file name is dynamic compiled-css-1347482654.css? So I can't use it with W3 Total Cache?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Guess not then unless the file box allows wildcards. Maybe a question for the plugin author?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

So if I use [color=#282828][font=helvetica, arial, sans-serif]PL_NO_DYNAMIC_URL it will not help?[/font][/color]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

No, that will use the ?pageless=nnnn url, and make it dynamic again

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ok. Thank you. You are very helpful!

Could you please tell me how often you are refreshing the file in the cache?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Your site has 100 http requests, and a payload of nearly 2Mb you should try and cut that down or use a CDN, combining css isnt going to make that much difference.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

[quote name='zouleo' timestamp='1347799030' post='126946']
Ok. Thank you. You are very helpful!

Could you please tell me how often you are refreshing the file in the cache?
[/quote]
Whenever you click save in the options it is recompiled.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Yes. I will do that also. Thank you.

Can you tell me how often you refresh the cached css file please?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Why?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Well, Your question was answered wasnt it?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm getting slow load times on the dynamically generated file, as well. I added define( 'LESS_FILE_MODE', true ); to my wp-config.php, but it appears that my the dynamic version is still loading in source.

 

The 2.2.2 release notes are a bit ambiguous. It reads:  "Now every time you save the PageLines settings a new file will be written out."

 

Does this mean that I should hit "Publish"? If so, I've done this and I'm still getting the generated version.

 

http://tools.pingdom.com/fpt/#!/bPrlX6/www.citroncatering.com

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hello Mtaus

 

Please can you start your own topic 

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