Search Results for 'cache'

    No search results were found in Documentation!

Results from the Forum
simchris
tagDiv Member

Clearing cache after theme update really good idea 😉

  • This reply was modified 11 years by simchris.
Ace
tagDiv Member

First off, thanks so much Chris for putting all of this together – koodos to you and supporters alike for building up a community… and despite numerous attempts of asking people to stop asking questions in this sticky, some people simply cannot listen and let temptations lead to questions for the “drift” king himself.

Just to empathize with you, I spent about 3 days going over tons and tons of material pertaining to page speed, caching, functions.php, .htaccess, whatever I end up stumbling upon in hopes of getting that elusive high score .. Frankly, I wanted to blow my brains out (jokingly, not seriously I assure you).
I cannot fathom putting in the amount of work that you have for this sticky alone, and also in other threads. The pattern is clear, people will always turn to someone like you for the spoon fed answer they want. It’s mighty clear the way you’ve put it – I think you said somewhere in this forum that managing the website is purely the responsibility of the website owner, not tagDiv, not the community, it’s the owner’s responsibility. And I loved the buy a race car analogy.

.. well, anyways I think I’ve said what I wanted to, which is again koodos for everything you’ve done – truly truly great work. Same can be said for the rest of the supporters in this forum… I’m still new here, so give me another week and I’ll have nothing left to vent.

I did have something to contribute.. I found a resourceful YouTube vid about W3TC. Which I have started using.. Seems like a path many themers end up with.. It’s not spam, I assure you, the guy in the vid Craig Chamberlin gives an hour long tutorial about cache settings using W3TC. A for beginners, believe me when I say an hour of watching this guy is waaaaaaaayy better than trying to figure this sh#t out on your own in the wee hours of night.

https://www.youtube.com/watch?v=MYrsb8XnPtM

Cheers everyone!

simchris
tagDiv Member

Likely because your site got updated to WordPress 4.2 for the security fixes.

You might try
a) clear all your caches, especially in your browser
b) reinstall the theme with “latest” 1.71B version from Themeforest.

arsalane
tagDiv Member

Thank you for your quick reply, but I have tested the parameters 6-6 or 8-6 and 10-2 and it’s still not working. I tried on multiple browsers to avoid the cache problem but still ko.

GadgetViper
Participant
#0

Great stickies, thanks Chris!

The code you suggest for the htaccess:

# END WordPress

AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff

# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 2500000 seconds”
ExpiresByType image/jpeg “access plus 2500000 seconds”
ExpiresByType image/png “access plus 2500000 seconds”
ExpiresByType image/gif “access plus 2500000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2500000 seconds”
ExpiresByType text/css “access plus 700000 seconds”
ExpiresByType text/javascript “access plus 700000 seconds”
ExpiresByType application/javascript “access plus 700000 seconds”
ExpiresByType application/x-javascript “access plus 700000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
ExpiresByType font/truetype “access plus 2500000 seconds”
ExpiresByType font/opentype “access plus 2500000 seconds”
ExpiresByType application/x-font-woff “access plus 2500000 seconds”
ExpiresByType image/svg+xml “access plus 2500000 seconds”
ExpiresByType application/vnd.ms-fontobject “access plus 2500000 seconds”
</IfModule>
# END Expire headers

# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch “\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(css)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(js)$”>
Header set Cache-Control “private”
</filesMatch>
<filesMatch “\.(x?html?|php)$”>
Header set Cache-Control “private, must-revalidate”
</filesMatch>
</IfModule>
# END Cache-Control Headers

<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>

Would this replace the code generated by W3TC or be added before / after it?

W3TC code:

# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* – [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/blog/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html” -f
RewriteRule .* “/blog/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html” [L]
</IfModule>
# END W3TC Page Cache core

Cheers

GadgetViper
Participant
#0

Site Speed test results: Pagespeed Insight

Hi,

I’m trying to improve the speed of the site, my mobile speed results are currently only 40/100
I’ve got Gzip on, I’m running Total Cache, I’ve compressed all images with EWWW

I have tried the TagDIV speed booster plugin with the steps outlined on this page

However, the list it produced didn’t seem to correlate with the actual page insight results (with the exception of a couple)

list:

registered scripts
jquery |
hide-this-part-js | http://gadgetviper.com/blog/wp-content/plugins/hide-this-part/js.js
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
devicepx | http://s0.wp.com/wp-content/js/devicepx-jetpack.js
wpseo-admin-global-script | http://gadgetviper.com/blog/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://gadgetviper.com/blog/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://gadgetviper.com/blog/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
thickbox | /wp-includes/js/thickbox/thickbox.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
wpar-style | http://gadgetviper.com/blog/wp-content/plugins/wp-reviews/css/style_admin.css
font-awesome-styles | http://gadgetviper.com/blog/wp-content/plugins/wp-reviews/inc/font-awesome/assets/css/font-awesome.min.css
wprs-admin | http://gadgetviper.com/blog/wp-content/plugins/wp-rich-snippets/assets/css/style_admin.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
responsive-lightbox-lite-admin | http://gadgetviper.com/blog/wp-content/plugins/responsive-lightbox-lite/assets/css/admin.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://gadgetviper.com/blog/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
wp-color-picker | /wp-admin/css/color-picker.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
wpalchemy-metabox | http://gadgetviper.com/blog/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
bws-admin-stylesheet | http://gadgetviper.com/blog/wp-content/plugins/captcha/bws_menu/css/general_style.css
font-awesome | http://gadgetviper.com/blog/wp-content/plugins/js_composer/assets/lib/font-awesome/css/font-awesome.min.css
jetpack-icons | http://gadgetviper.com/blog/wp-content/plugins/jetpack/css/jetpack-icons.min.css
Skip to main content

Page Insight:

JS (8)

http://gadgetviper.com/blog/wp-includes/js/jquery/jquery.js?ver=1.11.2
http://gadgetviper.com/blog/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
http://gadgetviper.com/blog/wp-content/plugins/wp-reviews/js/user-rating/jquery.rating.pack.js?ver=4.2
http://gadgetviper.com/blog/wp-content/plugins/wp-reviews/js/user-rating/custom.js?ver=4.2
http://gadgetviper.com/blog/wp-content/plugins/wp-reviews/js/colorbox/jquery.colorbox-min.js?ver=4.2
http://gadgetviper.com/blog/wp-content/plugins/responsive-lightbox-lite/assets/nivo-lightbox/nivo-lightbox.min.js?ver=4.2
http://gadgetviper.com/blog/wp-content/plugins/responsive-lightbox-lite/assets/inc/script.js?ver=4.2
http://gadgetviper.com/blog/wp-content/plugins/revslider/rs-plugin/js/jquery.themepunch.tools.min.js?ver=4.6.5

CSS (27)

http://gadgetviper.com/…dburner-form/control/fbstyle.css?ver=4.2
http://gadgetviper.com/…assets/css/bootstrap_tab.min.css?ver=4.2
http://gadgetviper.com/…s/css/bootstrap_dropdown.min.css?ver=4.2
http://gadgetviper.com/…tabs/assets/css/res_tab_icon.css?ver=4.2
http://gadgetviper.com/…ns/wp-reviews/css/flexslider.css?ver=4.2
http://gadgetviper.com/…nt/plugins/captcha/css/style.css?ver=4.2
http://gadgetviper.com/…t-form-plugin/css/form_style.css?ver=4.2
http://gadgetviper.com/…/nivo-lightbox/nivo-lightbox.css?ver=4.2
http://gadgetviper.com/…htbox/themes/default/default.css?ver=4.2
http://gadgetviper.com/…der/rs-plugin/css/settings.css?ver=4.6.5
http://gadgetviper.com/…views/css/user-rating/rating.css?ver=1.0
http://gadgetviper.com/…eviews/css/colorbox/colorbox.css?ver=1.0
http://gadgetviper.com/…/jquery-ui-1.10.3.custom.min.css?ver=1.0
http://gadgetviper.com/…plugins/wp-reviews/css/style.css?ver=4.2
http://gadgetviper.com/…wp-reviews/css/bootstrap.min.css?ver=4.2
http://gadgetviper.com/…ppets/assets/css/style_front.css?ver=4.2
http://gadgetviper.com/…ets/assets/css/bootstrap.min.css?ver=4.2
http://gadgetviper.com/…ns/wp-pagenavi/pagenavi-css.css?ver=2.70
http://gadgetviper.com/…/assets/css/font-awesome.min.css?ver=1.0
http://gadgetviper.com/…esome/css/font-awesome.min.css?ver=4.4.2
http://gadgetviper.com/…/plugins/jetpack/css/jetpack.css?ver=3.5
http://gadgetviper.com/…content/plugins/hide-this-part/style.css
http://fonts.googleapis.com/…ed:400italic,700italic,400,700?ver=4.6.2
http://gadgetviper.com/…form-7/includes/css/styles.css?ver=4.6.2
http://gadgetviper.com/…nal/bootstrap/td-bootstrap.css?ver=4.6.2
http://gadgetviper.com/…emes/Newspaper-child/style.css?ver=4.6.2
http://gadgetviper.com/…og/wp-content/themes/Newspaper/style.css

I’m wondering are able to provide a list of corresponding id’s for some of the above that I can try adding to the td-speed-booster.php file or should I just take every ID from the list and paste them into the speed-booster.php?

Any suggestions you can make would be greatly appreciated, I was considering trying Better Wordppress Minify Not sure is it’s compatible with the theme or not?

Cheers

unplug.tips
tagDiv Member

I think I’ve solved it, I think it’s a caching issue.

I’ll have to do a lot more testing as there’s been loads of updates and I need to get a stable base to work from but it seems like one of the theme/wordpress/plugin updates from the last few days has altered the behaviour of WP fastest cache plugins operation.

I’ll update this later for anyone who gets a similar problem

ajaffarali
tagDiv Member

Yes- it seems to be working. Maybe I was just loading from cache before. Thanks for your help. Just one last question- how can I centre these ads? They’re left aligned.

Alin [tagDiv]
tagDiv Staff

I have checked again your site and the ad appear also on small screens – http://screencast.com/t/gQQebmTQd
Please empty cache.

Thanks!

Lucian
tagDiv Staff

Hi,

When you have caching enabled the 7 days counter isn’t updating until the cache expires and the post is accessed again so while caching it the 7 days sorting counter isn’t updating if the post is accessed, that’s why its called “an estimation of popularity from the last 7 days”.

The 7 days post sorting hasn’t been designed to work when using cache so if you want accurate results you need to remove the cache. Sorry!

Thanks

Lucian
tagDiv Staff

Hi,

Please also try this without using any extra plugins leave just theme’s Visual Composer plugin active and make sure you empty all caches/purge files and test again.

If you still experience this please provide more details about this and your wp-admin login details so we can access it and have a closer look at this. Also paste a link to this conversation into your message.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Please check this without any plugins active, leave just Visual Composer active, empty cache and see if you still have this issue.
Also about popular 7 day it may take some time to update number of views. Please provide more details about this.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

I have checked your links and facebook comments appeared on all articles – http://screencast.com/t/LPPnSUqyuKhttp://screencast.com/t/L4WddTcpnHLthttp://screencast.com/t/K1l1F4E6
You can try to deactivate all plugins leave just Visual Composer an Facebook plugin active, empty cache an check if you still have this issue. I also checked your console and did not found any errors – http://screencast.com/t/rZfwvqxM5

Thanks!

unplug.tips
Participant
#0

Hey guys, great theme and a well sorted update.

I have a little problem with my main navigation.

A couple of months ago I set all of my pages to be pulled from their respective categories as I thought this would lessen strain on the server and reduce the number of calls to visual composer but after doing some testing the performance wasn’t noticeably different.

I’ve now decided I would rather like to add more functionality to the new pages through VC so I have changed all of the menu items back to having their own page so they don’t pull from the category.

Now I have all of the pages in the main navigation set to pull their respective page in the wordpress backend via Appearence/menus as you normally would but when I refresh the home page and click on my Navigation items they still pull the content from the category and not the new pages

I have refreshed the permalinks, cleared all of the caches and tried it in several different browsers but the problem remains.

I did activate cloudflare on the site a few weeks ago and then decided to turn it off, I am wondering if the site is still being fed content from cloudflare even though it has been off for a month or so? How I would go about checking this.

I have had a few weeks off from developing this site whilst waiting for the new update so it may be something simple that I am overlooking.

Any ideas would be very welcome

I also have a little problem with the navigation in Chrome and firefox on my android tablet. The main items in the nav bar are fine, the sub pages show when you press the nav item and they work fine but the main pages in the navigation don’t open when you click them, just the drop down appears and you can’t access the main page.

Please let me know your thoughts

Many thanks

John

Alin [tagDiv]
tagDiv Staff

Hi,

But I have checked your site on Chrome – http://screencast.com/t/5WVB7AwfLkhttp://screencast.com/t/Np11qqxB
Try also to clear browser’s cache.

Thanks!

stuartmasson
tagDiv Member

Hi Alin, thanks for your reply. I have found this morning that it looks fine on Firefox and Safari, but not on Chrome. I have tried emptying the cache and resetting Chrome, but nothing so far. Still trying to sort it out, but at least it works on a couple of browsers!

Many thanks,

stuart

Alin [tagDiv]
tagDiv Staff

Hi,

I have checked your site and it looks fine on my side. Please empty cache and check if you still have issues.
Let me know and provide a screenshot where the issue is.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

I have checked your page and did not found any issues with slider – http://screencast.com/t/iPBbWx3U98G
Please provide more details and also clear cache.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

I also checked this and did not found any issues: http://screencast.com/t/UXSos2PzaGjhttp://screencast.com/t/yK0i0OwmbL
Please check this without any plugins active, leave just Visual Composer active and clear cache. Also please provide a link if you still have this issue.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Can you provide a screenshot as I’m not sure what you mean. Do you have this issue in backend? – http://screencast.com/t/sQHeXYegHSv
Also you can check this without any plugins active, leave just Visual Composer active, also empty cache. Maybe it is a plugin conflict. Let me know!

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please try this without any plugins active, leave just Visual Composer plugin active, empty cache and check if you still have this issue. Also try this without js/css minification. Let me know!

Thanks!

gmtrevor
tagDiv Member

Brilliant thanks for your help.

It may be cache related 🙂 thanks alot.

If only i can see this im not going to worry to much.

Alin [tagDiv]
tagDiv Staff

Hi,

Please clear cache as I have checked again some of your post and did not found this issue: http://screencast.com/t/2ZXtYC7ncIX3http://screencast.com/t/O2pinXqayWk

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

1. After you have copied shortcodes that Emil provided, you can switch to Backend Editor and edit blocks and filter by your category: http://screencast.com/t/4sf7jTT9
2. Try to disable all your plugins, leave just Visual Composer active, clear cache and also resave your permalink and see if you still have this issue.
3. You can set post style from Post Settings(theme has 8 post templates): http://screencast.com/t/gWkLLk8rOHNL
4. Please paste your adsense code in Theme Panel > Ads section: http://screencast.com/t/rAR5iOwEp
In your page content you can use Ad Box block where you want to display the ad: http://screencast.com/t/l0i0xlRx
5. These are block titles and you can change them from block settings: http://screencast.com/t/qwQpaiMjQ18C
6. Go to the block settings and filter by category(answer 1).

Thanks!

simchris
tagDiv Member

I don’t see that either …

did you try looking at your “page source” to see what that might be, and if actually rendered on page ? Bad plugin? Cached element ? Adblock software blocking ad?

Viewing 25 results - 28,151 through 28,175 (of 29,810 total)