Search Results for 'cdn'

    No search results were found in Documentation!

Results from the Forum
Lucian
tagDiv Staff

Hi,

This can be due to a plugin you use which can cause this js errors that I have noticed in the console for the site’s on which the slider don’t work:
* http://screencast.com/t/t76L9wRy7I
* http://screencast.com/t/d2L69i1FGNK
Please make sure you deactivate all plugins, empty cache and purge files if you use any cache or CDN plugins and check again for this errors and if the slider starts working.
Please let me know.

Thanks

Lucian
tagDiv Staff

Hi,

The mobile icon it’s set to show up using js on click, some plugins may conflict with this and as a result this issue appears.
Unfortunately your CDN plugin may cause this as ut;s delivers cached files so please make sure you also empty cache and purge files.
Deactivate speed booster also, this may cause something like this also when used in conjunction with other plugins.

Thanks

SheikhOvais
tagDiv Member

I’ve checked it by deactivating all plugins but the issue still persists.

I haven’t checked by deactivating cloudflare plugin, which I use for their free CDN. I’m afraid that my site will lose connectivity if I disable this.

Gee95
tagDiv Member

Could be my CDN service, erm… Let me try that clearing the cache there, even though i told it to cache only images etc, you never know.. Thanks 🙂

simchris
tagDiv Member

Just a tip:
be sure to

a) backup your site, export dbase and theme settings
b) turn off any caching plugin
c) turn off any special things like mod_pagespeed
d) deactivate all plugins

1) delete old theme folder
2) replace with new theme version (don’t overwrite; which mixes old code with new)
3) delete old VC plugin if updated
4) upload new VC plugin if updated
5) clear browser cache several times
6) reset/expire any CDN content to refresh with new theme content/CSS

The above resolves 90% of the oddball “my theme panel doesn’t work” issues.

Lucian
tagDiv Staff

Hi,

It may bu due to a plugin which probably checks and loads some new code when users are logged. Please deactivate the plugins you sue and test this without them activated, also make sure you empty cache or purge files if you use any cache or CDN plugins.
Please let me know what you find.

Thanks

simchris
tagDiv Member

Basically what I’ve done for my site is
(not using child themes as they add CSS redirects bad for SEO/speed)

a) search/replace all instances of fonts I don’t want to load from Google in my style.css file; using common font stacks for fallback such as 'Open Sans',Arial,sans-serif
(if you don’t know what font stacks are, see: http://cssfontstack.com/

b) set all my fonts in theme panel to ‘default’ so there is no code if/then trying to insert any custom fonts into header/footer/speedbooster

c) commented out the code in functions.php which loads google fonts on the page; and also removed the section of code which has the various links to theme fonts on google I won’t be using; no need to have if/then code asking to load fonts from google if I’m never going to do that via theme code (as per examples in my prior posts in this thread); need to both or you will get error. Same code in 4.22, 4.3 and 4.4 versions of theme.

d) I grabbed the link from google fonts website for the font I wish to use (as per my example above in this thread), then pulled the actual css from that link so I won’t be loading the links to the fonts from their CSS file (one less CSS file loaded on page); placed this at bottom of my own style.css file after the minified code, so that it lives in its own section after theme styles.

All of this was done with caching off, mod_pagespeed off, so that changes are picked up immediately. When editing my files I use either TextPad on the PC, or BBEdit on the Mac, to ensure my files have Linux/Unix line breaks since I’m using Linux web server. Some PC editors will put “Windows line breaks” in files, which are bad for Linux servers, in some cases, and can cause parsing errors. So, helps to know what you’re doing if editing core files for a web server.

PURPOSE OF ALL OF THIS:
1) speed up website
2) remove intermediate call to CSS style sheet on google, which may not have proper expiration headers/TTL, and may show “advisory” from testing GTMetrix,PageSpeed Insights, etc. – may help “rating” by removing one so-called issue caused by Google’s own system.

You do *NOT* need to do this, unless you have ALL OTHER optimizations in place. Many sites load their fonts from Google using their function call as it’s essentially loading from a CDN. However, “hacking” the theme for this purpose can help advanced users resolve those last couple of ratings issues, and also those obsessed with micro-optimizations.

WARNING
this hack must be done EVERY time you update the theme; so if not willing to do that, best to skip this whole subject and get on with creating great content which is better for SEO and SERPS than saving a couple of milliseconds on font loading.

Lucian
tagDiv Staff

Hi,

When you use custom javascript to add js code using theme panel you don’t need to add the <script></script> tags, this tags are added by this function from functions.php file: http://screencast.com/t/kil6cUhS so you will have to add just the raw js code there.
You can use the Analitics to keep tracking of your site: http://screencast.com/t/ZUaaVL4Na9R2
The theme doesn’t add any <strong></strong> tags, this may come from other plugins so you could also try to empty cache and/or purge files if you use any cache/CDN plugins then deactivate all plugins and check again.

Thanks

  • This reply was modified 11 years by Lucian.
Lucian
tagDiv Staff

hi,

Should work fine, I have tested this live on your site as you can see in the screen, must be something you are not doing right, please make sure you add the custom css in theme panel > custom css save it, also empty cache/ purge files if you use any cache or CDN plugins after this try again, if still dose not work please add this css to style.css file save it and check again.
Please let me know!

Thanks

mrpb
tagDiv Member

I can totally understand your pain …. https is going to really tricky …. mod_pagespeed and good server has replaced the cdn for now …. have you thought of tuning the responsive side of the theme yet?

simchris
tagDiv Member

<LOL>
welcome to my world; I did the same thing!

I might switch it back on at some point, but right now I found with good optimizations, mod_pagespeed, and decent speed server, the CDN caused more problems. My fave was the CSS not loading for FontAwesome in IE11/Win7-64 totally randomly. (sigh)

Some people have great success with using a CDN, though. It gets even tricker when going to https, which we’re doing now, where you need SSL cert for CDN, wildcard SSL cert for your domain to use a subdomain like cdn.mysite.xyz with A/C name record, and then sharding and/or domain origin mapping with mod_pagespeed …. ouch!

(for those tuning in …. not responsible for your head exploding reading that last paragraph! 🙂 )

mrpb
tagDiv Member

After disabling cdn, theme is creating thumbnails. SO i am going to keep the cdn disabled for images.

Thanks a lot Sir. )

simchris
tagDiv Member

Review the docs on mod_pagespeed and your CDN.

The theme creates the thumbnails when *not* using CDN wiht mod_pagespeed; the theme creates thumbnails when using mod_pagespeed, so I’d suspect you have an issue where you’re creating thumbs not locally but perhaps on your CDN and then the theme doesn’t know where they are. Or, your setup isn’t configured as to where to create thumbs, and then mod_pagespeed doesn’t know where they are to optimize them, etc.

Seems like you need to go through the steps of researching

theme assets -> CDN/thumbnails
mod_pagespeed <- CDN/thumbnails

simchris
tagDiv Member

* Did you setup mod_pagespeed to work with your CDN ?

You have to setup sharding or origin domain settings for mod_pagespeed to work with a CDN.
https://developers.google.com/speed/pagespeed/module/domains#mapping_origin

* Also, check to see if the thumbnails are actually being written in your images directory.

Did you regenerate all your thumbnails for the theme when switching to it, so that the thumbnails are actually there?

Either of those would be my first suggestion.

Lucian
tagDiv Staff

Hi,

You can check our demo page, you will notice there that this should not happen, when there are no posts to display anymore the arrow should become opaque and unclickable, like this: http://screencast.com/t/poCedgTNqVX
In your case I also noticed that this happens with blocks also, the arrow point’s that posts are still available but nothing loads: http://screencast.com/t/JGJIhtiHNqf
As there aren’t any errors in your console you might wanna deactivate all plugins, empty cache, purge files if you use nay cache or CDN plugins and check for this again.
Hope this helps!

Thanks

Lucian
tagDiv Staff

Hi,

First please make sure you have other posts which will have to load when the page is loaded. If posts fail to load please deactivate all plugins leaving only this that theme requires also empty cache or purge files if you use any cache or CDN plugins and check if this issue is still present.
If nothing work please updated your theme to the latest version 4.4, we have added new custom made infinite scrolling script with support for a ‘load more’ button after x number of pages.
Hope this helps!

Thanks

Lucian
tagDiv Staff

Hi,

Could be make sure you empty cache, purge files if you use any CDN or cache plugins.
Also inspected your site for this custom css and I found all but this:

.post header h1 {
margin-top: 17px !important;
}

This is why you still have this issues. Please make sure this css it’a added right into theme panel.
Use it like this:

@media (max-width: 768px) {
.single .post header h1 {
margin-top: 17px !important;
}
}

You could also try to edit the style.css file and add it there if still dose not work.

Thanks

Steven
tagDiv Member

You can still use CloudFlare just don’t use there “CDN service” but there is a lot more nice features that come with them,this week they giving FREE SSL Certificate to every one site that use they service..

The team at CloudFlare is excited to announce the release of Universal SSL™. Beginning today, we will support SSL connections to every CloudFlare customer, including the 2 million sites that have signed up for the free version of our service.

For all customers, we will now automatically provision a SSL certificate on CloudFlare’s network that will accept HTTPS connections for a customer’s domain and subdomains. Those certificates include an entry for the root domain (e.g., example.com) as well as a wildcard entry for all first-level subdomains (e.g., http://www.example.com, blog.example.com, etc.).

For a site that did not have SSL before, we will default to our Flexible SSL mode, which means traffic from browsers to CloudFlare will be encrypted, but traffic from CloudFlare to a site’s origin server will not. We strongly recommend site owners install a certificate on their web servers so we can encrypt traffic to the origin.

Later today we’ll be publishing a blog with instructions on how to do that at no cost. Once you’ve installed a certificate on your web server, you can enable the Full or Strict SSL modes which encrypt origin traffic and provide a higher level of security.

Gee95
tagDiv Member

Thanks for the tips.

I will see if I can deactivate ‘JM Twitter Cards’ and use the SEO plugin for Twitter cards. There must of been a reason why i wanted another plugin, but can’t remember. I’m sure i’ll find out soon 🙂

I’m now going to try ‘All In One WP Security & Firewall’ and see if that helps.

Which functions.php do i edit? The WP core or the themes?

EDIT: I can’t unfortunately use CloudFlare as i’m using a different CDN service.

Gee95
tagDiv Member

Hello Christopher,

For my images i have a SSL CDN for all my content including pictures, so size should’t matter too much but i still optimise my images, just in case.

I have WordPress register turned off, and have no forums on my website. The only accounts on my WordPress website are for editors only.

Your sitemap example is very interesting, so i’ll have to look into this and see if i have multiple plugins doing the same thing.

Thanks for the tips, i will check out the compatibility of my plugins and deactivate the ones that have large load times (listed above in previous post on this topic).

Lucian
tagDiv Staff

Hi,

I believe you refer to this: http://screencast.com/t/Zzt2iO5OO If so please make sure first you have any like’s/tweet’s for your post and then check again.
If this still doesn’t show any like/tweet.. count info, make sure you disable all plugins then empty cache and purge files if you use any CDN or cache files and check again.
If this dose not help, please send a link to your site so I can check.

Thanks

Lucian
tagDiv Staff

Hi,


@vitakurhotel

Should work fine both locally and live. Please make sure you enable it from theme panel > post settings: http://screencast.com/t/2HbvKwA0U and also make sure you empty cache/purge files if you use any CDN or cache files.
If you try to add the author function manually it should look like this:
<?php echo $td_mod_single->get_author();?>

Thanks

Lucian
tagDiv Staff

Hi,

Please add this: http://screencast.com/t/i4A030fl1AMX and check again, please make sure you empty cache and purge files if you use nay CDN or cache plugins.
You could also use this tool to force Facebook to see what info Facebook get’s from your site and to force it to get the new info if changed: http://screencast.com/t/FXUDcG2kpn
Hope this helps!

Thanks

TheMediumUTM
Participant
#0

Hey folks,

I just noticed when a friend viewed our site that it wasn’t reflecting some new changes. I cleared W3 cache, purged CDN, hard reset browser cache, etc. and still no luck. Then my friend noticed that I was logged in, and when I logged out, sure enough, my browser also showed the wrong styles. I looked at what was different and realized… all my theme colors and custom CSS from the theme panel were the changes that hadn’t been updated!

Why would the theme panel’s changes only be visible to an admin (or at least a logged-in) user? Any ideas?

simchris
tagDiv Member

@tcdraper
we’re running PHP Version5.4.22; apache, centos 6x, plesk/parallels, all the built in modern accelerators, apc/memcache, mod_pagespeed, and just last night got “mod_spdy” working on Plesk, which was fun since my data folk had never done it before and was team effort.

We’re right now (literally) working to connect mod_pagespeed to SPDY properly so we can have mod_pagespeed load and compress/cache images and other https elements when the pages are loaded 100% https.

Not using Amazon S3 CDN at moment as I can’t mentally deal with the sharding setup when all of us working on this project have never done this before and there is *NOT* a simple “how to” book on this!

I think we were getting something like 330 msec or something, and Google thinks initial response should be under 200-300. (Sigh.) We have a 300kb static page with 10 elements loading dynamically via server side includes in 1.3 seconds total, and pagespeed of 96 without CDN or caching application, and that’s not good enough? BAH!

So, far the https optimizations built into server seem to work fine for desktop, lose a point, page load goes from 1.4 to 1.5 seconds total. So, will be testing that with mod_spdy active, and then with mod_spdy PLUS mod_pagespeed to see if we can enhance the times overall.

ANyway… kind of rambling there. No real advice for you. We have a dedicated multicore XEON server, 32GB RAM, with its own gigabit switch so we don’t have to deal with a lot of the shenanigans of VPS and shared hosting. But, $650/mo. isn’t exactly cheap, either.

That wasn’t a very good answer, was it ? 🙂

  • This reply was modified 11 years by simchris.
Viewing 25 results - 6,251 through 6,275 (of 6,440 total)