Jump to content


Photo
- - - - -
Resolved

Customization Plugin - Style.css Not Cached

customization plugin

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 noomaking

noomaking

    Member

  • Members

  • 27 posts

Posted 05 November 2012 - 11:49 PM

I have noticed on a very simple site, that style.css sends the browser a an HTTP status of 304.
304 Not Modified

The browser (Safari) then proceeds to reload the style.css file that has only a couple lines of code in it. The browser does not cache this file. A reload on the page triggers another download.

It seems to me that this file should be cached as it is a static file. The site takes a load hit as it requests a fresh download.

The site is www.daugbytes.com and is a basic stripped down configuration.

My question is - is there a way to have this file cached by the browser? Have I missed something?

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 06 November 2012 - 12:11 AM

Google: .htaccess expires

#3 noomaking

noomaking

    Member

  • Members

  • 27 posts

Posted 06 November 2012 - 02:30 AM

Thank you

#4 James B

James B

    Advocate

  • Members

  • 5126 posts

Posted 06 November 2012 - 04:34 AM

The topic was marked as resolved.