Rhobur Posted February 4, 2012 Share Posted February 4, 2012 Hi, I've got an F grade for Etags not being configured. Any idea of how to do it in PS 1.4.6.2 ? Regards, EDIT : most of these errors are for jpg's and some of modules css and js's. Link to comment Share on other sites More sharing options...
shacker Posted February 6, 2012 Share Posted February 6, 2012 im searching the same, but no luck to get it work (is difficult on any server) 1 Link to comment Share on other sites More sharing options...
Rhobur Posted February 6, 2012 Author Share Posted February 6, 2012 im searching the same, but no luck to get it work (is difficult on any server) You're far more experienced than me so if you will find anything please let me know too. I'll do the same if I'll get lucky. Have a nice week ! Link to comment Share on other sites More sharing options...
phrasespot Posted February 6, 2012 Share Posted February 6, 2012 ETags are a server dependent setting. If you are using Apache see here for the syntax to configure them. Setting them can be as simple as adding: FileETag All to the .htaccess generated in Back Office > Tools > Generators > .htaccess file generation > Specific configuration But do read the reason you got an F first and pros, cons of having them (e.g. ETags, unreasonably, invalidates PCI compliance). Link to comment Share on other sites More sharing options...
Rhobur Posted February 7, 2012 Author Share Posted February 7, 2012 Thanks, phrasespot, I take it it is safe to configure Etags if the site is hosted on a single Apache server, that being my case too, my site is hosted on a shared Apache solution on a single server. I don't have access to server configuration so If I am to do that I wil have to add the FileETag All to my htaccess as you say. What is your opinion, will this Etags mod help my site or wouldn't that matter ? Kind Regards, Link to comment Share on other sites More sharing options...
phrasespot Posted February 7, 2012 Share Posted February 7, 2012 Do you need to be PCI compliant, then etags are out of the question. If not, then etags is the validation side of a caching policy (the other is freshness). As usual there is more than one way of doing things (e.g. you can send Last-modified header instead of etag header, both will prompt the browser to add if-modified-since to requests). You need to decide on some things depending on your setup. Read this document, and ask if there is anything unclear. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now