How do I "leverage browser caching"
-
Google is telling me to "leverage browser caching" and put a freshness factor of 1 week on images used on my site. http://www.1stclassdriving.co.uk.
Try as i may I cannot find out how to do this.I'm running two sites - http://www.1stclassdriving.co.uk. on a shared hosting package with Easyspace and http://www.croydondrivingschool.co.uk with Fasthosts, both under windows with asp scripting.
Can anyone point me to any tutorials or guide me as to how I do this please
-
Hi
To Leverage browser caching speeds up your site as it will only cause common resources to be loaded once rather than every time you load a page on your site or revisit the site. In order to leverage browser caching I would suggest editing your web.config file if you are on an IIS server or in the .htaccess file if you are on an Apache server. Both of these will involve you making an entry into either of these files and shouldn't require your hosting company. I regularly work with both, but in particular Apache servers and I often drop the standard code in to leverage this and speed the site up. One other noticeable speed enhancement I would recommend is gzip compression which can be carried out in a similar manner. If you have anymore questions about any of this don't hesitate to give me a shout on here
-
Dear Matt,
I don't get it...
Is the answer in the programming of the site (for example through the web.config) or something to do in the IIS (which means the hosting company should do it...?) ?
Also, caching only helps the second time the same user loads the page doesn't it?
THanks
-
Glad I could help Brian and welcome to the community, by the way
-
Brilliant - works fine - many thanx Matt
-
Hi Brian
I think you might find this helpful - http://stackoverflow.com/questions/6634302/how-to-leverage-browser-caching-at-asp-net-iis-7-5
and...
http://stackoverflow.com/questions/642954/iis7-cache-control
You should be able to do this by making/editing (if you already have one) a web.config file in your root folder, which is explained in the article above.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is there any decent web browser that still displays the full page title at the top of the page?
I just updated to the latest version of Firefox on my Mac and saw that they now hide most of the page title in the browser tab, like Chrome and Safari. I like to be able to see the full page title at all times (for reasons I'm sure you all understand) and that's pretty much the only reason I stuck with Firefox all these years. Now I'm looking for an alternative – any suggestions?
On-Page Optimization | | matt-145671 -
Should "contact" and "Privacy Policy" pages be no-followed?
I have a few pages like the contact and privacy policy page that I could really care less about as far as whether people visit them, or whether the search engines index them. They also don't have any sort of unique content on them... pretty much duplicates of what you'd probably find on hundreds of other websites. Would it be logical then to just nofollow those pages? I just don't know if maybe there's something hidden that I'm not thinking of. For example, maybe Google wants to see that your website has a privacy policy, and by excluding it, you're actually hurting yourself.
On-Page Optimization | | JABacchetta0 -
Can you find the "problem" metric or metrics?
I just dropped from #2 for my main keyword to #5 and am not sure why. My companies Ranking Metrics compared to top 5 Page Authority:#2, MozRank:#1, MozTrust:#1, MT/MR:#1, Total Links: #1, Internal Links:#1, External Links: #1, Followed Links:#1, No Follow Links: #1, Linking Root Domains:#1, OnPageAnalysis Grade: "A", Broad Keyword usage: Yes, Broad keyword in document:
On-Page Optimization | | Boodreaux0 -
Title Tag: Phrases vs. Keywords Separated by "|"
Hello, One of my client's old sites has all category titles of the form (for example) running shoes | running shoe | walking shoes | walking shoe including many that perform well with over 60 characters. I'm in the process of rewriting the titles into something like Running and Walking Shoes, A quality shoe at OurShoes.com The reason I'm rewriting them is for future google penalties, and to look better to possible guest post opportunities. Also to look better in the SERPS But the old style is performing very well. What are the real pros and cons of each? Thanks.
On-Page Optimization | | BobGW0 -
Can somebody help me with a "Grade F" report
My Seomoz account tells me i've got a Grade F for my on-page optimalisation. The report said there's no single "on page keyword" usage at the whole page. Can somebody tell me what went wrong? If you take a look at my website: www.oceandrivers.nl, you'll see that i've used the keyword "prive chauffeur huren" everywere. In the URL, the H1 etc. (See image)
On-Page Optimization | | OceanDrivers
So i don't get it?! Thanks in advance! [](<a href=)" target="_blank">a> visWA visWA0 -
What does the "base href" meta tag do? For SEO and webdesign?
I have encounter the "base href" on one of my sites. The tag is on every page and always points to the home URL.
On-Page Optimization | | jmansd0 -
Does it matter if a rel = "canonical" element is added to the beginning or the end of a URL?
I am curious to know if adding a rel = "canonical" tag to the end of a link element will affect its purpose?
On-Page Optimization | | Sharecare0 -
How to "rich-content" optimized!
Hi mozzers! How to optimize really a rich index.php of a page,with a keyword example: " mobile " what kind of things to include,video,comments,images,how many words,manually meta-descriptons or to leave it empty to take automatically the googlebot a snippet! Tell us more on this, because we forget sometimes the rich-content-optimized and only concentrated on the link-building. Thanks,
On-Page Optimization | | leadsprofi0