Jump to content

Archived

This topic is now archived and is closed to further replies.

zouleo

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

Recommended Posts

zouleo    1
zouleo
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
Danny    1,327
Danny
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!

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
zouleo    1
zouleo
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
Simon    247
Simon
Check the 2.2.2 release notes in the announcements forum ;)

Share this post


Link to post
Share on other sites
zouleo    1
zouleo
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
Simon    247
Simon
[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
zouleo    1
zouleo
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
Simon    247
Simon
Enable the mode, you will see the filename in your pagesource.

Share this post


Link to post
Share on other sites
zouleo    1
zouleo
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
Simon    247
Simon
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
zouleo    1
zouleo
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
Simon    247
Simon
No, that will use the ?pageless=nnnn url, and make it dynamic again

Share this post


Link to post
Share on other sites
zouleo    1
zouleo
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
Simon    247
Simon
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
Simon    247
Simon
[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
zouleo    1
zouleo
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
Simon    247
Simon
The topic was marked as resolved.

Share this post


Link to post
Share on other sites
Simon    247
Simon
Well, Your question was answered wasnt it?

Share this post


Link to post
Share on other sites
mtaus+    5
mtaus

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
greenfly    230
greenfly

Hello Mtaus

 

Please can you start your own topic 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • tstirler
      By tstirler
      Does anyone else have trouble with the DMS-editor when the W3 Total Cache plugin is active.
      If I enable this entering the editor stops at "Loading DMS editor" with the circle spinning, but nothing comes up.
       
      Site in question is:
      www.anotherkindofmonster.com
    • flourishdesignstudio
      By flourishdesignstudio
      Hi there! I am working on optimizing a website, mockingbirdpaperie.com and I successfully combined and minified a number of JS. I'd now like to address "Remove render-blocking JavaScript". I've tried combining the following JS files, and that breaks the site.
       
      I'm new to this, and I'd love any suggestions or options! 
       
      http://mockingbirdpaperie.com/wp-content/themes/dms/js/script.bootstrap.min.js?ver=2.2.2 http://mockingbirdpaperie.com/wp-content/themes/dms/js/script.resize.js?ver=1.0.3 http://mockingbirdpaperie.com/wp-content/themes/dms/js/script.viewport.js?ver=1.0.3 http://mockingbirdpaperie.com/wp-content/themes/dms/js/script.waypoints.js?ver=1.0.3 http://mockingbirdpaperie.com/wp-content/themes/dms/js/script.easing.js?ver=1.0.3 http://mockingbirdpaperie.com/wp-content/themes/dms/js/script.fitvids.js?ver=1.0.3 http://mockingbirdpaperie.com/wp-content/themes/dms/js/parallax.js?ver=1.0.3 http://mockingbirdpaperie.com/wp-content/themes/dms/js/pl.common.js?ver=1.0.3
    • thingCHARGER
      By thingCHARGER+
      I'm finding that the new DMS visual editor gets broken when w3 Total Cache is activated, even if I ask W3TC not to do its thing(s) for logged in admins.
       
      Is anyone using DMS & W3TC successfully?
       
      Did anyone have/solve this problem? 
       
      Any advice on  DMS & W3TC very welcome... 
    • janpeeters
      By janpeeters+
      Over the last month I had extensive communications with the developer of the (premium) Anything Boxes section (in Pagelines store) (Adam Munns) and the developer of the WP Polylang Multilingual plugin (Frederic Demarle).
       
      This was because the following problem occurred:
      Anything Boxes showed all posts of two languages (Dutch and English) on the respective static frontpages for each language. It should of course have filtered posts for Dutch language on the Dutch frontpage and English on the English frontpage.
       
      The solution to this problem was simple in the end. When duplicating a page for use in another language the settings for Anything Boxes were not copied to the new page and I should have set these settings manually again on the new page. I wasn't aware of this, but it makes sense. Because of this the pages didn't know how to differentiate between posts from different languages.
       
      The dev of Polylang told me that Polylang is currently smart enough to synchronize metas like Featured images and page templates but it does not work out of the box with metas created by plugins and themes but (according to Frederic) it is rather easy to add them in the list using the filter 'pll_copy_post_metas'.
      He mentions that he is not sure that these 'PageLines Meta Settings' are stored in post meta but that would make sense according to him. He asks if the Pagelines dev team will be interested to support this feature in the future.
       
      I'm also wondering if you will consider adding Polylang translation support for manually editable strings like the 'Read more…' strings in Pagelines Settings.
       
      Well that's of course up to you but I thought to let you know to be able to take this into consideration. I also post this for other users in case they experience the same kind of trouble and are looking for an answer.
       
      Best regards,
      Jan Peeters
    • bankrollbuilder
      By bankrollbuilder
      I used a custom hook to put a banner ad in my header. It works but its not in the right position. it is centered and above my logo and I would like to float it to the right of my logo in the header. heres the link: http://shaboopie.com/shaboopie-wp/free-logos-pg1/

      thanks.

      Dan B.
×