Viewing Browser caching

Browser caching



User: Rob W. 10 years ago
I've been running a couple tests to see the performance of my website and it all seems good apart from caching, it gives me this message: The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources: then it lists all the pictures and shapes on that page. Is there any way of doing this?

If not is there any way to improve the loading speed of these things? i know how to improve the pictures but can you do anything to all the shapes it lists? I'm assuming all the shapes listed are what Everweb does to the page to upload it? as i certainly haven't added that many "shapes" to the page.
User: Paul-RAGESW 10 years ago
Quote:
it gives me this message: The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources: then it lists all the pictures and shapes on that page.


What gives you this message? Where are you seeing this.

Quote:
If not is there any way to improve the loading speed of these things? i know how to improve the pictures but can you do anything to all the shapes it lists? I'm assuming all the shapes listed are what Everweb does to the page to upload it? as i certainly haven't added that many "shapes" to the page.


Shapes are either images or CSS in some cases. I'm not sure where you are seeing the message above. Can you clarify where you are seeing it?

-------------------------------
Paul
EverWeb Developer
User: Rob W. 10 years ago
Yes sorry i used 2 websites pingdom and googles page analysis, i've added a screen shot of what each one says, the list of things is longer than shown in the screen shots

Last edit 10 years ago
User: Rob W. 10 years ago
something went wrong adding attachments the first time..

Screen Shot 2014-03-13 at 10.21.21.png

Screen Shot 2014-03-13 at 10.20.13.png
User: Rob W. 10 years ago
for some reason the screen shots are showing as the same for me even though they are 2 different files.. i'll try attach the other one last time

Screen Shot 2014-03-13 at 10.34.07.png
User: Roddy 10 years ago
Caching resources is only going to be of benefit to return visitors and to give yourself the illusion that your pages are downloading faster than they actually are.

A better solution is to reduce the number of images required in the layout for items like backgrounds, lines, shapes etc and replace them with those generated by CSS and HTML where possible.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Rob W. 10 years ago
Not sure i know how to do that, do you mean write CSS for the shapes i've made and paste it into the head code box of the master page used? i have had some experience with CSS style sheets in dreamweaver CS5 but not sure i could write CSS for the design i have made in everweb, things like gradients and types of gradient for instance, i have a box with the circle gradient in the centre.
User: Jumbo T. 10 years ago
Have a look :

http://trotter.is-best.net/misc/circle.html
User: Jumbo T. 10 years ago
Gradients here :

http://www.w3schools.com/css/css3_gradients.asp
User: Rob W. 10 years ago
keeps double posting for some reason sorry..

ah ok cool, so with what Roddy said, where does the code go? do you write it into the head box? or can you access the CSS style sheet for the website?

Last edit 10 years ago
User: Roddy 10 years ago
Here's one way…

http://everwebcodebox.com/content/shapes.html
http://everwebcodebox.com/content/line-shape.html

… and another way …

http://everwebcodebox.com/widgets/shapes.html
http://everwebcodebox.com/widgets/line-shape.html

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Jumbo T. 10 years ago
@Brian

Drop a HTML Snippet on the page where you want the circle.

Paste the code.
User: Rob W. 10 years ago
brilliant thanks for the help, your site has helped me a lot so far Roddy! will most likely be purchasing some of your widgets in the near future.

one last question... can you put code in the head or footer code boxes on master pages? it won't let me.
User: Roddy 10 years ago
If you need code to be available on every (or most) page of the site, use the site wide code boxes in the Site Publishing Settings page.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.