Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Dante
  • #78966
    adstream
    Member
    Post count: 85

    Hello,
    Im using the dante-child theme and every change im doing in the dante-child/style.css takes forever to display in the frontend (10 minutes) makes it VERY frustrating when youre developing. So is there a caching plugin hidden in dante or something? Or a setting?

    I tried to solve the problem by adding this in the end of the header tag in header.php and removing the sf-main inside functions.php on line 148 with mixed results:

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); echo ‘?’ . filemtime( get_stylesheet_directory() . ‘/style.css’); ?>” type=”text/css” media=”screen, projection” />

    It worked and i could without having to wait on the cache. BUT (I think) it overrides the responsive.css which make my life miserable. So now im back on square one. Do you have any quick solution to this? Im on a tight deadline!

    Kind regards

    #78992
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You should not need to wait 10 minutes to see the change, if you do then clear your cache. Not had anyone else with this problem

    – Kyle

    #79044
    adstream
    Member
    Post count: 85

    I know, it dosent work even if I clear the cache. I have never had this problem with dante before either. But I dont have the time to investigate right now. Is there anyway to get the ‘filemtime’ into the functions.php? Something like this?

    wp_register_style(‘sf-main’, . echo โ€˜?โ€™ . filemtime(get_stylesheet_directory_uri() . ‘/style.css’, array(), NULL, ‘all’);

    (Example above dosent work ๐Ÿ™‚

    Kind regards,

    #79047
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Not that I’m aware of, I will forward this to the developer. He will be with you shortly

    – Kyle

    #79050
    adstream
    Member
    Post count: 85

    Thx Kyle! Youre the man!

    #79209
    adstream
    Member
    Post count: 85

    Nevermind! The site is hosted on one.com which has this rediculous caching on as a default. I actually had to tell them to disable it and now it works. Sorry guys!

    #79212
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Great, glad you sorted it ๐Ÿ™‚

    – Ed

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register