Jump to content

Archived

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

balfred1345

Changes Won't Show Unless Flush Caches Each Time

Recommended Posts

balfred1345    5
balfred1345

Hi,

I'm working on a new site in DMS2 and have disabled all plugins except for DMS Plugin Pro and PL Updater.

Using Danny's Skeleton Child Theme, WP 3.9.3, DMS 2.0.4

I have a Chrome extension called "Cache Killer' on so I'm not seeing pages cached by my browser. 

 

In order to see my changes, I need to go to Resets and Flush Caches every time. 

I'm developing on my host's server rather than locally, for a couple of reasons, so I know that I should not use ('PL_LESS_DEV',true) on what is essentially a production site. 

 

Can you please tell me how I can see my changes without needing to Flush Caches every time?

 

Thanks,

Bruce

 

  • Like 1

Share this post


Link to post
Share on other sites
James B    436
James B

Hi Bruce, who's your host? They might have some form of caching enabled at their end.

 

Try using the alternate css urls option in site settings > advanced, this option was created to try and assist with hosts who have their own form of aggressive caching in place. http://screencast.com/t/1nzWm2lh


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
balfred1345    5
balfred1345

Thanks for the reply. My host is Web Hosting Hub. I checked in with their tech support, and they told me they do not employ server side caching. 

I tried the alternate css urls option, but it did not work.

Only Flush Caches works, which is a drag when I'm developing and want to see what each change looks like every few minutes. 

 

Do you think I should try a different host?

Does PL have recommended hosts that play nicely with DMS?

 

Or, maybe I need to bite the bullet and go back to developing locally w/ MAMP and see if I can figure out a good way to show clients remotely.

 

Thanks,

Bruce

Share this post


Link to post
Share on other sites
balfred1345    5
balfred1345

I went ahead and moved my dev site to MAMP, and found that I had the same problem... needing to Flush Caches in order to see each change. This of course makes no sense since I'm using MAMP, and especially since I put the define( 'PL_LESS_DEV', true ) code in my wp-config.php.

 

What I figured out is that DMS won't read my saves in Sublime, unless I Flush Caches.

When I copied my LESS from Sublime into the Custom LESS editor in DMS, I can see the changes without flushing caches.

 

Can you please tell me how to I can get DMS to read my saves from Sublime w/o needing to Flush Caches? Could this have anything to do with the Skeleton Child theme? 

 

Thanks,

Bruce

Share this post


Link to post
Share on other sites
rsmm    1
rsmm

I'm experiencing the same issue. LESS from the child theme will not recompile unless I manually click the flush butotn.

Share this post


Link to post
Share on other sites
Simon    247
Simon
install the developer plugin you can disable the caches

Share this post


Link to post
Share on other sites
balfred1345    5
balfred1345

Simon_P,

Can you please tell me where I can grab the developer plugin?

Or, are you talking about the LESS Developer Plugin by Evan Mattson available for $20 on the store?

Thanks,

Bruce

Share this post


Link to post
Share on other sites
Simon    247
Simon
It'll be in your my-account page on pagelines.com

Share this post


Link to post
Share on other sites
balfred1345    5
balfred1345

Simon_P

There is no Developer Plugin in My-Account.

How do I get it to show up?

 

Here's what is in My Account, in case you're interested: http://screencast.com/t/KSBP2ChN56

I didn't include a view of Pagelines DMS (Club Download) and DMS Business in my screenshot, since the keys are visible there.

 

Thanks,

Bruce

Share this post


Link to post
Share on other sites
rsmm    1
rsmm

 
Here's a screen shot
 
I've got the plugin installed now. But I can't find the option to disable LESS caching. I swear when I was first experimenting with DMS, I found that option. Any pointers?

Share this post


Link to post
Share on other sites
rsmm    1
rsmm

AHA! Finally found it. Hiding right in front of me. It's a button in the Visual Editor on the front end. The little wrench icon.

 

DMS%20Developer%20Options.png

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

balfred1345 - If you're experiencing this issues, then it is likely caused by one of the following:

 

  • A browser extension, please disable all of them.
  • A plugin, please disable all active plugins.
  • Make sure you do not have Section Cache active in DMS Pro Tools.

If doing the above doesn't resolve your issue, then its likely related to your server. Therefore, can you enable DMS debug mode ~ DMS Toolbar > Settings > Advanced and provide a link to the site in question, so we can see your debug information please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
balfred1345    5
balfred1345

I upgraded to developer, and installed the developer plugin. Enabled LESS dev mode, disabled Cache. This did the trick. 

 

Thanks.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Thanks for informing us the issue has been resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • jeomiland
      By jeomiland+
      In DMS2 there was a button to click to flush pagelines cache. Don't see this in platform5. Am having a big problem with caches. Have W3 Total cache plugin, but now even if I deactivate it, the code in css/less seems to not be registering??? I can delete all custom css, save, then add just a bit of the css (that used to work just fine the other day) and that small section of css takes effect. Then when I paste the whole css (that worked fine the other day), it seems to not work???
      About to restore DB backup from a couple days ago to see if that solves it, but it's a drag that this issue exists. Makes it hard to finetune the site.
      Thanks for help
      site is: http://permacultureecovillage.com/lev2017/
      lev styles most recent.css.rtf
    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • richardjacruz
      By richardjacruz+
      I noticed that the cached version of the website from a Google SERP has broken CSS:
      http://webcache.googleusercontent.com/search?q=cache%3A1uyPM2gXGG0J%3Astevensoncrane.com%2F+&cd=16&hl=en&ct=clnk&gl=us
      Any idea why? The site looks fine elsewhere.
      Also, when using the Web Developer Toolbar in Mozilla Firefox, there are a BUNCH of warnings regarding CSS. I'm wondering that's the problem with the Google cache.
      In a prior post, I had experienced similar "breaking" of the CSS, but that was due to some errors in DNS. I thought we resolved all of that, so this perplexes me.
      Thanks,
      Rich
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
×